Fix suggestion overlay#47992
Conversation
|
@ishpaul777 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeRecord_2024-08-30-18-28-17.mp4Android: mWeb ChromeRecord_2024-08-30-18-32-28.mp4iOS: NativeiOS: mWeb SafariScreen.Recording.2024-08-30.at.6.14.38.PM.movMacOS: Chrome / SafariScreen.Recording.2024-08-30.at.6.08.04.PM.movMacOS: DesktopScreen.Recording.2024-08-30.at.6.37.53.PM-1.mov |
| const overlay = useMemo( | ||
| () => ({ | ||
| backgroundColor: 'rgba(0, 0, 0, 0.005)', | ||
| }), | ||
| [], | ||
| ); |
There was a problem hiding this comment.
Why not declare this in styles ?
There was a problem hiding this comment.
I didn't want to put this in the styles constant because it feels a bit hacky. Plus, we usually avoid inline styling in the render method since it's not the best practice
There was a problem hiding this comment.
Okay, can you please just add comment above it about why are we doing it like this.
|
@ishpaul777 done |
|
✋ 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/tylerkaraszewski in version: 9.0.27-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.27-1 🚀
|
Details
Fixed Issues
$ #45485
PROPOSAL:
Tests
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
2024-08-26.13.13.32.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop