-
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
[$250] Workspace - No pending workspace join is shown via share link #52394
Comments
Triggered auto assignment to @kadiealexander ( |
Job added to Upwork: https://www.upwork.com/jobs/~021856489377948710082 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
This is a tricky one as it seems to be Android (mWeb only ?) specific, possibly something navigation related because the logic below works as expected on all other platforms: App/src/pages/workspace/WorkspaceJoinUserPage.tsx Lines 29 to 75 in 99da1ac
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Requested badge is not showing in mobile devices What is the root cause of that problem?we are removing the requested badge in mobile devices here: App/src/pages/workspace/WorkspacesListRow.tsx Line 141 in 99da1ac
What changes do you think we should make in order to solve the problem?if we want to show it in mobile devices remove the |
Hi @Shahidullah-Muffakir please note that it's not only "Requested badge" issue but also navigation issue in small screen devices. Can you retake a look? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace - No pending workspace join is shown via share link What is the root cause of that problem?Here we have two consecutive navigation to settings and workspace settings pages for small screen web after goBack App/src/libs/navigateAfterJoinRequest/index.web.ts Lines 6 to 10 in 09f6db7
we do that to put settings page below workspace settings page in the stack but for only android mWeb this is making the app stuck. What changes do you think we should make in order to solve the problem?We can fix it if we join the goBack and the navigation to settings page together to achieve the same result
POC: 2024-11-15.19-51-17.mp4What alternative solutions did you explore? (Optional) |
@hoangzinh, @kadiealexander Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
ProposalPlease re-state the problem that we are trying to solve in this issue.On Android mWeb only, opening the workspace join link URL results in an incorrect navigation state where the settings page is showing with the What is the root cause of that problem?We perform multiple navigations to get to the final App/src/pages/workspace/WorkspaceJoinUserPage.tsx Lines 55 to 60 in 99da1ac
When we navigate directly via URL to the join link, it seems that there's some sort of race condition in the way Chrome handles navigation transitions (interestingly I can only reproduce on Android Chrome and Linux Chrome, but not MacOS Chrome). Most likely the navigation transitions are being queued differently in some subtle way. What changes do you think we should make in order to solve the problem?To ensure that we wait until navigation transitions complete first, we can wrap the navigation with
What alternative solutions did you explore? (Optional)Whilst digging into if there was some general navigation issue, I noticed that this call to App/src/libs/Navigation/NavigationRoot.tsx Lines 61 to 66 in 7c90011
Therefore adding |
@hoangzinh I had slightly inconsistent behaviour, sometimes the first load works fine, but all subsequent loads wouldn't. |
@hoangzinh Yes I can consistently reproduce it 2024-11-19.20-00-49.mp4 |
I'm unable to reproduce this issue. @jjcoffee if you can reproduce this issue, would you like to be a C+ on this issue? Screen.Recording.2024-11-20.at.21.49.25.mov |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Hi @jjcoffee, Can you find evidence to support your assumption? It's hard for me to go to a solution if we're still unsure about root cause. |
@hoangzinh Unfortunately not, other than that this issue only occurs specifically on Chrome. It would require significant extra time to dig further into the root cause.
Just to note that the consecutive navigation isn't what causes this issue (you can test this either by making multiple navigations to other routes, or by navigating directly to the workspace list). The issue occurs with the settings screen for any "sub" route, so you'll see the same issue for navigation to |
But still the separate navigation calls are causing the problem though it is specifically happening for
Honestly speaking it is difficult to give a deeper RCA @hoangzinh the bug is Android mWeb specific bug related with consecutive navigations into subroutes fortunately we can avoid the bug if we join the navigation calls without losing anything. |
@FitseTLT Unfortunately, your solution doesn't work consistently for me, so I don't think the consecutive navigation calls are the cause: issue-52394-2024-11-22_12.40.40.mp4 |
@jjcoffee your solution works, but I'm unsure if we reached root cause or not. |
@hoangzinh @kadiealexander this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@hoangzinh, @kadiealexander Whoops! This issue is 2 days overdue. Let's get this updated quick! |
not overdue, still waiting for a proposal that helps us understand the root cause. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@hoangzinh, @kadiealexander Eep! 4 days overdue now. Issues have feelings too... |
Same as above #52394 (comment) |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@kadiealexander should we adjust bounty to get more eyes on this issue? |
Issue not reproducible during KI retests. (First week) |
@hoangzinh, @kadiealexander Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@hoangzinh @kadiealexander this issue is now 4 weeks old, please consider:
Thanks! |
@hoangzinh, @kadiealexander Huh... This is 4 days overdue. Who can take care of this? |
@kadiealexander can you request to test this issue again? It's tricky for me to reproduce this issue so I'm hard to verify whether it's reproducible or not. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Issue not reproducible during KI retests. (Second week) |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.60-0
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: #51631
Email or phone of affected tester (no customers): applausetester+bp2510@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Precondition: user A with a workspace.
Expected Result:
List of workspaces opened.
Workspace user B was sent a link has a label 'Requested'.
Actual Result:
Settings tab is opened. Sometimes, tap on Workspaces has no response. When open link again, user B is joined ws automatically.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6662227_1731398893074.Screenrecorder-2024-11-11-22-14-11-219.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hoangzinhThe text was updated successfully, but these errors were encountered: