Files
museion/Museion
AlexKucera 105814cfb2
CI / ci (push) Canceled after 0s
feat(library): search field over titles and bodies (#144)
PostsLibraryColumn gains the live search under its PaneHeader: plain
text field + clear button + bottom hairline; searching replaces the
sectioned library with a flat ranked list (title hits first via
LibrarySearch), nil matches = in-flight ProgressView, empty = the
'No matches' state naming the query; clearing restores sections.
Scan is debounced 250 ms by .task(id: query) (Task(id:) cancels the
in-flight wave on every keystroke — one scan per settled query) and
runs off-main through Task.detached over PostStore.readBody
(rescan's posture; frontmatter never searched). State is per-view —
both library surfaces get the field from the one shared column.
2026-11-03 04:11:14 +01:00
..