Skip to content
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

[$500] [Wave Collect] [Ideal Nav] Navigating back to Workspace List doesn't work #35610

Closed
3 of 6 tasks
hayata-suenaga opened this issue Feb 1, 2024 · 30 comments
Closed
3 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2

Comments

@hayata-suenaga
Copy link
Contributor

hayata-suenaga commented Feb 1, 2024

Action Performed:

  1. If you’re testing this on desktop browser, shrink the window size
  2. Workspace List → choose a workspace → click the back button on browser or Android
  3. Confirm that you're taken back to the Workspace Settings page of the previous workspace when you should be taken back to the Workspace List page

There was additional issue reported that is related to this isssue

Wrong animation when selecting a workspace

  1. Make sure you're on a mobile phone or on a browser with a smaller width
  2. Make sure that the test account has at least one workspace
  3. Click on the Settings icon 🔧 on the bottom tab > Workspaces > Select a workspace
  4. Confirm that the Workspace List page closes to the right when the new page should appear from the right.

video -> #33280 (comment)

Expected Result:

It should take you back to Workspace List page

Actual Result:

You're taken back to Workspace Settings page instead of the Workspace List page

Workaround:

N/A

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

video → #33280 (comment)

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0154caf623797588b3
  • Upwork Job ID: 1753227077608316928
  • Last Price Increase: 2024-02-29
@hayata-suenaga hayata-suenaga added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 1, 2024
@hayata-suenaga hayata-suenaga self-assigned this Feb 1, 2024
Copy link

melvin-bot bot commented Feb 1, 2024

Triggered auto assignment to @jliexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@hayata-suenaga hayata-suenaga changed the title [Wave 8 Ideal Nav] Workspace List → choose a workspace → back button → Workspace Settings page (correct: Workspace List) [Wave 8 Ideal Nav] Navigating back to Workspace List doesn't work Feb 1, 2024
@hayata-suenaga hayata-suenaga moved this to Release 1: Ideal Nav & Collect Simplfied Profile, Members, Categories, Workflows (approvals) in [#whatsnext] Wave 08 - Collect Plan Admins Feb 1, 2024
@hayata-suenaga hayata-suenaga changed the title [Wave 8 Ideal Nav] Navigating back to Workspace List doesn't work [Wave 8] [Ideal Nav] Navigating back to Workspace List doesn't work Feb 1, 2024
@hayata-suenaga hayata-suenaga mentioned this issue Feb 1, 2024
50 tasks
@jliexpensify jliexpensify added the External Added to denote the issue can be worked on by a contributor label Feb 2, 2024
@melvin-bot melvin-bot bot changed the title [Wave 8] [Ideal Nav] Navigating back to Workspace List doesn't work [$500] [Wave 8] [Ideal Nav] Navigating back to Workspace List doesn't work Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0154caf623797588b3

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha (External)

@jeremy-croff
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

We are not able to navigate back from the workspace settings page.

What is the root cause of that problem?

In this flow we are deeplinking to the workspace Initial route from the all-settings screen. In order for the back navigation to work we have to provide a deeplink back.

What changes do you think we should make in order to solve the problem?

To provide a deeplink back we can use the <HeaderWithBackButton /> component inside of

<FullPageNotFoundView
with the prop: onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WORKSPACES)}

A nuance to consider is that we also have a back button being rendered on the not found state for this screen, so we'd have to only show the HeaderWithBackButton component if the existing local variable shouldShowNotFoundPage condition is false in this component.

What alternative solutions did you explore? (Optional)

@hayata-suenaga hayata-suenaga removed External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors labels Feb 2, 2024
@hayata-suenaga
Copy link
Contributor Author

I apologize 🙇 An expert agency (SWM), who worked on the original PR that caused this regression, will work on this issue.

@jliexpensify
Copy link
Contributor

Ah, thanks for clearing this up @hayata-suenaga - does @getusha need to be assigned then?

@hayata-suenaga hayata-suenaga changed the title [$500] [Wave 8] [Ideal Nav] Navigating back to Workspace List doesn't work [Wave 8] [Ideal Nav] Navigating back to Workspace List doesn't work Feb 2, 2024
@hayata-suenaga
Copy link
Contributor Author

We can keep @getusha as C+ for this issue. We need a C+ when the PR is ready 😄

@melvin-bot melvin-bot bot added the Overdue label Feb 5, 2024
@WojtekBoman
Copy link
Contributor

Hi! Working on it :)

Copy link

melvin-bot bot commented Feb 5, 2024

@jliexpensify, @getusha, @hayata-suenaga Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@getusha
Copy link
Contributor

getusha commented Feb 5, 2024

@WojtekBoman will raise the PR.

@WojtekBoman
Copy link
Contributor

This issue turned out to be a bit complicated to fix and it requires from us introducing bigger changes to the part of the navigation logic responsible for BottomTabNavigator so before I start fixing it, I'd like to ask you about the priority of this issue, because it may take some time and to fix it we need to handle storing multiple bottom tab navigators in the navigation state. I suggest to focus on other issues until we make a decision how to fix it :)

@hayata-suenaga hayata-suenaga added the Weekly KSv2 label Feb 26, 2024
@melvin-bot melvin-bot bot removed the Overdue label Feb 26, 2024
@hayata-suenaga
Copy link
Contributor Author

I'm changing the priority to weekly until Wojciech is back

Copy link

melvin-bot bot commented Feb 29, 2024

@jliexpensify @WojtekBoman @getusha @hayata-suenaga this issue is now 4 weeks old and preventing us from maintaining WAQ. This should now be your highest priority. Please post below what your plan is to get a PR in review ASAP. Thanks!

@melvin-bot melvin-bot bot added Daily KSv2 Internal Requires API changes or must be handled by Expensify staff Overdue and removed Weekly KSv2 labels Feb 29, 2024
@melvin-bot melvin-bot bot changed the title [Wave 8] [Ideal Nav] Navigating back to Workspace List doesn't work [$500] [Wave 8] [Ideal Nav] Navigating back to Workspace List doesn't work Feb 29, 2024
Copy link

melvin-bot bot commented Feb 29, 2024

Current assignee @getusha is eligible for the Internal assigner, not assigning anyone new.

@hayata-suenaga
Copy link
Contributor Author

@WojtekBoman is going to work on this when they have time

@melvin-bot melvin-bot bot removed the Overdue label Feb 29, 2024
@hayata-suenaga hayata-suenaga added Weekly KSv2 Overdue and removed Daily KSv2 labels Feb 29, 2024
@melvin-bot melvin-bot bot removed the Overdue label Feb 29, 2024
@hayata-suenaga
Copy link
Contributor Author

changing the priority to weekly

@WojtekBoman
Copy link
Contributor

I think this issue will be resolved when we merge the PR with ideal-nav-v2. It modifies the logic responsible for navigating between these screens

@hayata-suenaga
Copy link
Contributor Author

ah niceeee 👍 in that case, I'll add the reviewing label to this issue

@hayata-suenaga hayata-suenaga added the Reviewing Has a PR in review label Mar 1, 2024
@hayata-suenaga
Copy link
Contributor Author

let's come back to this issue after the PR is merged to see if it fixes the problem

@trjExpensify trjExpensify changed the title [$500] [Wave 8] [Ideal Nav] Navigating back to Workspace List doesn't work [$500] [Wave Collect] [Ideal Nav] Navigating back to Workspace List doesn't work Mar 5, 2024
@hayata-suenaga
Copy link
Contributor Author

@WojtekBoman Let me know if this issue is related

@jliexpensify
Copy link
Contributor

OOO from 21st to 31st March, but will keep this assigned to me (should be nothing for B0 to do in this period).

@trjExpensify
Copy link
Contributor

Ideal Nav v2 merged ages ago. We good to close here or what are the next steps?

@hayata-suenaga
Copy link
Contributor Author

I double confirmed that the issue is no longer reproducible

RPReplay_Final1712620784.MP4

Thank you Tom for reminding me to close this issue 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2
Projects
No open projects
Archived in project
Status: Release 1: Ideal Nav & Collect Simplfied Profile, Members, Categories, Workflows (approvals)
Development

No branches or pull requests

6 participants