Skip to content

[Wave Collect] [Ideal Nav] Refactor goBack to simplify the navigation logic #35938

Closed

Description

@hayata-suenaga

Issue

The logic and responsibility of the goBack function grew too much over time.

Solution

Split the goBack function into different functions to ensure it is easy to use and debug in the future

Background

Several regressions occurred from the Ideal Navigation PR, particularly concerning the back navigation behavior. The complexity of the goBack function may be responsible for some of these regressions. @adamgrzybowski has suggested a refactor of this function to prevent similar issues in the future.

Activity

  1. added
    Daily
    Bug
    on Feb 6, 2024
  2. added and removed
    Daily
    on Feb 6, 2024
  3. melvin-bot commented on Feb 6, 2024

    @melvin-bot

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

  4. added
    Daily
    and removed on Feb 6, 2024
  5. moved this to Release 1: Ideal Nav & Collect Simplfied Profile, Members, Categories, Workflows (approvals) in [#whatsnext] Wave 08 - Collect Plan Adminson Feb 6, 2024
  6. hayata-suenaga commented on Feb 6, 2024

    @hayata-suenaga
    ContributorAuthor

    @adamgrzybowski please comment on this issue so that I can assign you to it. 🙇

  7. adamgrzybowski commented on Feb 7, 2024

    @adamgrzybowski
    Contributor

    👋

  8. added
    Reviewing
    on Feb 7, 2024
  9. 28 remaining items

  10. hayata-suenaga commented on May 2, 2024

    @hayata-suenaga
    ContributorAuthor

    @adamgrzybowski how is search tab project going?

  11. adamgrzybowski commented on May 13, 2024

    @adamgrzybowski
    Contributor

    Hi! I just got back from vacation, so I'll take a look around and let you know.

  12. hayata-suenaga commented on May 13, 2024

    @hayata-suenaga
    ContributorAuthor

    welcome back! 😄

  13. melvin-bot commented on Jul 9, 2024

    @melvin-bot

    @jliexpensify, @adamgrzybowski, @hayata-suenaga, this Monthly task hasn't been acted upon in 6 weeks; closing.

    If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

  14. hayata-suenaga commented on Jul 11, 2024

    @hayata-suenaga
    ContributorAuthor

    Re-opening just to ensure that we get back to this eventually

  15. jliexpensify commented on Aug 2, 2024

    @jliexpensify
    Contributor

    Hi @adamgrzybowski is this one going to be worked on by any chance? Juat wondering what the priority is. Thanks!

  16. adamgrzybowski commented on Aug 2, 2024

    @adamgrzybowski
    Contributor

    This issue has a low priority. We fixed bugs that caused us to think about the refactor. This goBack function isn't pretty but it works. We should think about the refactoring again when we don't have any other tasks but currently have other priorities.

  17. jliexpensify commented on Aug 6, 2024

    @jliexpensify
    Contributor

    Got it, thanks! @trjExpensify - going off Adam's comment above: did you want to keep this one open, or can I close this issue?

  18. trjExpensify commented on Aug 8, 2024

    @trjExpensify
    Contributor

    The problem in the OP seems suitably vague, and we've fixed the bugs that came up during the rollout, so I'm good with closing this until we get a more concrete problem for refactoring goBack.

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

Metadata

Metadata

Labels

BugMonthlyNot a priorityReviewing

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions