-
Notifications
You must be signed in to change notification settings - Fork 185
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
feat: change loader component #1410
feat: change loader component #1410
Conversation
This is how the new loading indicator looks like: Screencast.from.2023-10-20.09-57-42.webm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! I still haven't tested but overall LGTM! Great work. I left some comments 😄
src/features/workspaces/components/WorkspaceSwitchingIndicator.tsx
Outdated
Show resolved
Hide resolved
- remove redundant /index path from Loader imports in multiple files - remove commented out braces in RecipesDashboard - remove redundant color which is default from Loader in InfoBar - update size of Loader in InfoBar to be the same as InfoBox - change passed size prop from string to number in Button component - add slight gap for FullscreenLoader to styles.ts - fix Loader to check for color primary which is passed rather than brandColor - remove hardcoded width and height from WorkspaceSwitchingIndicator which lead to elements not being vertically centered - remove color prop from Loader in WorkspaceSwitchingIndicator since white is already the default - remove switchingIndicator.spinnerColor from default theme since white is already the default
32cb42d
to
52abc95
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@all-contributors please add @MentorPK for code. |
I've put up a pull request to add @MentorPK! 🎉 |
Pre-flight Checklist
Please ensure you've completed all of the following.
Description of Change
Motivation and Context
Suggesting this PR to swap out deprecated lib
react-loader
regarding issue #1284Checklist
pnpm prepare-code
)pnpm test
passesRelease Notes