From 9363a0024de49b1aef395089f3dacdd8fb705186 Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Thu, 22 Oct 2026 17:39:24 +0200 Subject: [PATCH] navigation: the list by name outside the diary, Ctrl-P goes to anything by its name, new things land beside what they belong to The list is folders first and then by name in every space but the diary, which stays a journal by day; a document's row elsewhere shows when it was last edited. Ctrl-P is a jump by name across every space, served by GET /api/jump: the last word is looked for in the name, the ones before along the path. / is the one full-text search, and Tab on its line takes it to every space and back. A card's notes are made in the folder being browsed when that is in the card's space, and a missing [[link]]'s document beside the one linking to it. o in a space with templates opens the line as :new with them listed. --- PLAN.md | 22 +++--- README.md | 11 +-- docs/wiki/API.md | 1 + docs/wiki/Boards-and-Agenda.md | 6 +- docs/wiki/Commands.md | 8 +- docs/wiki/Files-and-Search.md | 8 +- docs/wiki/Guide.md | 13 +-- docs/wiki/Spaces-and-Documents.md | 8 +- docs/wiki/Writing.md | 5 +- src/routes/mod.rs | 1 + src/routes/nodes.rs | 127 ++++++++++++++++++++++++++++-- web/src/App.svelte | 16 ++-- web/src/lib/CommandLine.svelte | 70 ++++++++++++---- web/src/lib/Rail.svelte | 2 +- web/src/lib/Sidebar.svelte | 16 ++-- web/src/lib/actions.ts | 9 +-- web/src/lib/api.ts | 2 + web/src/lib/commands.ts | 20 ++++- web/src/lib/keymap.ts | 6 +- web/src/lib/state/cards.svelte.ts | 26 +++--- web/src/lib/state/tree.svelte.ts | 16 ++-- 21 files changed, 297 insertions(+), 96 deletions(-) diff --git a/PLAN.md b/PLAN.md index 57d075a..06d89e0 100644 --- a/PLAN.md +++ b/PLAN.md @@ -31,17 +31,21 @@ short actionable summary of work, a **note** a thought not sorted yet, and a its document. The documents and the plan each have a screen, and the scratchpad comes down over either. -### Left over from the plan, not started +### The navigation fixes -These were in the plan's navigation fixes, outside the numbered slices: +The plan's navigation fixes sat outside the numbered slices, and landed after +them, in one commit: -- The list groups documents by day in every space; the plan had that only in - the diary, and folders first then by name elsewhere. -- `Ctrl-P` is full-text search across every space; the plan had it become a - jump to a node by its name and path, with `Tab` in `/` reaching every space. -- A card's notes are made in the space's root, not in the folder being - browsed. -- `o` does not offer the space's templates; `:new