Commit Graph
16 Commits
Author SHA1 Message Date
luxickandClaude Opus 5.5 aa90a04f91 Boost page navigation with htmx
Links and GET forms to wiki pages swap the next page into .shell instead
of loading a new document: the server answers boosted requests and
history restores with a partial (title, page actions out-of-band, shell
content). The header stays, browsers without cross-document view
transitions (Firefox) no longer flash between pages, and the swap runs
as a same-document view transition. Files, the editor, internal
endpoints and POST forms still navigate normally.

Back/Forward refetch pages (no snapshots that could predate a move or
delete); the tree rail keeps its scroll position and the content column
returns to where it was. Mutation redirects swap their result in the
same way. Page scripts that assumed a fresh document now also run after
a swap (toc, contents, companion, scroll-sync, search actions) or
register once (fitness).

The e2e suite now also runs in Firefox.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 19:29:08 +02:00
luxickandClaude Opus 5.5 a55a1c8ed4 Render search suggestions on the server
The typeahead requests /_search via htmx (debounced, newer requests
replace in-flight ones) and gets rendered rows with the match
highlighting done in Go. Rows are links, so picking in the header is
plain navigation; the editor's link dialog reads data-name instead. The
editor's [[ autocomplete keeps the JSON response.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 17:00:08 +02:00
luxickandClaude Opus 5.5 4365fa2567 Render the folder tree on the server
The sidebar tree is part of the page (chain to the current page
expanded, active row marked), so it no longer paints late and the
sessionStorage snapshot is gone; only the rail's scroll position is
kept. Folders are native <details> that lazy-load their children as
HTML via htmx. The tree picker hosts the same server-rendered rows with
radio inputs, so ?tree returns HTML and the JSON listing is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:51:20 +02:00
luxick 3170d1c6d9 Further performance optimization 2026-09-30 15:48:30 +02:00
luxick 34f750beff Exact page matches in search 2026-07-20 09:08:35 +02:00
luxick 5303645173 Improve search result page 2026-07-20 08:54:12 +02:00
luxick db17f94627 Adjust app layout 2026-06-16 15:24:21 +02:00
luxick 404ce088f3 Allow merging when moving pages 2026-06-16 10:00:41 +02:00
luxick a25d5434ac Improve serach function with quick suggestions 2026-05-18 15:10:34 +02:00
luxick 3d3a121fa6 Add search index 2026-05-07 09:41:20 +02:00
luxick 2787c15d40 Add page footer with request time display 2026-05-07 08:19:39 +02:00
luxick 72edf7b258 Update search function 2026-05-04 10:03:53 +02:00
luxick 903f21e7f1 Refactor Layout and improve search 2026-04-29 19:26:01 +02:00
luxick bb137e9c93 Full-text search v1 2026-04-29 14:30:37 +02:00
luxick 511b65df22 Resolve symlink root in search 2026-04-29 14:17:52 +02:00
luxick dd3906855d Search phase 1 2026-04-29 14:12:18 +02:00