Skip to content

feat(nsgo): take the kit's window, headings, empty pane actions and tree width - #286

Merged
bketelsen merged 2 commits into
mainfrom
feat/nsgo-kit-v0.5
Nov 25, 2026
Merged

bketelsen merged 2 commits into
mainfrom
feat/nsgo-kit-v0.5

Conversation

@bketelsen

@bketelsen bketelsen commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The NSGo client takes workspaceui/v0.5.1 (frostyard/frostui#79 and #80; frostyard/frostmail's plan 0017, Phase 1), and gives the kit 4 things it held itself.

  • The kit keeps the window (workspaceui.KeepWindow), in place of the client's own copy of the same code, under the same key and shape.
  • Headings take the kit's scale (workspaceui.Heading). The sizes are the same (24 points at level 1, 2 less a level); the line is now 6 taller than its size, where it was the body's. The style test's 1 exception, a size written as a number in inline.go, is gone: it lists none.
  • The pane with no vault is the kit's empty pane with its actions (EmptyState.Actions), in place of the client's own layout. no-vault.png did not change by a pixel.
  • The notes' tree keeps its width (FileExplorer.OnTreeWidthChange; tree-width in the client's storage). A drag of the tree's edge now changes its width, which the kit did not do before.

For the owner to judge, on the pictures: the headings' lines in note-live-preview.png, note-live-preview-line.png, dark-note-live-preview.png, and behind the menu and the dialog in more-menu.png and dark-dialog-move-note.png. The picture tool's diff of each against main's is inside the editor's pane.

Risk tier

Risk tier: 2 — behaviour change in the NSGo client, and a dependency bump of its module.

Verification

  • make check green, on each of the 2 commits (the second takes v0.5.1, whose KeepWindow keeps the window's own size)
  • make flatpak-sources run
  • The client's suite headless: ok; make nsgo-pictures on Xvfb's X11: 9 passed, 5 kept pictures change
  • New tests: TestTreeWidthIsKept, TestTreeOpensAtItsFirstWidth; TestWindowSizeIsKept and TestKeptWindowAndPanesShowAtStart pass on the kit's KeepWindow
  • Not run: the web build's evidence (make nsgo-lodge-evidence)

…ree width

The NSGo client takes workspaceui v0.5.0 (frostyard/frostui#79):

- The kit's KeepWindow keeps the window, in place of the client's own
  copy of the same code, under the same key.
- Headings take the kit's scale, and the style test lists no exception.
- The pane with no vault is the kit's empty pane with its actions.
- The notes' tree keeps its width, and a drag of its edge changes it.
@github-actions github-actions Bot added the level:L3 Skim label Nov 25, 2026
The kit's v0.5.1 keeps the window's own size, not its content's
(frostyard/frostui#80).
@bketelsen
bketelsen merged commit 0aab290 into main Nov 25, 2026
16 checks passed
@bketelsen
bketelsen deleted the feat/nsgo-kit-v0.5 branch November 25, 2026 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants