[$175] fix: Stop the Inbox tab from reopening the previous account's report after a copilot switch

Aperta
#106,042 6 commenti 1 reazione 3 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@jayeshmangwani ci sta già lavorando.

Dal 4/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Bug External Reviewing Weekly

Problem

When a copilot switches accounts, the app clears Onyx but keeps the navigation state of every tab except Search. The Inbox tab still holds the report the previous account had open, so tapping Inbox after the switch reopens it. OpenReport returns 403 for the new account and the user sees "Hmm... it's not here".

Solution

Every copilot switch, in either direction, now clears all preserved navigator states and the last visited Workspaces and Settings tab paths. It then resets the root to the Settings tab (or Home when copiloting from an agent's own pages). ONBOARDING_MODAL_NAVIGATOR is now registered in every session, so browser back works after the reset, and OnboardingGuard redirects copilot and supportal sessions away from onboarding routes.

PR

https://github.com/Expensify/App/pull/105911

Issue OwnerCurrent Issue Owner: @BartekObudzinski
Upwork Automation - Do Not Edit
Lingua principale
TypeScript
Stelle
5k
Fork
4k
Merge medio
3g 5h
PR unite (30g)
594

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Expensify/App

Tutte le issue di Expensify/App

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.