-
Notifications
You must be signed in to change notification settings - Fork 5k
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
fix: update css for modals #25961
fix: update css for modals #25961
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #25961 +/- ##
===========================================
- Coverage 69.67% 69.66% -0.01%
===========================================
Files 1402 1402
Lines 49652 49656 +4
Branches 13720 13719 -1
===========================================
- Hits 34594 34591 -3
- Misses 15058 15065 +7 ☔ View full report in Codecov by Sentry. |
Builds ready [df37dea]
Page Load Metrics (145 ± 169 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
…ops to change modal footer button styles and alignment
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.
PR Summary
CSS updates for NFT and token detection modals to enhance visual presentation and user experience.
ui/components/app/assets/auto-detect-nft/auto-detect-nft-modal.tsx
: RemovedtextAlign
fromText
andBox
components; addedButtonVariant
to cancel button; updatedModalFooter
containerProps
toFlexDirection.ColumnReverse
.ui/components/app/assets/auto-detect-token/auto-detect-token-modal.tsx
: RemovedtextAlign
fromText
andBox
components; addedstyle
property tocancelButtonProps
to remove border; addedisConfirmButtonFirst
toModalFooter
.
2 file(s) reviewed, 9 comment(s)
Edit PR Review Bot Settings
ui/components/app/assets/auto-detect-token/auto-detect-token-modal.tsx
Outdated
Show resolved
Hide resolved
ui/components/app/assets/auto-detect-token/auto-detect-token-modal.tsx
Outdated
Show resolved
Hide resolved
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.
LGTM! This is great use of design system components pushed a small update to prevent the need to update design system components. It also looks like a design pattern that we may want to promote so I'll create an issue to better document this in Figma and storybook. I really appreciate you reaching out and the before/after screenshots in the PR description. Thank you!
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.
PR Summary
(updates since last review)
CSS updates for NFT and token detection modals to enhance visual presentation and user experience.
ui/components/app/assets/auto-detect-token/auto-detect-token-modal.tsx
: RemovedisConfirmButtonFirst
property fromModalFooter
component.- Ensure the removal of
isConfirmButtonFirst
does not affect button order or user experience in the modal.
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
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.
Re-reviewed, I missed the auto-detect-token modal on initital review. Left one suggestion
ui/components/app/assets/auto-detect-nft/auto-detect-nft-modal.tsx
Outdated
Show resolved
Hide resolved
ui/components/app/assets/auto-detect-token/auto-detect-token-modal.tsx
Outdated
Show resolved
Hide resolved
ui/components/app/assets/auto-detect-token/auto-detect-token-modal.tsx
Outdated
Show resolved
Hide resolved
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.
PR Summary
(updates since last review)
CSS updates for NFT and token detection modals to enhance visual presentation and user experience.
ui/components/app/assets/auto-detect-nft/auto-detect-nft-modal.tsx
: Removedpadding
fromText
component and addedvariant
to cancel button for consistent styling.ui/components/app/assets/auto-detect-nft/auto-detect-nft-modal.tsx
: UpdatedcontainerProps
to useFlexDirection.ColumnReverse
for improved layout.ui/components/app/assets/auto-detect-token/auto-detect-token-modal.tsx
: RemovedtextAlign
fromText
andBox
components.ui/components/app/assets/auto-detect-token/auto-detect-token-modal.tsx
: AddedButtonVariant
tocancelButtonProps
to style the button as a link.
2 file(s) reviewed, 4 comment(s)
Edit PR Review Bot Settings
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.
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.
PR Summary
(updates since last review)
No major changes found since the last review.
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
Quality Gate passedIssues Measures |
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.
LGTM!
- checked
AutoDetectNftModal
button positioning in storybook ✅ - checked
AutoDetectTokenModal
button positioning in storybook ✅
Builds ready [bd03784]
Page Load Metrics (85 ± 14 ms)
Bundle size diffs
|
Description
Few css updates on nft and token detection modal
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist