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] Theme - App returns to main chat instead of previous page when returning from changing theme #35689

Closed
6 tasks done
lanitochka17 opened this issue Feb 2, 2024 · 11 comments
Assignees
Labels
Engineering 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 Reviewing Has a PR in review Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 2, 2024

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: .1.4-36.0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Go to staging.new.expensify.com
  2. Click Settings from the bottom
  3. Click Profile from the top
  4. Click back button
  5. Note that app returns to Settings
  6. While in Workspaces page, click Profile > Preferences > Theme
  7. Select a different theme
  8. Click Back button

Expected Result:

App returns to Workspaces page

Actual Result:

App returns to main chat

Workaround:

Unknown

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

Add any screenshot/video evidence

Bug6365118_1706895958370.20240203_000127.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01bc56887b7e795d9e
  • Upwork Job ID: 1753588018262831104
  • Last Price Increase: 2024-02-03
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Feb 2, 2024
Copy link
Contributor

github-actions bot commented Feb 2, 2024

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Feb 2, 2024

Triggered auto assignment to @tylerkaraszewski (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-vsp
CC @quinthar

@luacmartins
Copy link
Contributor

I think this is actually related to Wave8: Ideal Nav

@luacmartins
Copy link
Contributor

I'm on the fence of this being a blocker, it doesn't really break any functionality, it's just slightly unexpected. I'll leave the decision to @tylerkaraszewski though

@tylerkaraszewski
Copy link
Contributor

I don't think it needs to be a blocker. It seems it can probably be external as well, does any one object to that?

@tylerkaraszewski tylerkaraszewski added External Added to denote the issue can be worked on by a contributor and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Feb 3, 2024
Copy link

melvin-bot bot commented Feb 3, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01bc56887b7e795d9e

@melvin-bot melvin-bot bot changed the title Theme - App returns to main chat instead of previous page when returning from changing theme [$500] Theme - App returns to main chat instead of previous page when returning from changing theme Feb 3, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 3, 2024
Copy link

melvin-bot bot commented Feb 3, 2024

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

@melvin-bot melvin-bot bot added the Daily KSv2 label Feb 3, 2024
@jeremy-croff
Copy link
Contributor

jeremy-croff commented Feb 3, 2024

Proposal

Problem Statement

The back button, within the theme modal, fails to navigate back to the previous Stack from the theme modal.

Root Cause

The current implementation lacks the necessary deep linking to return to the /settings/preferences previous stack.

Proposed Solution

To solve this issue, we can update the back handler in ThemePage.js:

onBackButtonPress={() => Navigation.goBack()}

By specifying the required deep link, such as:
onBackButtonPress={() => Navigation.navigate(ROUTES.SETTINGS_PREFERENCES)}

Alternatives

It was also observed that the following screens: Priority Mode, Language, and Theme, within the /settings/preferences stack, would all benefit from a similar deep link implementation.

@allgandalf
Copy link
Contributor

@hayata-suenaga
Copy link
Contributor

this issue needs to be handled here: https://github.com/orgs/Expensify/projects/94/views/2?pane=issue&itemId=51976513

Thank you for pointing that out. I'll close this one in favor of that one 🙇

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering 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 Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants