You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: deleted review annotations reappear after refresh #948
In plannotator review, annotations deleted from the right-hand Annotations sidebar can come back later. In the reported repro, clicking the x on each sidebar annotation clears the list immediately, but refreshing the review page restores the same annotations.
Reproduction steps
Open the code review UI with plannotator review.
Add or have existing code-review annotations visible in the right sidebar.
Delete the annotations by clicking the x icon in the right sidebar.
Observe that the sidebar becomes empty.
Wait for the page/state to settle, or refresh the browser page.
Expected behavior
Deleted annotations stay deleted. They should be removed from the visible UI state and from any persisted draft/session state, so they do not reappear after refresh or autosave/draft restore.
Notes
This looks like the delete action updates the local visible state, but another persistence/restore source may still contain the old annotations and later rehydrates them. Possible places to check: review draft autosave/restore, external annotation polling/stream state, or sidebar delete handling not writing the deletion back to persisted state.
Environment
Surface: plannotator review / code review UI
OS from reporter session: macOS / Darwin arm64
Local package version observed in checkout: 0.21.0
PR up: #951. Root cause was the code-review autosave skipping when the annotation list went empty, so the stale draft survived and the recovery dialog re-offered the deleted annotations on refresh. Fix deletes the draft (with a tombstone) on clear, guarded so only user-authored annotation deletions count. Thanks for the clear report and repro, @alexanderkreidich.
Activity
alexanderkreidich commentedon Jun 21, 2026
if this issue is right from your perspective, you can assign me for this issue and i will open the PR for this fix.
alexanderkreidich commentedon Jun 21, 2026
also i think it would be great if the annotations we copied were deleted automatically from the sidebar
backnotprop commentedon Jun 22, 2026
PR up: #951. Root cause was the code-review autosave skipping when the annotation list went empty, so the stale draft survived and the recovery dialog re-offered the deleted annotations on refresh. Fix deletes the draft (with a tombstone) on clear, guarded so only user-authored annotation deletions count. Thanks for the clear report and repro, @alexanderkreidich.
fix(review): persist annotation deletions so they don't resurrect on …
fix(ui): reconcile #948 with the draft-transport seam + lockstep 0.21.1
fix(ui): reconcile #948 with the draft-transport seam + lockstep 0.21.1
fix(ui): reconcile #948 with the draft-transport seam + lockstep 0.21.1
fix(ui): reconcile #948 with the draft-transport seam + lockstep 0.21.1
fix(ui): reconcile #948 with the draft-transport seam + lockstep 0.21.1
fix(ui): reconcile #948 with the draft-transport seam + lockstep 0.21.1
fix(ui): reconcile #948 with the draft-transport seam + lockstep 0.21.1
fix(ui): reconcile #948 with the draft-transport seam + lockstep 0.21.1
fix(ui): reconcile #948 with the draft-transport seam + lockstep 0.21.1
fix(ui): reconcile #948 with the draft-transport seam + lockstep 0.21.1
fix(ui): reconcile #948 with the draft-transport seam + lockstep 0.21.1
Make the document UI reusable as published building blocks (#957)