Skip to content

[fix] button spinner fix - #3150

Merged
igorDykhta merged 4 commits into
masterfrom
igr/fix-button-loading-spinner
Jul 7, 2025
Merged

[fix] button spinner fix#3150
igorDykhta merged 4 commits into
masterfrom
igr/fix-button-loading-spinner

Conversation

@igorDykhta

@igorDykhta igorDykhta commented Jul 4, 2025

Copy link
Copy Markdown
Collaborator
  • in Add Tileset dialog the spinner isn't rendered correctly

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
@igorDykhta
igorDykhta marked this pull request as ready for review July 4, 2025 22:26
Copilot AI review requested due to automatic review settings July 4, 2025 22:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the spinner in the LoadDataFooter by injecting theme colors, updating its size, and correcting animation syntax.

  • Inject theme into LoadDataFooter so the spinner uses theme.borderColorLT
  • Increase spinner size from 12 to 24 and set a transparent border
  • Consolidate and correct the CSS animation declaration in loading-spinner.tsx

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/components/src/modals/tilesets-modals/load-data-footer.tsx Wrapped component with withTheme, added theme prop, updated spinner color and size
src/components/src/common/loading-spinner.tsx Removed separate animation properties and combined into a single animation rule

Comment thread src/components/src/modals/tilesets-modals/load-data-footer.tsx
Comment thread src/components/src/common/loading-spinner.tsx
Comment thread src/components/src/modals/tilesets-modals/load-data-footer.tsx
@igorDykhta
igorDykhta requested a review from ilyabo July 4, 2025 22:44
@igorDykhta
igorDykhta merged commit c1d2b86 into master Jul 7, 2025
8 checks passed
@igorDykhta
igorDykhta deleted the igr/fix-button-loading-spinner branch July 7, 2025 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants