Issue drawer shows stale status after dragging its card (and ignores SSE updates) #65
Loading…
Add table
Add a link
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?
How found: reproduced in headless Chromium on a local server. Opened ROAD-1 in the drawer, dragged its card from Backlog to Todo. The card moved; the drawer's Status select still read "backlog".
Confidence: high (reproduced).
Explanation: IssueDrawer.svelte copies the issue into a local
detailonce whenstore.selectedKeychanges and never re-reads the store. Moves from the board, andcard.updatedSSE events from other people or Forgejo, updatestore.issuesbut notdetail. Saving another field afterwards then overwrites the newer value with stale data.Fix: derive the drawer's fields from the store entry and only keep comments/activity in local state.