Skip to content

[HOLD for payment 2023-10-18] [$1000] Visit the Room welcome message edit page by direct link then click save button, it navigates back to the chatReport instead of Room setting page #22041

Closed

Description

@kavimuru

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

Pre-step: Go to any room that you have permission to update welcome message => Go to Room welcome message paste => Copy the URL => Paste to any chat report

  1. Click on the link that you just paste
  2. Verify that it open the Room welcome message page
  3. Click save button

Expected Result:

It navigates back to Room setting page

Actual Result:

It navigates back to the chat report page

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.35-5
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation

Desktop.2023.06.30.-.20.55.42.10.mp4
Screen.Recording.2023-06-30.at.19.02.10.mov

Expensify/Expensify Issue URL:
Issue reported by: @hoangzinh
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688126512179099

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01e35dd505b57309c2
  • Upwork Job ID: 1684161543399026688
  • Last Price Increase: 2023-07-26
  • Automatic offers:
    • situchan | Reviewer | 26196235
    • hoangzinh | Contributor | 26196236
    • hoangzinh | Reporter | 26196237

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Jul 2, 2023
  2. melvin-bot commented on Jul 2, 2023

    @melvin-bot

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

  3. melvin-bot commented on Jul 2, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  4. kavimuru commented on Jul 2, 2023

    @kavimuru
    Author

    Proposal

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

    Visit the Room welcome message edit page by direct link then click save button, it navigates back to the chatReport instead of Room setting page

    What is the root cause of that problem?

    In the action to save the Room's welcome message, we just call Navigation.goBack

    Navigation.goBack();

    When we visit the page by direct link, the previous history page is empty => It will navigate to the chat report by default.

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

    We should add fallbackRoute of room setting page for Navigation.goBack here

    Navigation.goBack(ROUTES.getReportSettingsRoute(reportID));
    

    So it will navigate to the room setting route when there is no active routes

    What alternative solutions did you explore? (Optional)

    Instead of call Navigation.goBack, we can call Navigation.navigate directly to the room setting route here

  5. melvin-bot commented on Jul 2, 2023

    @melvin-bot

    Looks like something related to react-navigation may have been mentioned in this issue discussion.

    As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.

    Feel free to drop a note in #expensify-open-source with any questions.

  6. hoangzinh commented on Jul 2, 2023

    @hoangzinh
    Contributor

    Proposal

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

    Visit the Room welcome message edit page by direct link then click save button, it navigates back to the chatReport instead of Room setting page

    What is the root cause of that problem?

    In the action to save the Room's welcome message, we just call Navigation.goBack

    Navigation.goBack();

    When we visit the page by direct link, the previous history page is empty => It will navigate to the chat report by default.

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

    We should add fallbackRoute of room setting page for Navigation.goBack here

    Navigation.goBack(ROUTES.getReportSettingsRoute(reportID));
    

    So it will navigate to the room setting route when there is no active routes

    What alternative solutions did you explore? (Optional)

    Instead of call Navigation.goBack, we can call Navigation.navigate directly to the room setting route here

  7. dylanexpensify commented on Jul 4, 2023

    @dylanexpensify
    Contributor

    hmmm, posting to get a check on if this is intentional

  8. dylanexpensify commented on Jul 7, 2023

    @dylanexpensify
    Contributor

    Not a bug here

  9. hoangzinh commented on Jul 7, 2023

    @hoangzinh
    Contributor

    @dylanexpensify, but when we visit Room welcome message edit page direct link, after click save button, it closes the RHN. It think it's an unexpected behavior. It should back to the room setting

  10. hoangzinh commented on Jul 17, 2023

    @hoangzinh
    Contributor
  11. 105 remaining items

  12. dylanexpensify commented on Oct 18, 2023

    @dylanexpensify
    Contributor

    Payment upcoming!

  13. Beamanator commented on Oct 23, 2023

    @Beamanator
    Contributor

    how we doin here? 🙏

  14. Beamanator commented on Oct 26, 2023

    @Beamanator
    Contributor

    We good here @dylanexpensify ?

  15. hoangzinh commented on Oct 26, 2023

    @hoangzinh
    Contributor

    @Beamanator waiting for BZ checklist and payout here.

  16. situchan commented on Oct 26, 2023

    @situchan
    Contributor
  17. dylanexpensify commented on Oct 30, 2023

    @dylanexpensify
    Contributor

    done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions