Update personal card details UI#89396
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
ce85009 to
b3c82da
Compare
b3c82da to
0e644df
Compare
…CardUI # Conflicts: # src/pages/settings/Wallet/ExpensifyCardPage/index.tsx
|
Switching @flaviadefaria on for the product review. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
@ShridharGoel can we bring the changes of #91230 here in a single PR? |
|
For visibility, this is now blocking two other projects, so @ShridharGoel, we'd really appreciate it if you could prioritize fixing these issues. Let me know if I can help in any way. |
|
Updated |
|
@ShridharGoel is this ready for review? One of our internal engineers also wants to help review the PR so I'll assign him once you're ready. |
|
Yes it's ready |
There was a problem hiding this comment.
Pull request overview
Refreshes the personal card details page to match the finalized Figma layouts: the cardholder name is rendered on the card artwork, last-updated text is centered above the action buttons, the shared CardDetailsActionButtons helper now drives the Update card / View transactions buttons, the broken-connection error row is restyled with a small danger "Fix card" button, and the menu rows below are grouped under a single top margin. The PR also drops redundant iconFill={theme.icon} props and the now-unused useTheme imports across several card-detail pages, and moves the Change PIN row in ExpensifyCardPage into the lower action-rows group.
Changes:
- Restructure
PersonalCardDetailsPageto add the cardholder name overlay, centered last-updated text, shared action buttons, and a redesigned broken-connection row. - Slim down
PersonalCardDetailsHeaderMenuby removing the update/view-transactions/last-updated rows (now lifted to the parent) and grouping the remaining rows under a singlemt4wrapper. - Remove unused
useTheme/iconFill={theme.icon}props across several card pages, and regroup the Change PIN row insideExpensifyCardPageunder the bottom action-rows section.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/pages/settings/Wallet/PersonalCardDetailsPage.tsx | Adds cardholder overlay, centered last-updated text, shared action buttons, restyled broken-connection row, and grouped menu wrapper. |
| src/pages/settings/Wallet/PersonalCardDetailsHeaderMenu.tsx | Drops update/view-transactions/last-updated rows (now in the parent) and wraps trailing rows in a single mt4 view. |
| src/pages/settings/Wallet/ExpensifyCardPage/index.tsx | Moves Change PIN row into the lower action-rows group, removes useTheme/iconFill props, sets mb0 on action buttons. |
| src/pages/workspace/expensifyCard/WorkspaceExpensifyCardDetailsPage.tsx | Removes unused useTheme import and iconFill={theme.icon} from action buttons. |
| src/pages/workspace/companyCards/WorkspaceCompanyCardDetailsPage.tsx | Removes unused useTheme import and iconFill={theme.icon} from action buttons. |
| src/components/FrozenCardHeader.tsx | Removes unused useTheme import and iconFill={theme.icon} from the unfreeze button. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
df7d65f to
a99ab63
Compare
|
🚧 @nkuoch has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/nkuoch in version: 9.3.90-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Help site review: no doc changes required. I reviewed the changes in this PR against the help site articles under The only article that documents this screen is
Why no changes are neededThe changes here are layout-only: cardholder name moved onto the card artwork, the "last updated" line centered, action buttons unified via the shared The help article describes the page in terms of the actions available (steps like "Choose Fix card", "tap Update card"), not the visual arrangement or positioning of those elements. Since all of those actions and their labels are preserved, the article text stays correct. The article's screenshots are illustrative and are already tracked separately for a design refresh (see the existing
|
|
Deploy Blocker #92228 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.3.90-3 🚀
|


Explanation of Change
Updated the personal card details page to match the finalized Figma layouts:
Fixed Issues
$ #87497
PROPOSAL: N/A
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avatar, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari