A tab that never explicitly picked an account rode the session's default, so when ANOTHER tab changed that default (adding or switching an account), this tab silently swapped identity on its next refetch — the account chip updated while the feed/saved-views lagged until reload. - Pin every tab to whatever account it first loaded as (write the sessionStorage override on load when none is set), so its requests always carry its own account header and cross-tab default changes can't reach it. - 'Add account' now clears this tab's pin before the Google redirect, so on return the tab adopts the freshly-added account (and pins that) — the current tab switches to it while other tabs keep their own, matching the Gmail add-account model. |
||
|---|---|---|
| .. | ||
| public/welcome | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||