Commit Graph
352 Commits
Author SHA1 Message Date
wushenghuaandCodex db73584e2b feat: 完善账号管理与扩展体验
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
补齐普通用户自助账号、中文设置与快捷键提示,修复大型扩展安装和移动端弹窗,并按服务器能力限制不兼容扩展。

Co-Authored-By: Codex <noreply@anthropic.com>
2026-08-12 22:13:23 +08:00
Zef Hemel 9b4de31ca3 Merge branch 'main' of github.com:silverbulletmd/silverbullet 2026-08-06 10:17:07 +02:00
Zef Hemel 64c4581b0e Initial implementation of experimental Comment support (parsed and custom rendered HTML comments) 2026-08-06 10:15:57 +02:00
Sviatoslav KokurinandGitHub fc69d951b4 Fix: proper progress status update (#2077)
* Fix: proper progress status update

* Swap type and progress in signatures
2026-08-05 15:24:14 +02:00
Zef Hemel 7b87420617 Extract affix URL UI component 2026-07-23 16:42:20 +02:00
Zef Hemel 75ca3b9c39 Migrate Lua code complete and code navigation to typescript 2026-07-16 12:06:59 +02:00
Zef Hemel 2020fbb16d refactor: flatten documented callback metadata 2026-07-16 09:12:29 +02:00
Zef Hemel 31b62816d3 Support documented syscall registrations 2026-07-15 17:56:00 +02:00
Zef Hemel 165f6c6a33 Integration docs: type foundation 2026-07-15 17:49:47 +02:00
Zef Hemel 28f1f8af16 Long overdue "make fmt" sorry about this one 2026-07-14 15:58:15 +02:00
Zef Hemel 6f8c2ed55a jsonchema.inferFromObject syscall 2026-06-30 21:53:19 +02:00
Zef Hemel 9d3642bc72 New syscalls for schema-self describing 2026-06-30 10:51:17 +02:00
Zef Hemel 55f53fc9a6 Update reference from website/ to docs/ everywhere 2026-06-23 09:15:34 +02:00
Zef Hemel ec04bc6818 Fix: clicking a link always sends you to the top of the page (or wherever the ref points), not restoring previous scroll/selection state 2026-06-19 15:47:25 +02:00
Zef Hemel 3ee2d4ef73 refactor (simplification): eliminate (CM-based)MiniEditor replaced with standard browser input 2026-06-02 09:00:43 +02:00
Zef Hemel 2ffd50f9ed ui: consistent dialog buttons with shortcut hints and destructive confirms 2026-06-01 16:23:23 +02:00
Zef Hemel 74b6ee1d21 refactor: standardize inputs & buttons on the shared components 2026-06-01 14:54:52 +02:00
Zef Hemel 3a8aaf2486 Beginnings of a design system for UI components
Right now mostly extracted from configuration-manager and SilverBullet+'s dashboard. Will be used in more plugs moving forward.
2026-06-01 13:16:57 +02:00
Zef Hemel a4f738815f Lua: add AST pretty-printer and align parse/print naming 2026-05-31 13:50:31 +02:00
pimartiandGitHub 01cdcfe261 allow operator-pending mode in vim keybindings (#1999) 2026-05-28 15:46:13 +02:00
Zef Hemel 9134944896 Introduce "relation" indexer, demote "link" to virtual view 2026-05-21 16:49:34 +02:00
Zef Hemel 05a396bc1a index.links() and index.documents() 2026-05-19 14:15:02 +02:00
Zef Hemel 7e7c42f6bf index.subPages 2026-05-19 11:10:05 +02:00
Zef Hemel f7fbbda41c New convenience index.* APIs for built-in tags 2026-05-19 10:56:55 +02:00
Zef Hemel 10898f2580 Add index.previewProcessedObjects syscall
Read access to the index pipeline validation, multi-tag  expansion, tagDefinition.transform()).
2026-05-09 12:30:08 +02:00
Zef Hemel 09059aa18a Lint: support rich HTML tooltips
LintDiagnostic adds `messageHtml` (rendered into the hover
  tooltip) and `markClass` (added to the inline range mark)
2026-05-09 12:29:19 +02:00
Zef Hemel c96651d0b2 fix lint... 2026-04-30 19:57:35 +02:00
Zef Hemel cb36d44634 index: resolveAnchor function and syscall wrapper 2026-04-30 19:34:13 +02:00
Zef Hemel ea44937863 anchors: extend Ref grammar with anchor variant ($anchor) 2026-04-30 17:52:21 +02:00
Zef Hemel f76060fb08 fix tests 2026-04-26 17:24:37 +02:00
Zef Hemel 5833919faf More robust traversals in case of invalid markdown trees 2026-04-26 17:22:29 +02:00
Zef Hemel 6dec86d236 Add initial schema support for native file menu bindings 2026-04-23 09:31:04 +02:00
Zef Hemel b207e8a06e Client: extract prettifyShortcut into shared lib
Move isMacLike and prettifyShortcut out of command_palette into plug-api/lib/shortcut so the configuration manager's shortcuts UI can render identical key notation.
2026-04-21 16:54:24 +02:00
Zef Hemel a34c2d3ac9 Plugs: per-path load/unload syscalls
Track the source path on each Plug and rename the sandbox-factory "cacheKey" to "path" to reflect what it actually is. Fold the one-liner web_worker_sandbox helper into a WorkerSandbox.forPath factory and add system.loadPlug / system.unloadPlug syscalls so individual plugs can be (re)loaded by path — foundation for the upcoming configuration-manager libraries UI.
2026-04-21 16:51:33 +02:00
Zef Hemel e226bfd685 Client: add editor.focus syscall 2026-04-21 16:50:34 +02:00
Zef Hemel 0c9c07b3e6 Config: schema defaults, UI categories and annotations
`config.define` now propagates schema `default` values, so features like smart quotes no longer need their own fallback constants.

Adds `defineCategory` / `getCategories` for the upcoming configuration  manager UI.
2026-04-21 10:03:40 +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 0627e7cb49 Fixes #1931 and #1923 (hopefully)
The service worker's proxy fallback only matched the wrapped "Offline"
error from HttpSpacePrimitives, but raw fetch() throws browser-native
errors like
"Failed to fetch" (Chrome), "NetworkError..." (Firefox), or "Load
failed"
(Safari). This caused a hard 503 instead of falling through to serve
local
data. Additionally, the `fullSyncConfirmed` flag reset on every service
worker
restart, forcing unnecessary proxying even when synced data existed in
IndexedDB.

In this commit:
- Use `isNetworkError()` in proxy_router.ts to catch all browser network
  errors
  and fall through to local serving instead of returning 503
* Recover `fullSyncConfirmed` from persisted sync snapshot on SW
  restart, so
  previously synced spaces serve locally immediately
* Adds e2e tests trying to emulate this behavior and prevent regressions
2026-04-14 08:01:43 +02:00
Zef Hemel 78a1dc92ac Fixes #1908
Now only "#meta" and "#meta/" prefixed tags are considered meta tags,
not "#metabase"
2026-03-26 14:03:49 +01:00
Zef Hemel d1570a6217 lint 2026-03-20 13:34:35 +01:00
Zef Hemel e527be8668 Optimizations to tree traversal and page indexes
* Added benchmark suites for both

Should all be behvior preserving
2026-03-20 13:25:28 +01:00
Matouš Jan FialkaandGitHub 8f7e525812 Fix mobile tasks, annoying caret jumping and empty widgets on navigation (#1890) 2026-03-17 22:16:58 +01:00
Brett AnthoineandGitHub 356bc82986 Add optional stdin to shell syscall (#1885) 2026-03-14 20:55:11 +01:00
Zef Hemel ec40aa0838 Add action buttons to flashNotification
Used by upgrade notification
2026-03-10 16:07:25 +01:00
Zef Hemel d9f4b93795 Eliminate (most) uses of the client global
Also an opportunity to refactor the transclusion code, which had become
very messy
2026-03-10 14:02:05 +01:00
Zef Hemel 822997fd5e Client available upgrade notification
If the server is updated, but the client doesn't match the server
version, a notification will appear instructing the user to reload.
2026-03-10 12:05:33 +01: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 5c9dba30de Merge branch 'main' into to-node 2026-03-06 14:37:03 +01:00
Matouš Jan Fialka 81f5ec7f67 Fix table cell alignment for missing and misaligned cells
The table style is determined by the header row. After normalizing the
header (filling empty cells between consecutive delimiters), extract
two properties: the column count and whether the header starts with
a delimiter.

For each data row, normalization proceeds in three steps. First, fill in
empty cells between consecutive delimiters (this handles empty cells in
the middle of a row). Second, if the header has no leading delimiter but
the row does, insert an empty cell after the row's leading delimiter (this
corrects the one-position shift caused by the row having a leading pipe
that the header lacks. Third, if the row has fewer cells than the header
column count, pad with empty cells at the end (this handles rows that
are shorter than the header because trailing pipes or cells were
omitted).

The same normalization is applied both in the renderer and the indexer.

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
2026-03-06 14:20:48 +01:00