Widget load improvements#479
Conversation
There was a problem hiding this comment.
Pull request overview
This PR implements widget load improvements through the introduction of a custom skeleton component and updates to the tax and cash dashboard to support additional payout hold states.
Changes:
- Introduced a new customizable
sqm-skeletoncomponent to replacesl-skeletonthroughout the codebase - Added support for additional payout hold states (payment on hold, beneficiary name issues, withdrawal settings invalid, payment returned)
- Enhanced
sqm-header-logocomponent to support text-based logos as a fallback to images
Reviewed changes
Copilot reviewed 73 out of 75 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/mint-components/src/components/sqm-skeleton/sqm-skeleton.tsx | New skeleton component with customizable width, height, and theming support |
| packages/mint-components/src/global/styles.ts | Added CSS variables for skeleton background and animation colors |
| packages/mint-components/src/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.ts | Added new payout status types and logic for handling additional hold reasons |
| packages/mint-components/src/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.tsx | Updated button labels for consistency and added new alert message properties |
| packages/mint-components/src/components/sqm-form-message/sqm-form-message.tsx | Added loading state support using the new skeleton component |
| packages/mint-components/src/components/sqm-header-logo/sqm-header-logo.tsx | Added text-based logo support with customizable size and color |
| packages/mint-components/CHANGELOG.md | Documents changes to payout alert copy and header logo functionality |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 81 out of 83 changed files in this pull request and generated 6 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
packages/mint-components/src/components/sqm-skeleton/sqm-skeleton.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 105 out of 107 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
packages/mint-components/src/components/sqm-lead-form/sqm-lead-form-view.tsx
Show resolved
Hide resolved
packages/mint-components/src/components/sqm-qr-code/sqm-qr-code-view.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 111 out of 114 changed files in this pull request and generated 3 comments.
Files not reviewed (1)
- packages/mint-components/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
packages/mint-components/src/components/sqm-hero-image/sqm-hero-image.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 111 out of 114 changed files in this pull request and generated 4 comments.
Files not reviewed (1)
- packages/mint-components/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
...es/mint-components/src/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.tsx
Show resolved
Hide resolved
...es/mint-components/src/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 112 out of 115 changed files in this pull request and generated 1 comment.
Files not reviewed (1)
- packages/mint-components/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 112 out of 115 changed files in this pull request and generated 3 comments.
Files not reviewed (1)
- packages/mint-components/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description of the change
Type of change
Links
Checklists
Development
Paperwork
Code review