Fix - Workspace - The header button isn’t centered on Expensify Card page#66250
Conversation
|
@QichenZhu Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@shawnborton Can you give a quick 👀 for the snapshots, especially the spacings below the header buttons? Thx 2025-07-16.15-39-07.mp42025-07-16.15-39-43.mp4 |
|
Hmm one thing I don't love about this PR is that it is hyper specific to just this one page. Can we make sure all pages in the workspace editor use the same exact styles? Are we sure this is only happening on this page? |
|
Can you also show what the page looks like when no cards have been assigned yet? Thanks! |
|
Btw we are fixing a specific bug on this page here. Here it how it looks when there are no cards 2025-07-16.17-30-07.mp4 |
|
@FitseTLT do you mind re-reading my comment above and answering my questions? Thanks! |
@shawnborton The main purpose of this pr is not updating the styles. We are specifically fixing a bug on expensify card page reported here |
|
Hmm I feel like you aren't answering my question. Can you compare the styles of this branch with the styles of another page on the workspace editor? I want to make sure they are identical, as we should really be using some kind of global template for these headers. |
|
Oh, Nice idea. Here is how it looks for category page. And I see that we give 12 px spacing below the header buttons but card page has 8 so I think U want me to make it consistent, right? 2025-07-16.18-10-30.mp4 |
|
Yes, that is the exact point I am trying to make. This is a standard template, it should be identical everywhere it is used. |
|
Ok updated. 2025-07-16.18-38-07.mp4 |
|
@QichenZhu can you start review please? Thanks! |
Reviewer Checklist
Screenshots/Videos |
|
@FitseTLT, could you clean up the checklist? Looks like it's duplicated and missing some screenshots. |
|
cleaned |
|
✋ 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/inimaga in version: 9.1.84-1 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.1.84-4 🚀
|




















Details
Fixed Issues
$ #65652
PROPOSAL: #65652 (comment)
Tests
Prerequisite: Open medium screen size
Expensify CardOffline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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
MacOS: Desktop