Add go to workspace shortcut and fix regression#53898
Add go to workspace shortcut and fix regression#53898youssef-lr merged 5 commits intoExpensify:mainfrom
Conversation
|
@mananjadhav 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] |
|
Going to review this today. |
|
@trjExpensify quick question. Archived workspace - is the only scenario when the |
That's the only one I can think of, yeah. Well, assuming when you say "archive" you mean both cases of a user being removed from the workspace (thus wouldn't be able to access the read-only workspace settings anymore) or the workspace being deleted (thus nobody would be able to access the workspace settings anymore). |
|
I tested this on Web and I couldn't get the app working on Native. Checklist will be finished today. |
|
@mananjadhav Any update here? |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / Safariweb-go-to-workspace.movMacOS: Desktopdesktop-go-to-workspace.mov |
|
@mkzie2 Can you sync the main branch please? It seems out of sync. |
|
@mananjadhav Updated. |
|
@mkzie2 I can see lint failures. Can you please fix them? |
|
@mkzie2 Quick bump on the PR. |
|
@youssef-lr Please help to check when you have a chance. |
|
On it today! I Was OOO. |
|
How'd you get on, @youssef-lr? |
|
✋ 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/youssef-lr in version: 9.0.81-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.0.81-6 🚀
|
| return; | ||
| } | ||
| if (isSmallScreenWidth) { | ||
| Navigation.navigate(ROUTES.WORKSPACE_INITIAL.getRoute(report?.policyID)); |
There was a problem hiding this comment.
If the workspace settings page was navigated to from here, we would want to come back to this page on the back button press in the workspace settings page. This is implemented in #55196
There was a problem hiding this comment.
Thanks for highlighting.




Explanation of Change
Add go to workspace shortcut and fix regression
Fixed Issues
$ #52817
PROPOSAL:
Tests
LeaveoptionGo to workspaceoptionOffline tests
Same
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same
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-25.at.23.58.09-compressed.mov
Screen.Recording.2024-12-11.at.14.54.04.mov
Android: mWeb Chrome
Screen.Recording.2024-11-26.at.00.00.11.mov
Screen.Recording.2024-12-11.at.14.49.29.mov
iOS: Native
Screen.Recording.2024-11-25.at.23.55.19.mov
Screen.Recording.2024-12-11.at.14.50.25.mov
iOS: mWeb Safari
Screen.Recording.2024-11-25.at.23.57.08-compressed.mov
Screen.Recording.2024-12-11.at.14.51.20.mov
MacOS: Chrome / Safari
Screen.Recording.2024-12-11.at.14.45.33.mp4
MacOS: Desktop
Screen.Recording.2024-12-11.at.14.56.28.mov