Add a persistent system-content switch, translate the extension manager,
and apply theme changes in place without reloading the browser UI.
Co-Authored-By: Codex <noreply@anthropic.com>
Cursor motions, selection, delete, undo/redo, completion, and the various navigator/palette openers are registered directly on the CommandHook from client code, eliminating the async plug round-trip that was racing Enter/Backspace handling in some cases (especially e2e tests).
CommandHook gains `registerCommand` and a shared `mergeCommand` helper so built-ins, plug commands.
Extracts almost all codemirror keyboard shortcuts into proper SB
commands so they can be rebound
Bonus: renders prettier versions of keyboard shortcuts on Mac
* tag.define now supports a `tagPage` attribute, allowing what page to
send the user to when clicking on a hash tag in the editor
* index.contentPages() and index.metaPages() are convenience wrappers
around the index.tag("page") collection that filter on content and
meta pages respectively.
* Trim user input from prompts where appropriate
* Run formatter
* Use "page title" language instead of "page name" in notifications.
Existing language in prompt asks for a "page title".
* Use const for prefix inputs as they are never trimmed
* Moved YAML library import to index plug (so no async syscalls anymore)
should speed things up
* Merged task and item indexing
* Merged tasks plug into index (questionable)
* taskstate is now no longer a tag, but needs to be configured via
configs
* feat: add command to toggle clean mode
* refactor: simplify wiki_link no-clean-mode logic
* refactor: use more sensible clean-mode toggling logic
* fix: fix clean-mode-off not lasting across reloads
* refactor: move var declaration to where it's used
* feat: add root data attribute for clean mode state
This allows writing styles based on whether clean mode is currently
enabled or disabled.
* feat: reset clean-mode-off syntax color
* feat: un-hide lua directives in clean-mode-off
* style: format changes from 60379b1
* feat: rename 'Toggle Clean Mode' command
'Toggle Clean Mode' is now 'Toggle Markdown Syntax Rendering', and along
with the change in semantics, now defaults to false. The associated
variables have also been renamed.
* docs: add MD syntax rendering command to docs
* Prep for in-process plug loading (e.g. for CF workers, Deno Deploy)
* Prototype of fixed in-process loading plugs
* Fix: buttons not to scroll with content
* Better positioning of modal especially on mobile
* Move query caching outside query
* Fix annoying mouse behavior when filter box appears
* Page navigator search tweaks