-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: inconsistent Navigation After Creating Workspace #46939
Conversation
@@ -351,7 +351,7 @@ function endSignOnTransition() { | |||
* @param [transitionFromOldDot] Optional, if the user is transitioning from old dot | |||
* @param [makeMeAdmin] Optional, leave the calling account as an admin on the policy | |||
*/ | |||
function createWorkspaceWithPolicyDraftAndNavigateToIt(policyOwnerEmail = '', policyName = '', transitionFromOldDot = false, makeMeAdmin = false) { | |||
function createWorkspaceWithPolicyDraftAndNavigateToIt(policyOwnerEmail = '', policyName = '', transitionFromOldDot = false, makeMeAdmin = false, backTo = '') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'll be nice to add param comment for backTo
to explain how it works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eh2077 i updated
Reviewer Checklist
Screenshots/VideosAndroid: Native0-android.mp4Android: mWeb Chrome0-mobile-chrome.mp4iOS: Native0-ios.mp4iOS: mWeb Safari0-mobile-safari.mp4MacOS: Chrome / Safari0-web.mp4MacOS: Desktop0-desktop.mp4 |
@nkdengineer Click in-app back button directly opens the new workspace chat. The "Workspace picker" page blinks briefly. Can you reproduce this? Screen.Recording.2024-08-09.at.11.30.34.PM.mov |
@eh2077 i can't reproduce this bug, here is my screenshot Screen.Recording.2024-08-11.at.22.40.25.mov |
@nkdengineer Let me test it again |
@nkdengineer I found another inconsistency on Desktop App - the background report page is blank after clicking in-app back button, while it isn't empty on Web Chrome Screen.Recording.2024-08-12.at.10.38.33.PM.mov |
@eh2077 i fixed this bug, please check again desktop.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and tested well!
✋ 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/carlosmiceli in version: 9.0.21-0 🚀
|
@nkdengineer Should this work only for Inbox or also for Search? Bug6573301_1723754483501.20240816_042927.mp4 |
@nkdengineer @carlosmiceli @eh2077 can someone please respond to QA ^ so we can know if deploy should be blocked on this or not? |
@lanitochka17 Sorry I don't understand your question. Can you please explain what is expected and what is not expected? |
🚀 Deployed to production by https://github.com/Beamanator in version: 9.0.21-4 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.0.21-4 🚀
|
Details
Fixed Issues
$ #46816
PROPOSAL: #46816 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-08-07.at.22.49.02.mov
Android: mWeb Chrome
a-mweb.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-mweb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov