Reset per-tab editor state when the active home changes #41
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
QuotesTabinitializes its editor form once (QuotesTab.jsx:13-15) and never re-syncs whenstate.quotesis replaced by a home switch or reload (App.jsx:202-205,:359-369— the tab stays mounted across home changes). Saving afterwards writes the stale form over freshly loaded data, silently.BackupTab's scenario selector (BackupTab.jsx:29) has the same init-once pattern with milder consequences.Fix: render the active tab with
key={activeHomeId}inApp.jsxso all per-tab editor state remounts on home switch; optionally add a targeted quote-set-identity effect in QuotesTab if remounting mid-edit ever needs to be softened.Acceptance criteria
(Audit finding F-21, 2026-07-16 — Severity: Medium, Confidence: Medium)