fix: Design updates to Search rows on mobile#44677
Conversation
|
@dukenv0307 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] |
This comment has been minimized.
This comment has been minimized.
| transactionItem={item} | ||
| showTooltip={showTooltip} | ||
| isLargeScreenWidth={false} | ||
| isLargeScreenWidth={isLargeScreenWidth} |
There was a problem hiding this comment.
yes, in this case it's always false since we're still inside the if block
There was a problem hiding this comment.
@dominictb Pls resolve this comments and other places as well
| transactionItem={item} | ||
| showTooltip={showTooltip} | ||
| isLargeScreenWidth={false} | ||
| isLargeScreenWidth={isLargeScreenWidth} |
There was a problem hiding this comment.
yes, in this case it's always false since we're still inside the if block
|
@dominictb Pls resolve the comments above. Thanks |
|
Will take a look in a bit. |
|
@shawnborton @dukenv0307 I updated PR. Below are the changes:
|
|
Seems good to me. @shawnborton can you take a look at the result above? Thanks |
|
Looking good! Going to run a test build for easier testing, but thanks for making the changes! |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
Oh and another thing we chatted about - the idea that the "View" buttons on mobile felt quite superfluous and we could just omit them entirely. It would look something more like this: Thoughts @Expensify/design @luacmartins? Feels like we could make that change in this same PR while we are here. |
|
I'm down to removing the button on mobile since they dont really do much and less components on screen means higher performance. |
|
Works for me - let's see if @dubielzyk-expensify has any strong feelings too, though I do tend to agree that it will make the page feel a bit lighter. |
|
I like it 👍 |
|
Okay, let's remove the View button from mobile expenses then. @dominictb can you handle that one too please? Thanks! |
Screen.Recording.2024-07-05.at.16.23.29.mov |
|
Lovely! Will also spin up a test build here, but we should be ready for final review. Thanks! |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
Looks great, let's get it into final review! |
Reviewer Checklist
Screenshots/Videos |
|
LGTM |
|
✋ 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/luacmartins in version: 9.0.6-0 🚀
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.0.6-0 🚀
|
@shawnborton I am not sure about which PR caused that behavior, but I fixed this bug in PR.
Screen.Recording.2024-07-11.at.16.11.41.mov |
|
Perfect, thanks! |
|
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.0.6-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.0.6-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.6-8 🚀
|
| isLargeScreenWidth={isLargeScreenWidth} | ||
| /> | ||
| </View> | ||
| {item.category && ( |
There was a problem hiding this comment.
If category would be an empty string, then this code will result in lots of errors, because we would try to render a raw string inside a View.
I can fix it while doing my PR for Search advancedFilters, but wanted to mention it here since it's a bit surprising that this passed through both reviews.
CC @luacmartins
(Perhaps the return values of api changed after this was merged and in the past category would be undefined? )
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.7-8 🚀
|















Details
Fixed Issues
$ #44563
PROPOSAL: #44563 (comment)
Tests
Small screen device:
Large screen device:
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
Screen.Recording.2024-07-01.at.21.24.00.mov
Android: mWeb Chrome
output.mp4
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-07-01.at.19.02.58.mov
MacOS: Chrome / Safari
Screen.Recording.2024-07-01.at.21.18.59.mov
MacOS: Desktop
Screen.Recording.2024-07-01.at.21.17.16.mov