Mouse layer: one helper per repeated pointer lookup, dead hooks and options out

- A click (App) and a right-click or ⋯ (Mouse focusAt) each worked out
  the pane under the pointer, its article host and the words dragged
  over; they share pointedPane, dragged and wtextRow now.
- The page's Act lives with the menus that use it (Mouse.tsx), so
  actions.ts is the pure builders its header says it is.
- App's key handler: one openCommand for the prompt hook and the key
  handler, dropPopup instead of a copy of it, closeMenu without the
  menuShown check it makes itself.
- Gone: the "page" menu place (it took the same branches as "auto"),
  Key's shift prop and the arrow keys' text (never passed), isFirstRun,
  HistoryPanel's lastType (implied by the set of heads), and DOM
  attributes nothing reads (data-libs-trigger, data-conflict,
  data-popup, data-source, lib-new). Exports used only in their file
  are not exported.

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 16:25:27 -05:00
1 parent fbd2a0852a
commit 2e3ffbb7cd
6 files changed
+99 -110

No files matched your search

+2 -1
View File
@@ -22,7 +22,8 @@ export const HELP: [string, [string, string][]][] = [
["Alt+h Alt+l", "in panes: the pane this one was opened from (left) / one opened from it (right): the one opened from the focused row or link if it is open, else the one last visited; from a node, a selection or an article alike. Left then right comes back"],
["Alt+k Alt+j", "in panes: the pane above / below in the same column, across forks (Alt+↑ ↓ and [ ] too)"],
["Alt+Shift+k j", "in panes: move the active pane up / down its column, as dragging it by its grip or tab does (Alt+Shift+↑ ↓ too; the pane's ⋯ menu offers the same)"],
["[ ]", "in panes: the pane above / below in the same column (back where you were in it, or at its head); at the top or bottom nothing moves. A crowded column stacks its panes as the strip stacks columns, covered to a tab; resting the mouse on a covered pane peeks it out; its grip or tab drags it up or down. A faint curve runs from where each pane was opened to its title"], ],
["[ ]", "in panes: the pane above / below in the same column (back where you were in it, or at its head); at the top or bottom nothing moves. A crowded column stacks its panes as the strip stacks columns, covered to a tab; resting the mouse on a covered pane peeks it out; its grip or tab drags it up or down. A faint curve runs from where each pane was opened to its title"],
],
],
[
"Mouse and touch",