Pages: below 900 px auto shows the panes one column at a time, swiped like pages
The same forest of forks, laid out a column per page as wide as the screen, each column's panes stacked down it as on a wide screen (tabs a finger high). A tap on a row, a link or a section opens it and goes to it; a swipe ends on a page and makes its pane the active one (read at scrollend, never per frame); the active pane's page is always the one on screen. The trail at the foot names the focused branch in the panes' colours; its map lists every open pane to go to, pin or close. No curves: what a pane was opened from takes its colour. Each step from pane to pane is an entry in the browser's history, so Back goes back a pane and a swipe back is Back. Crossing 900 px keeps the forest and the active pane. Pane buttons always shown, 40 px; status line detail, key hints and `?` left to the menus; safe areas, 100dvh, the on-screen keyboard; a long press on a link shows its card above its menu. `/view panes` and `/view column` as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
This commit is contained in:
1 parent
e7c5634a38
commit
eb946980b3
9 files changed
+671
-71
No files matched your search
@@ -86,6 +86,9 @@ describe("actions", () => {
|
||||
expect(labels(link).slice(1, 8)).toEqual(["Copy", "--", "Open the link beside", "Open it in place", "Open on wikipedia.org", "Retarget…", "Remove the link"]);
|
||||
expect(find(link, "Open it in place")).toMatchObject({ key: "Enter", shift: true, keyText: "⇧⏎" });
|
||||
expect(labels(link)).not.toContain("Link to…");
|
||||
// As pages (a phone) an open goes to the next page, not beside; in place is still there.
|
||||
expect(labels(selectionEntries(sel({ link: "wiki", panes: true, pages: true }), act)).slice(3, 5)).toEqual(["Open the link", "Open it in place"]);
|
||||
expect(labels(articleRowEntries("Octopus", true, act, true)).slice(1, 3)).toEqual(["Open", "Open in place"]);
|
||||
// Removing a link is D, and says it is for good; a library link the same; a note that also links can lose only its target.
|
||||
expect(find(link, "Remove the link")).toMatchObject({ key: "D", sub: "and do not link these words again here" });
|
||||
expect(find(selectionEntries(sel({ link: "node" }), act), "Remove the link")).toMatchObject({ key: "D" });
|
||||
|
||||
Reference in new issue
Block a user