Several libraries on the server: one directory, store, notice stream, link index, pending links, reviewer and jobs each; /api/libraries and /api/l/<id>/…; the page holds one library, named by its address, and switches by a page load

The old single-library layout is not opened (the server says to run the migration, which comes
next); the per-document migration, /recover and the old replicas check are gone. A server lock
keeps two servers off one data directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
This commit is contained in:
thalladaandClaude Opus 5.5 committed 2026-11-17 02:25:25 -05:00
1 parent 045a8459da
commit 79aa85e883
22 files changed
+1468 -759

No files matched your search

+2 -2
View File
@@ -68,10 +68,10 @@ test("the library root is the first page and a node like any other: its sections
const first = await state(page, (s) => s.focus.node);
await expect(page).toHaveURL(new RegExp(`/n/${encodeURIComponent(first)}$`));
await expect(page).toHaveTitle("Infinispand");
// Back up onto the root itself: its address is /, and it is the node the keys act on.
// Back up onto the root itself: its address is the library's, /l/<id>, and it is the node the keys act on.
await keys(page, "h k");
expect(await state(page, (s) => s.focus.node === s.snap.root)).toBe(true);
await expect(page).toHaveURL(/\/$/);
await expect(page).toHaveURL(/\/l\/[0-9a-z]+$/);
await expect(page).toHaveTitle("Library");
await keys(page, "D");
await expect(status(page)).toHaveText("The library itself cannot be deleted.");