Commit Graph
6 Commits
Author SHA1 Message Date
Knotty Wyvern 42e18b4620 Resize panes and drag tabs into panes
- A divider between two panes changes their sizes, with the pointer or the keyboard. A double-click gives equal sizes.
- A tab that the user drags from the tab bar to a pane replaces its content, or opens a new pane on its right or bottom side.
- The file tree menu has "Open to the right", also for PDF files and boards.
- "New tab to the right" and "New tab below" of a browser tab open a new tab with the home page beside it. They replace "Split right" and "Split down".
- New smoke test: a PDF file beside a note.
2026-11-10 12:24:17 -07:00
Knotty Wyvern 61976191d0 Show different tabs side by side in split view
Each tab menu has "Open to the right". It shows the tab in a new pane to
the right of the active pane. A pane shows a document or a plugin tab,
for example a browser tab.

- A plugin view stays in the plugin layer above the panes, so a move
  between panes does not mount it again.
- A browser tab that covers the area moves to the left pane when a tab
  opens beside it. The last pane gives its plugin tab the whole area.
- The "Split" toggle of a document is now "Read beside".

Card 565874b2.
2026-11-10 06:40:44 -07:00
Knotty Wyvern a4a8eaf4d2 Show PDF pages in one column that scrolls
The PDF tab shows all pages in one column. The wheel, Page Up, and
Page Down scroll. They do not change the page, and they draw nothing
again at the start or the end of the document.

- The zoom percent is a field. A typed percent sets the zoom. Ctrl and
  the wheel also change the zoom.
- The toolbar, the status line, and the password form are opaque, so a
  background image does not hide them.
- Ctrl+Tab and Ctrl+Shift+Tab give keyboard focus to the new plugin tab.

Cards: 9b7b246e, 59ff5dc1, 2e425cbc, 7bd092d2, 2142ca04, c0900ae8.
2026-11-09 22:10:08 -07:00
Knotty Wyvern 2b28707ba0 Keep the view in place while scrolling through tables and images
The view jumped to other text in large documents. A short line with
another height, such as a code fence, became the CodeMirror reference
for the line height. CodeMirror then estimated all heights again, and
its layout loop stopped before it restored the scroll position. Each new
table or image height started this check.

- A mark span keeps lines with another height out of that reading.
- A resize observer records the preview heights. A measure request from
  `toDOM` restarted the layout loop.
- A hidden layer measures each table before its first draw.
- Images keep their space from their natural size, in Write and Read.

The scrollStability smoke test and the imageSizes unit test check this.
Real wheel input on large documents gave no jumps in Write and Read.
Card be7df1de.
2026-11-04 21:41:20 -07:00
Knotty Wyvern 012b65bced Keep the collapsed Backlinks section after a tab change
The Backlinks section expanded again when the user left a tab and came
back. The section lost its state when it closed with its tab.

- The workbench layout keeps the state in `backlinksOpen` and saves it
  with the other layout values.
- The user guide describes the control.

The outline smoke test and the workbenchLayout unit test check the
state. Card e81770bc.
2026-11-04 21:41:20 -07:00
Knotty Wyvern 5557443ed1 RuneStone 1.0.0 2026-11-03 00:23:07 -07:00