Commit Graph
28 Commits
Author SHA1 Message Date
Zef Hemel 64c4581b0e Initial implementation of experimental Comment support (parsed and custom rendered HTML comments) 2026-08-06 10:15:57 +02:00
Zef Hemel d70e7ff0c8 Presence decorations for externally applied edits 2026-08-05 10:55:55 +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
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 5b5e2b0af3 Fix: table would overlap with next line 2026-05-29 15:24:23 +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 1ec2574836 Fix: button text wrapping 2026-04-16 14:09:51 +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
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 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
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