38 Commits
Author SHA1 Message Date
wushenghuaandCodex fdd51f01a2 feat: localize settings and smooth theme switching
CI / config (push) Canceled after 0s
CI / test-frontend (push) Canceled after 0s
CI / test-rust (push) Canceled after 0s
CI / test-e2e (push) Canceled after 0s
CI / test-e2e-release (push) Canceled after 0s
CI / build (push) Canceled after 0s
CI / release (push) Canceled after 0s
CI / docker (push) Canceled after 0s
CI / docker-website (push) Canceled after 0s
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>
2026-08-12 17:42:44 +08:00
Zef Hemel 28f1f8af16 Long overdue "make fmt" sorry about this one 2026-07-14 15:58:15 +02:00
Zef Hemel 21ce019ede Editor: move built-in commands from plug to client
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.
2026-04-21 10:05:38 +02:00
Zef Hemel efd827b721 Implements #510
Extracts almost all codemirror keyboard shortcuts into proper SB
commands so they can be rebound

Bonus: renders prettier versions of keyboard shortcuts on Mac
2026-04-17 16:45:11 +02:00
Zef Hemel e5f188e59e Tag enhancements
* 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.
2026-04-01 08:44:50 +02:00
Zef Hemel 799e27a9b4 Enable biome based formatter and reformat 2026-03-10 09:38:59 +01:00
Zef Hemel bbcd9ac6aa Introduce new noFloatingPromises lint rule and fix violiations 2026-03-08 15:49:45 +01:00
Zef Hemel dbf275d75b Introduce biome as linter with lint fixes 2026-03-06 08:05:13 +01:00
rktjmpandGitHub f4bd2c3abc Trim user input from prompts where appropriate (#1854)
* 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
2026-02-25 10:16:37 +01:00
Zef Hemel c2b71d1740 Change syscall compatibility check to queryLuaObjects 2026-01-21 13:05:33 +01:00
Zef Hemel ef961d5f79 Navigate: Copy Ref to Current Position and `Navigate: Copy Link to
Current Position` commands
2026-01-13 15:46:27 +01:00
Zef Hemel fb3dd51bdb Inline content refactor 2026-01-12 17:19:23 +01:00
Zef Hemel a0d3c9bfba Hack fix: show alert and force a reload when client code hasn't been
updated yet in cache.
2026-01-08 17:17:16 +01:00
Zef Hemel c93d656ac6 Significant refactor of index
* 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
2026-01-07 11:00:32 +01:00
Zef Hemel a3b69bd47d Added Tag Picker
Bonus:
* Tag pages now include parent and child tags
* Optimized tag completion
2025-11-14 11:50:59 +01:00
MrMugameandGitHub 440cd8d144 Cleanup code around dark mode (#1542)
* Cleanup code around dark mode

* Fix lint
2025-09-15 08:59:49 +02:00
aphymiandGitHub 6914d4bc31 Add command to toggle markdown syntax rendering (#1502)
* 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
2025-09-10 08:28:21 +02:00
Niels GanserandZef Hemel e0fff9d07c [#481] If user hasn't explicitly set a dark mode pref in Silverbullet, fall back to browser pref 2025-06-10 09:17:19 +02:00
Zef Hemel e7dc879722 More progress 2025-03-21 16:12:10 +01:00
MrMugameandGitHub e61a447d98 Implementing #913 (#1230)
Implemented custom editors
2025-03-06 15:11:17 +01:00
Zef Hemel f74bab0aca Lua: inline directives improvements 2024-10-07 19:17:12 +02:00
Zef Hemel 1299d85e9a First simple Lua directive Live Preview 2024-10-05 15:37:36 +02:00
Zef Hemel d9aa6ef1c4 New window command 2024-09-10 14:38:41 +02:00
Zef HemelandGitHub 6b69449d05 More JSR (#1027)
* Move all syscalls to JSR-style package naming
* Eliminating some prefixes in import maps
2024-08-06 20:11:38 +02:00
Zef HemelandGitHub 64b6d9e2df Space config (#1011)
Space config + a whole bunch of other tweaks
2024-08-02 16:47:36 +02:00
Marek S. ŁukasiewiczandGitHub a0f3f7ef41 Support linking to and moving to line number in pages (#988)
Support linking to and moving to line number in pages
2024-07-28 20:31:37 +02:00
Marek S. ŁukasiewiczandGitHub 75cd4b1383 Hide pages from auto complete with Page Decorations (#962) 2024-07-19 17:06:40 +02:00
Zef Hemel d6f0f61d30 Rebrand Template Picker to Meta Picker
As well as associated documentation changes
2024-07-07 12:12:05 +02:00
pihentagyandGitHub 0e3c5587f5 Delete line command (#866) 2024-05-25 23:12:48 +02:00
Zef Hemel 03ee9adc86 Fixes #644 2024-03-02 12:14:27 +01:00
Zef HemelandGitHub 0ddbd877f9 Space script MVP (#685)
* Space Script MVP
* New `command` and `syscall` query sources
2024-02-06 16:51:04 +01:00
Zef Hemel 40dc50f782 Fixes #495 2024-01-25 19:46:08 +01:00
Zef HemelandGitHub f30b1d3418 Templates 2.0 (#636)
Templates 2.0 and a whole bunch of other refactoring
2024-01-20 19:16:07 +01:00
Zef HemelandGitHub a2dbf7b3db PlugOS refactor and other tweaks (#631)
* 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
2024-01-15 16:43:12 +01:00
Zef Hemel 6b0bf3c960 Folding outliner commands #13 2023-12-17 14:26:41 +01:00
e6f77b12af Initial implementation of command link arguments (#573)
Initial implementation of command link arguments

---------

Co-authored-by: prcrst <p-github@prcr.st>
Co-authored-by: Zef Hemel <zef@zef.me>
2023-11-25 18:57:00 +01:00
Zef Hemel af3e4737ba More tweak to widget rendering 2023-10-29 12:26:57 +01:00
Zef Hemel 5ff1a8bae3 Refactor all the things 2023-08-28 17:12:15 +02:00