[No QA][Home Page] Match Figma Column Spacing - #81290
Conversation
|
🚧 @grgia has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@shawnborton I opened this to fix the spacing to match figma mocks :) I added screenshots to the description and the adhoc is here if you could design review this for me, please! |
Code Review Complete ✅I've reviewed the changes in this PR and found no issues. The code is clean and follows best practices. Changes Summary:
Quality Assessment:✅ Flex ratios are mathematically consistent with flexBasis percentages The changes successfully align the layout with the Figma design specifications. |
|
Let's get confirmation from @dannymcclain and @dubielzyk-expensify as I wasn't in person for some of the conversations. Just to make sure, we landed on not using all of the space on the right when the browser is wide? This is what I see: |
|
Good point @shawnborton, waiting on confirmation on extra large width spacing / max widths |
|
Going to wait for @dubielzyk-expensify to chime in, but I think I remember us talking about doing 2/3 + 1/3 layout for the columns up to a max width and then just clamping it so it doesn't grow past that (for psycho wide viewports). But I can't remember exactly where we landed with the max-width of the whole container. |
|
Looks fine from a code perspective, will hold on approval/merging until we're confirmed on the expected look! |
|
Yeah exactly what Danny said. We did 2/3 + 1/3 columns and max-widths. We initially said 680px for the first column as that's what we use for the workspace editor but I we did quickly say that maybe we could even go 800px. I think past that, the cards become very wide and I prefer them not taking up the whole screen still. It's very similar to the workspace editor. Open to other solutions of course. I think also as we add more content, we'll wanna revisit this. |
|
Cool so just to confirm, you are cool with the screenshot above and we should merge? |
|
Yeah I am 👍 |
|
Cool, I say send it then @grgia ! |
|
All yours @dangrous |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚧 @dangrous 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/dangrous in version: 9.3.13-1 🚀
|
|
🚀 Deployed to staging by https://github.com/dangrous in version: 9.3.15-0 🚀
|
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.3.15-10 🚀
|

Explanation of Change
Column ratios did not match figma mock. This PR addresses that.
Fixed Issues
Part 2 of #80873
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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)Avataris modified, 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