Skip to content

Shelf v0.5.0

Latest

Choose a tag to compare

@marcoodignoti marcoodignoti released this 27 Jun 20:14

Shelf v0.5.0

Shelf v0.5.0 introduces Split View — the ability to place two note pages side by side in the same workspace, so you can read or write one page while referencing another.

Changes

  • Split View (two pages side by side):
    • Open a second page beside the current one from a new toolbar button, then pick the page to affiance from a searchable picker.
    • A draggable divider resizes the two panes; the proportion is remembered across app restarts.
    • New SplitSlice store manages primary/secondary panes and the active pane, with full persistence and auto-cleanup when a split page is deleted.
    • Toolbar dropdown menu (Scegli/Scambia/Chiudi) plus keyboard shortcuts: ⌘\ toggle, ⌘⇧\ swap panes, ⌘⇧] move focus between panes.
    • The sidebar highlights and targets whichever pane currently has focus.
    • Extracted a reusable PageSearchResults component now shared by the command palette and the split picker.

Tester Notes

Open a page and click the new split-view button (Columns icon) in the editor toolbar to pick a second page. Verify both panes render and the divider is draggable; reload the app and confirm the split (both pages and the ratio) is restored. Test the ⌘\, ⌘⇧\, and ⌘⇧] shortcuts. Click into each pane and confirm the sidebar highlights that pane and opens clicked pages into it. Delete the secondary page and confirm the split auto-closes. Verify the split only appears in Notes mode (Studio and Home are unaffected).