Repository navigation
[5/5] feat: expose per-tab Reading Mode controls and menu eligibility - #5793
Merged
Merged
Conversation
Closed
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
2 times, most recently
from
October 19, 2026 23:40
fb37007 to
d96f4a0
Compare
This was referenced Oct 20, 2026
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
from
October 20, 2026 08:46
1ff00bc to
8863ca5
Compare
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
from
October 20, 2026 08:54
8863ca5 to
baa1de7
Compare
Jocs
force-pushed
the
split/marktext-document-mode
branch
2 times, most recently
from
October 20, 2026 09:11
ddd11b5 to
7916492
Compare
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
2 times, most recently
from
October 20, 2026 09:23
8043c5a to
e193fc6
Compare
Jocs
force-pushed
the
split/marktext-document-mode
branch
2 times, most recently
from
October 20, 2026 09:25
1ae6697 to
caec78a
Compare
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
from
October 20, 2026 09:25
e193fc6 to
74c5fc0
Compare
Jocs
force-pushed
the
split/marktext-document-mode
branch
from
October 20, 2026 09:37
caec78a to
a0403d9
Compare
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
from
October 20, 2026 09:37
74c5fc0 to
85b8038
Compare
Jocs
force-pushed
the
split/marktext-document-mode
branch
from
October 20, 2026 09:52
a0403d9 to
74bbad0
Compare
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
2 times, most recently
from
October 20, 2026 09:57
71b0b6d to
e727aca
Compare
Jocs
force-pushed
the
split/marktext-document-mode
branch
2 times, most recently
from
October 20, 2026 10:11
2faeaf5 to
7f6545b
Compare
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
2 times, most recently
from
October 20, 2026 10:15
248352d to
2323f3f
Compare
Jocs
force-pushed
the
split/marktext-document-mode
branch
2 times, most recently
from
October 20, 2026 10:22
39b4068 to
a48c98a
Compare
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
from
October 20, 2026 10:22
2323f3f to
2ed8506
Compare
Jocs
force-pushed
the
split/marktext-document-mode
branch
from
October 20, 2026 13:22
a48c98a to
13022a2
Compare
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
5 times, most recently
from
October 20, 2026 14:39
cd7326f to
5153e09
Compare
Jocs
force-pushed
the
split/marktext-document-mode
branch
from
October 20, 2026 14:39
3d4b2b9 to
5bbbae7
Compare
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
from
October 20, 2026 15:04
5153e09 to
b854b55
Compare
Jocs
force-pushed
the
split/marktext-document-mode
branch
from
October 20, 2026 15:04
5bbbae7 to
663fe06
Compare
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
from
October 20, 2026 15:13
b854b55 to
43005b0
Compare
Jocs
force-pushed
the
split/marktext-document-mode
branch
from
October 20, 2026 15:13
663fe06 to
ed6369d
Compare
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
from
October 20, 2026 15:28
43005b0 to
caead67
Compare
Jocs
force-pushed
the
feat/per-tab-reading-mode
branch
from
October 20, 2026 15:30
caead67 to
0501a42
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3688
Closes #4532
Closes #3745
Expose per-tab Reading Mode through the document-statistics popover, tab context menu, View menu, command palette and keyboard shortcuts. The switch sits above File Information with separators; each locked tab displays a spaced lock icon. Preferences includes the default mode for existing documents.
Disable editing commands, Paste/Cut, all Paragraph/Format descendants, incompatible view modes and document Find/Replace while reading. Update underlying menu availability before reapplying reading restrictions so unlocking restores the current state, including when leaving source mode. Use command-based menu IDs such as undoMenuItem and pasteMenuItem.
Localize the controls in all 12 supported languages and allow long labels to wrap in the popover. Reading selection and copying retain the existing Markdown/rich-HTML clipboard behavior. Source-to-reading transitions close source mode; unlocking stays in live editing and preserves the startup source preference.
This is the final desktop UI layer. #5799, #5800, #5801 and #5802 are merged; this PR targets develop and supplies the controls and menu integration for those changes. Document search is deferred.
Validation:
Screenshot
Requirements, technical notes and review reports remain on the Desktop. No evidence artifacts are committed.