Commit Graph
60 Commits
Author SHA1 Message Date
wushenghua ea716b2628 feat: localize config and fix mobile viewport
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
2026-08-12 18:43:33 +08:00
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
wushenghuaandCodex b297fa797a feat: build quiet Plainleaf notebook workspace
Co-Authored-By: Codex <noreply@anthropic.com>
2026-08-12 16:52:01 +08:00
wushenghua c4c622b204 feat: add Plainleaf workspace shell
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
2026-08-12 11:21:34 +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 fc674577b1 ui: remove staircase from progress indicator (#2085) 2026-08-05 20:20:16 +02:00
Zef Hemel d70e7ff0c8 Presence decorations for externally applied edits 2026-08-05 10:55:55 +02:00
Zef Hemel 7b87420617 Extract affix URL UI component 2026-07-23 16:42:20 +02:00
Zef Hemel 7538bdeed2 Styles restructuring 2026-07-23 14:49:51 +02:00
Zef Hemel 75ca3b9c39 Migrate Lua code complete and code navigation to typescript 2026-07-16 12:06:59 +02:00
Federico ScodelaroandGitHub 01adf0c68b fix: Add box-sizing to modals (#2052) 2026-07-14 09:49:58 +02:00
Zef Hemel 8c8edab517 Frontmatter folding styling tweaks 2026-06-30 10:46:30 +02:00
Zef Hemel 6c9c2f7d17 Feature: frontmatter folding 2026-06-29 16:45:16 +02:00
Zef Hemel 50d8f1f09f Feature: baked sections 2026-06-23 17:14:41 +02:00
surya tummalaandGitHub a220e1b0a7 fix: prevent bullet points from causing extraneous line break on wrap (#2018)
Added white-space property to prWhen a bullet list item's text is long enough to wrap, the browser
can break right after the .cm-list-bullet span (the • character),
causing a phantom blank line at the start of the wrapped item.

Fix: add white-space: nowrap to .cm-list-bullet so the bullet
cannot be a line-wrap opportunity. Fixes #1829.event bullet line wrapping.
2026-06-10 19:20:08 +02:00
Zef Hemel b1f7343f28 ui theming: shared panel-surface palette for plug panels 2026-06-09 17:09:03 +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 aab9e24d10 ui: consistent modal styling for plug panels 2026-06-01 14:55:43 +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 5b5e2b0af3 Fix: table would overlap with next line 2026-05-29 15:24:23 +02:00
Zef Hemel 540cf78227 Fix: hamburger menu on mobile broke in previous commits 2026-05-29 08:20:26 +02:00
Zef Hemel 897dfdc7c6 Fix: more CSS tweaks 2026-05-28 16:34:24 +02:00
Zef Hemel ed461346f5 Fix: reflow of tasks in markdown preview as well 2026-05-28 15:44:12 +02:00
Zef Hemel 6bb4177393 Improve task checkbox rendering 2026-05-28 15:35:24 +02:00
Zef Hemel d3e2b30b20 Fix: # and ## etc. fall off the screen on mobile no more 2026-05-28 15:04:52 +02:00
Zef Hemel 73575af4ad Fix: more subtle editor-lay-out tweaks 2026-05-28 15:00:12 +02:00
Zef Hemel a3feeb9a71 Alternative approach to properly aligning lists and tasks with indentation 2026-05-28 13:26:09 +02:00
Zef Hemel 3d6c297feb Fixes #1985
Cursor movements around widgets were kind of broken, this should fix it
2026-05-18 10:03:12 +02:00
Zef Hemel cc5b5cfc1d fix: webkit (Safari) widget rendering bug... 2026-05-14 09:25:58 +02:00
Zef Hemel 2cabdb5f59 Fix: prefix rendering in queries on page load
Bonus: show a spinner while wigets are not ready to render yet.
2026-05-13 16:41:12 +02:00
Zef Hemel aa0996bbd0 Add X-Ray editor lens
New "Editor: Toggle X-Ray" command underlines every ranged object the indexer produces and shows a YAML tooltip per indexing tag on hover.
2026-05-09 12:32:11 +02:00
Zef Hemel 46e8dcf112 syntax highlight for anchros 2026-04-30 19:47:03 +02:00
Zef Hemel 0b5cf7c6af Make Configuration UI look more reasonable on mobile devices 2026-04-28 09:07:44 +02:00
Zef Hemel 15b1f37734 Potentially breaking CSS change for the themers: .sb-notifications is now elsewhere in the DOM
Goal: make it always appear above even modal windows
2026-04-21 16:29:38 +02:00
Zef Hemel 1ec2574836 Fix: button text wrapping 2026-04-16 14:09:51 +02:00
Zef Hemel cf159dba06 Fix: too tall a mini editor in various pickers on Safari
Hacky, but... probably working with a safari bug here.
2026-04-13 18:04:44 +02:00
Zef Hemel 5751d5b64f HTML tag Live Preview (second attempt) 2026-04-07 11:30:38 +02:00
Zef Hemel 2ad3172568 Revert HTML tags live preview, too many edge cases 2026-04-02 14:36:54 +02:00
Zef Hemel 6fc936ae5a Improve widgets.button() stylign 2026-04-02 09:34:58 +02:00
Zef Hemel dbc95239f6 Fixes #702 implementing Live Preview for HTML tags
This may still have edge cases, but basics should be working.
2026-03-31 11:11:17 +02:00
Zef Hemel cabe886813 Mobile hamburger style tweaks 2026-03-26 17:54:02 +01:00
d2e24ebae0 Add a dropdown picker for custom task states (#1900)
* Add a dropdown picker for custom task states

Add a dropdown picker for custom task states that appears as a small
triangle next to the `[state]` allowing to quickly switch between
defined states with autocomplete.

States marked as done receive strikethrough styling on the task text.

Each state can be styled individually using the `data-task-state`
attribute, for example:

```space-style
[data-task-state=PLANNED] .sb-task-state {
  color: black;
  background-color: orange;
}
```

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Keep the current task state visible while the dropdown picker is open

Keep the current task state visible while the dropdown picker is open by
disabling built-in filtering and handling it manually — when the state
text exactly matches a known state all options are shown, otherwise
results are filtered by what the user has typed so far.

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Added on-hover completion styling

* Fix: Show all defined task states in the dropdown when clicking the picker on an unrecognized state instead of showing an empty menu

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

---------

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
Co-authored-by: Zef Hemel <zef@zef.me>
2026-03-20 15:09:12 +01:00
Zef Hemel 9581433cd3 Fixes #212: adds footnote support
Based on https://www.markdownlang.com/extended/footnotes.html

* Both "official" [^1] and [^1]: def
* And inline ^[My foot note]

Features:
* Properly parsed in markdown parser
* Syntax highlighting
* Live Preview to ... when on-hover preview of content, on-click moves
  cursor to definition
* Reference completion
* Invalid references are marked
2026-03-13 08:28:43 +01:00
Zef Hemel 6bc12bc00f Add support for opting out action buttons from the drop down on mobile
+ by default making the page picker opt out
2026-03-12 14:27:20 +01:00
Zef Hemel ec40aa0838 Add action buttons to flashNotification
Used by upgrade notification
2026-03-10 16:07:25 +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 8ca97579fb Hide vertical scrolling in page name in case of long page names 2026-02-26 10:15:25 +01:00