8000 [CB] implement ui-kit spinner #6017 by sergeyteleshev · Pull Request #3532 · dbeaver/cloudbeaver · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[CB] implement ui-kit spinner #6017 #3532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from

Conversation

sergeyteleshev
Copy link
Contributor

Copy link
@Copilot Copilot AI left a comment

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 replaces the custom static-image spinners in Loader with the new Spinner component from the UI kit and updates CSS accordingly, and switches an InputField loading indicator from Spinner to Loader.

  • Swap out multiple <StaticImage> icons for a single <Spinner> in Loader.tsx
  • Add new CSS variables and remove old static-image rules in Loader.module.css
  • Update InputFieldBase to use <Loader> instead of <Spinner>

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

File Description
webapp/packages/core-blocks/src/Loader/Loader.tsx Removed StaticImage spinner icons and spinnerType; imported and rendered Spinner
webapp/packages/core-blocks/src/Loader/Loader.module.css Added CSS variables for spinner sizes/colors; removed old static-image/rotation rules
webapp/packages/core-blocks/src/FormControls/InputField/InputFieldBase.tsx Changed inline spinner to use Loader component
Comments suppressed due to low confidence (2)

webapp/packages/core-blocks/src/FormControls/InputField/InputFieldBase.tsx:139

  • The new Loader displays a loading message by default. To match the original spinner-only behavior, consider passing hideMessage (e.g., <Loader small hideMessage />).
              <Loader small />

webapp/packages/core-blocks/src/Loader/Loader.tsx:272

  • Add or update unit tests for Loader to verify that the Spinner integration applies the correct size and secondary classes under different prop combinations.
          <Spinner

@sergeyteleshev sergeyteleshev requested a review from Wroud June 18, 2025 13:58
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
0