Skip to content

fix(deps): bump frostui to v0.10.1 so long Info dialogs scroll - #262

Merged
bketelsen merged 1 commit into
mainfrom
irulan/frostui-v0.10.1
Nov 23, 2026
Merged

bketelsen merged 1 commit into
mainfrom
irulan/frostui-v0.10.1

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

Summary

Bumps github.com/frostyard/frostui from v0.10.0 to v0.10.1. In v0.10.1 an Info dialog's body scrolls under its fixed title and Close button (frostyard/frostui#51, #57). frostnotes draws 3 Info dialogs (internal/desktop/window/actions.go):

  • Conflicts lists one row per flagged file and has no height of its own. On v0.10.0, a long list ran below a 1280×800 window, out of reach. With 40 conflicts the dialog was 1632 DIPs tall. With v0.10.1 the list scrolls.
  • Keyboard shortcuts already wraps its list in its own ui.Scroll capped at 420 DIPs. With the cap, the dialog fits the window, and the list still scrolls inside frostui's new scrolling body.
  • About is short (frostui.AboutBody) and needs no check.

New headless tests in internal/desktop/window/window_test.go, modelled on frostmail's TestShortcutsDialogScrollsAt1280x800:

  • TestConflictsDialogScrollsAt1280x800: 40 conflicts at 1280×800. The dialog stays inside the window and the last file starts out of view. Wheel scrolling (steps of 120 DIPs, at most 40) brings it into view below Close, and Close does not move.
  • TestShortcutsDialogScrollsAt1280x800: does the same for the real shortcut list. It takes the first and last titles from the command table that showShortcuts reads.

packaging/flatpak/go-sources.json (make flatpak-sources) and the frostui version in AGENTS.md follow the bump.

Risk tier

Risk tier: 1 — a patch bump of the UI kit plus tests; no product code changes.

Verification

  • make check green (host): tidy, gen-check, vet, gofmt, golangci-lint, unit tests, and frostui's tests against the MyGo fork in go.mod
  • make desktop-build and go test -race -timeout 25m ./... green (host); these are the Go parts of make ci
  • make flatpak-sources run
  • Revert test: with frostui at v0.10.0 (go get github.com/frostyard/[email protected]), go test ./internal/desktop/window/ -run TestConflictsDialogScrollsAt1280x800 fails (""Conflicts" dialog outside 1280x800 … H:1632"). TestShortcutsDialogScrollsAt1280x800 passes on both versions, because that dialog has its own scroll box. It guards against the nested scroll breaking.
  • make ui-check did not run: nothing under app/ changes, and this shell cannot reach the nsl machine.

frostui v0.10.1 scrolls an Info dialog's body under its fixed title and
Close button (frostyard/frostui#51, #57). The Conflicts dialog lists one
row per flagged file with no height of its own: on v0.10.0 a long list
ran below a 1280x800 window, out of reach.

TestConflictsDialogScrollsAt1280x800 opens it with 40 conflicts and
scrolls with the wheel until the last file is in view below a fixed
Close; on v0.10.0 the dialog is 1632 DIPs tall and the test fails.
TestShortcutsDialogScrollsAt1280x800 checks that Keyboard shortcuts,
which keeps its own 420-DIP scroll box, still scrolls to its last row
inside the new scrolling body. About is short and needs no check.

go-sources.json (make flatpak-sources) and AGENTS.md follow the bump.
@github-actions github-actions Bot added the level:L3 Skim label Nov 23, 2026
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 23, 2026
@bketelsen
bketelsen merged commit 78377e0 into main Nov 23, 2026
11 checks passed
@bketelsen
bketelsen deleted the irulan/frostui-v0.10.1 branch November 23, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L3 Skim ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants