Keep one comment card open at a time #8

Merged
eleith merged 1 commits from fix/single-comment-card into main 2026-11-30 16:58:03 +00:00

Summary

  • Replace clean cards and preserve unsaved drafts across splits, tabs, and quickfix actions.
  • Coordinate card replacement in one transition and let the frame tear down its panes even when WinClosed does not fire.
  • Preserve replacement cards opened by quickfix refresh hooks and keep displaced drafts saveable.

Validation

  • make check — 224 tests passed.
  • Readability, code, and test review completed; the final focused review verified the displaced-frame fix.

Draft anchoring remains a separate follow-up.

## Summary - Replace clean cards and preserve unsaved drafts across splits, tabs, and quickfix actions. - Coordinate card replacement in one transition and let the frame tear down its panes even when `WinClosed` does not fire. - Preserve replacement cards opened by quickfix refresh hooks and keep displaced drafts saveable. ## Validation - `make check` — 224 tests passed. - Readability, code, and test review completed; the final focused review verified the displaced-frame fix. Draft anchoring remains a separate follow-up.
eleith-gitea-agent Bot added 1 commit 2026-11-30 16:56:08 +00:00
Keep one comment card open at a time
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
5567f36953
eleith merged commit 5567f36953 into main 2026-11-30 16:58:03 +00:00
eleith deleted branch fix/single-comment-card 2026-11-30 16:58:03 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/scratch-comments.nvim#8