Skip to content

docs: record opening documents as tabs within windows - #660

Merged
Azganoth merged 1 commit into
mainfrom
spike/multi-document
Oct 10, 2026
Merged

Azganoth merged 1 commit into
mainfrom
spike/multi-document

Conversation

@Azganoth

@Azganoth Azganoth commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Summary

Records the multi-document model selected in #633 as a new decision, Open documents as tabs within windows: tabs inside independent windows, all in one process, with one pinned folder context per window and each saved file open in at most one tab across all windows.

The rationale keeps the two measurements that decided it. Another tab costs a few MiB where another window costs tens, and separate processes each overwrite the others' settings and recent items when they exit. The consequences name what every delivering issue has to keep: opening never replaces a document, watchers and close requests belong to one window, closing asks once per window, and nothing is restored after a restart.

The Specification, Architecture, Reference, and Help describe delivered behavior, so they change with the issues under #639 rather than here.

Related Issue

Closes #633

Refs #639, #638

Verification

pnpm exec oxfmt --check docs/decisions.md passes. Documentation only, with no executable configuration affected, so no application suite was run.

The #633 Outcome records the measurements behind the rationale, with their method and limits.

@Azganoth Azganoth added the Documentation Improvements or additions to documentation label Oct 9, 2026
@Azganoth Azganoth self-assigned this Oct 9, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in Leafdown Oct 9, 2026
@Azganoth
Azganoth merged commit 0294068 into main Oct 10, 2026
3 checks passed
@Azganoth
Azganoth deleted the spike/multi-document branch October 10, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements or additions to documentation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Choose Leafdown's multi-document session and window model

1 participant