Skip to content

refactor: move close decisions into document session - #278

Merged
alecdotdev merged 1 commit into
alecdotdev:masterfrom
PathGao:agent/extract-document-close-session
Jul 30, 2026
Merged

refactor: move close decisions into document session#278
alecdotdev merged 1 commit into
alecdotdev:masterfrom
PathGao:agent/extract-document-close-session

Conversation

@PathGao

@PathGao PathGao commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Document close decisions now live with the document lifecycle that owns dirty state and saving. The viewer keeps presentation-only callbacks for the confirmation dialog and notifications, so the close behavior remains unchanged while future document work has one ownership boundary.

Depends on #277. Merge after it.

Validation

  • npm run check
  • npm test (119 passed)
  • cargo test (20 passed)

@PathGao

PathGao commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

This is the next stacked refactor after #277. Its branch is directly based on #277; please merge it after #277. Validation: npm run check, npm test (119 passed), and cargo test (20 passed).

@PathGao
PathGao force-pushed the agent/extract-document-close-session branch 5 times, most recently from 25412b4 to 2f1b2cd Compare July 30, 2026 05:09
@PathGao
PathGao force-pushed the agent/extract-document-close-session branch from 2f1b2cd to cd277be Compare July 30, 2026 05:10
@alecdotdev
alecdotdev merged commit e6fdf53 into alecdotdev:master Jul 30, 2026
5 checks passed
@PathGao
PathGao deleted the agent/extract-document-close-session branch July 30, 2026 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants