Skip to content

[Due for payment 2026-10-16] [$175] Enable the Go Back button by default (flip shouldUseGoBackButton) #96098

Description

@Julesssss

Problem

Once the site refactors are complete, flip shouldUseGoBackButton on FullScreenLoadingIndicator to default-true so every fullscreen loader shows a "Go Back" button after a timeout. This is the step that actually delivers the recoverable error page — it fixes all remaining trapped-user loaders in one change instead of ~66 one-line PRs.

Solution

Blocked on #96093, #96094, #96095, #96096 (the bullet-1 refactors must land first, otherwise the flip draws a stray "Go Back" button on top of headers that already have one).

  • Set the shouldUseGoBackButton default to true in src/components/FullscreenLoadingIndicator.tsx.
  • Remove the now-redundant explicit shouldUseGoBackButton props from the sites that already pass it.
  • Retain an explicit shouldUseGoBackButton={false} on the six auth/transition screens where Go Back is dead or harmful on a cold deep-link start (no history to pop):
    • ValidateLoginPage/index.tsx
    • ValidateLoginPage/index.web.tsx
    • UnlinkLoginPage
    • LogInWithShortLivedAuthTokenPage
    • DelegatorConnectGate
    • LogOutPreviousUserPage — actively harmful, not just dead: Go Back can pop /transition back into the outgoing user's session mid-Onyx.clear()/sign-out.
Issue OwnerCurrent Issue Owner: @situchan
Upwork Automation - Do Not Edit

Activity

  1. self-assigned this
    on Jul 14, 2026
  2. Julesssss commented on Jul 30, 2026

    @Julesssss
    ContributorAuthor

    Blocked by open PRs

  3. Julesssss commented on Aug 7, 2026

    @Julesssss
    ContributorAuthor

    We're wrapping up the last PRs

  4. 21 remaining items

  5. MelvinBot commented on Oct 8, 2026

    @MelvinBot
    Contributor

    🤖 I created three draft PRs, one for each site from the re-audit. Please mark each one "Ready for review", or ask me to, when it's ready.

    PR Change
    Use ActivityIndicator below the header while CollectDepositAccount loads Replaces FullScreenLoadingIndicator with a large ActivityIndicator (flex1) under the existing header
    Use ActivityIndicator inside the Per Diem tab while the selected workspace loads Uses the same View + fullScreenLoading + ActivityIndicator pattern that IOURequestStartPage already uses for its other tab loaders
    Keep the Go Back button off the global FullScreenLoaderContext overlay Adds an explicit shouldUseGoBackButton={false} with a comment explaining why. Nothing changes on main until the default flips.

    I left withPolicyAndFullscreenLoading unchanged, since the audit marked it as borderline with no change needed.

    Checks: lint-changed, typecheck, React Compiler compliance, spell-changed, and oxfmt all pass. 91 of 92 related Jest suites pass. HomePage.test.tsx failed only in the parallel run and passes on its own on both these branches and main.

    Not done: I didn't verify these in a browser, because the loaders only show for a moment. The Tests and QA sections still need to be filled in.

    situchan doesn't have a fork of App, so all three branches are on upstream.


    view run

  6. changed the title [-]Enable the Go Back button by default (flip shouldUseGoBackButton)[/-] [+][$175] Enable the Go Back button by default (flip shouldUseGoBackButton)[/+] on Oct 8, 2026
  7. melvin-bot commented on Oct 8, 2026

    @melvin-bot
  8. Julesssss commented on Oct 8, 2026

    @Julesssss
    ContributorAuthor

    @situchan thanks. Merged 2, could you just remove the comment from this PR and we can merge and then make the flip. Please raise the PR for the flip so I can ask QA to begin testing.

  9. situchan commented on Oct 8, 2026

    @situchan
    Contributor

    @situchan thanks. Merged 2, could you just remove the comment from this PR and we can merge and then make the flip. Please raise the PR for the flip so I can ask QA to begin testing.

    Flip PR is here: #99786
    I've initially done full regression testing.

  10. Julesssss commented on Oct 8, 2026

    @Julesssss
    ContributorAuthor

    Note for payment. 3 additional payments for the above 3. then payment for the upcoming final flip PR.

    • $125*3 = $375

    Depending on the time spent on the final issue we can figure out that price later.

  11. voxturrlabs commented on Oct 9, 2026

    @voxturrlabs
  12. added and removed
    ReviewingHas a PR in review
    on Oct 9, 2026
  13. changed the title [-][$175] Enable the Go Back button by default (flip shouldUseGoBackButton)[/-] [+][Due for payment 2026-10-16] [$175] Enable the Go Back button by default (flip shouldUseGoBackButton)[/+] on Oct 9, 2026
  14. melvin-bot commented on Oct 9, 2026

    @melvin-bot

    @situchan

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.5.6-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-10-16. 🎊

    The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions