fix navigation to room description#52485
Conversation
|
@alitoshmatov 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] |
src/components/ReportWelcomeText.tsx
Outdated
| <PressableWithoutFeedback | ||
| onPress={() => { | ||
| if (!canEditPolicyDescription) { | ||
| if (!canEdit) { |
There was a problem hiding this comment.
Can you change it to more descriptive name like canEditReportDescription
Also update similar usage in line 159
|
While testing, I noticed the behavior of the back button. If we open the description from the chat and press the back button, it takes the user to the report details page. This behavior is the same for the rooms page as well. It could be easily fixed by using App/src/components/ReportWelcomeText.tsx Line 156 in 4df913e Screen.Recording.2024-11-13.at.10.21.11.PM.mov |
|
@Nodebrute Yes, I also think we should fix that, lets apply your solution for both places. |
|
@Nodebrute How is the PR going? Will you be updating it today? |
|
I'll update this shortly. |
|
@alitoshmatov I've made the changes. |
|
@alitoshmatov bump ^ |
|
@alitoshmatov bump fro review |
|
Bumped in slack. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeinvoice-android.movAndroid: mWeb ChromeiOS: Nativeinvoice-ios.mp4iOS: mWeb Safariinvoice-safari.mp4MacOS: Chrome / Safariinvoice-web.movMacOS: Desktopinvoice-desktop.mov |
|
✋ 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/techievivek in version: 9.0.67-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.67-9 🚀
|
Explanation of Change
Fixed Issues
$ #51976
PROPOSAL: #51976 (comment)
Tests
Offline tests
Same as above
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
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))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-11-13.at.9.42.16.PM.mov
Android: mWeb Chrome
Screen.Recording.2024-11-13.at.9.46.52.PM.mov
iOS: Native
Screen.Recording.2024-11-13.at.9.51.31.PM.mov
iOS: mWeb Safari
Screen.Recording.2024-11-13.at.9.55.02.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-11-13.at.9.33.08.PM.mov
MacOS: Desktop
Screen.Recording.2024-11-13.at.9.47.49.PM.mov