Commit Graph
27 Commits
Author SHA1 Message Date
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
Zef Hemel 140224571e Assign differerent CSS classes to attributes names and value (sb-attribute-name and sb-attribute-value respectively) 2026-02-04 15:29:22 +01:00
Lajos PappandGitHub e1d7f5cbed Fix diff styles in code fence (#1807) 2026-02-02 11:53:43 +01:00
Zef Hemel bd4db1afea fmt 2026-01-15 11:14:44 +01:00
Zef Hemel 840e0c5fea Tuned the filterbox and fuse-based filtering
* Upgraded fuse library
* Removed the category support in the filterbox, it was buggy and hides
  command names
* Tweaked fuse parameters for (hopefully) better matches in the page
  picker (and everywhere where the filter box is used)
2026-01-15 09:17:34 +01:00
SebastianandGitHub 4fd2d71fbd Improve hamburger menu behavior in mobile mode (#1723) 2025-12-19 15:14:36 +01:00
Zef Hemel 2efeb93b47 Implements #1707
This splits indexing into two phases:

* preindex (where only pages, space lua, space styles are indexed)
* index (where everything else is indexed)

The goal is to get to more-or-less operational state quicker this way,
because probably most functionality can already be enabled after the
pre-index phase.
2025-12-10 09:48:09 +01:00
Zef Hemel f0e6bb243a Don't show a border when using button widgets 2025-11-12 16:54:07 +01:00
numanandGitHub afebdcf64c fix: bottom search bar dark mode styles (#1614) 2025-10-11 20:12:11 +02:00
Zef Hemel fff65f9094 Fixes #1593
Lua widget output can now be selected
2025-10-06 10:35:05 +02:00
Zef HemelandGitHub a524c64884 Go backend (#1555)
* Replaces old Deno server with a Go implementation
* Restructured the code base accordingly
2025-09-19 13:23:20 +02:00