## PR 3 — remaining vue + skeletons Switcher is done in PR 1; this PR migrates the rest. - Team settings header and any other team-scoped consumers read `useDataFarmTeamsStore().current` via `ensureLoaded()`; remove local fetching. - Skeletons for the team header/settings while `isLoading`. - Delete now-dead team fetching in `context.js`/`account.js`. - [ ] Remaining team-scoped components consume the store; no direct `teamApi` calls. - [ ] Skeletons shown during load. ## Test plan - [ ] Load app cold → team list renders from store, skeleton shown briefly. - [ ] Rename team in another session/tab → `t/updated` updates name here without reload. - [ ] Get removed from a team elsewhere → redirected to `/`. - [ ] Switch teams → store `clear()` + reload, no stale data.
PR 3 — remaining vue + skeletons
Switcher is done in PR 1; this PR migrates the rest.
Team settings header and any other team-scoped consumers read
useDataFarmTeamsStore().currentviaensureLoaded(); remove local fetching.Skeletons for the team header/settings while
isLoading.Delete now-dead team fetching in
context.js/account.js.Remaining team-scoped components consume the store; no direct
teamApicalls.Skeletons shown during load.
Test plan
t/updatedupdates name here without reload./.clear()+ reload, no stale data.