Skip to content

build: prepare v1.1.0 release (#145) - #163

Merged
aksOps merged 2 commits into
mainfrom
release/v1.1.0
Aug 20, 2026
Merged

build: prepare v1.1.0 release (#145)#163
aksOps merged 2 commits into
mainfrom
release/v1.1.0

Conversation

@aksOps

@aksOps aksOps commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The release slice of map #136: places the one spinner the restyle cut left
unassigned, then carries the v1.1.0 notes.

Closes #145.

The leftover spinner

Spec section 5.2 assigns the bubbles/v2 spinner to every ...ing... busy
state that was static text. PR #150 wired it into the ADR split and the issue
import and recorded one exception (deviation 8): the card editor's drafting
and saving states were #143's surface, already shipped before the pattern
existed, and were left for the map to place. This places them.

The pattern is #150's, copied whole:

  • cardeditor.Model holds a spinner.Model, constructed from the theme's
    Spinner token and re-adopted in SetStyles, so the editor never picks its
    own frames.
  • busy() is drafting || saving; spinTick drops the tick the moment
    neither is in flight, so an idle editor costs no timers.
  • The tick is batched at the operation start (startDraft, both branches
    of startSave), not armed for as long as the overlay is open.
  • busyPrefix() strips the frame to plain text so the footer band renders it
    in the band's own tier, and returns empty for a zero-value model.
  • spinner.TickMsg joins cardeditor.IsMessage, so the root routes it.

Tests

TestSpinnerAdvancesOnlyWhileDraftingOrSaving mirrors the existing
adrsplit and issueimport spinner tests: idle drops the tick, both busy
states take it, both footers carry the frame, a settled editor does not re-arm,
a zero-value model renders no frame, and the root routes the tick.

Three test helpers now walk a batch and skip the spinner tick, which is what
#150's deviation 7 predicted: commandMsgForEditor in the editor package and
resultSkippingSpinnerTick in the root package.

No golden changed: the drafting and saving footers are not in any pinned frame.

Release notes

docs/releases/v1.1.0.md, in the v1.0.1 format. v1.1.0 is a minor: the UI
changed materially and nothing broke. The notes cover the Strata design
language, the full-frame board and proportional overlays, the visible
semantic-colored buttons, the adopted charm components, the huh v2 dialog
fields, the Home/End fix including the untypeable h/l import bug, Ctrl+A
select-all, and the theme package with zero styling outside it. Upgrade
section records no database migration; install and verify are as before.

.gitignore gains the notes file: /docs/releases/* is ignored with a
per-release allowlist.

Verification

Check Result
go build ./... pass
go vet ./... pass
sh scripts/check-go-format.sh clean
sh scripts/check-go-coverage.sh pass, total 96.9% (gate 96.4%)
internal/tui coverage 96.6% (floor 90%)
internal/tui/cardeditor coverage 96.4% (gate 95%)
go test -race ./internal/tui/... pass, 714 tests
go test ./... pass, 1920 tests

aksOps added 2 commits August 20, 2026 09:31
Spec section 5.2 assigns the bubbles spinner to every busy state that was
static text; the card editor's drafting and saving footers were the last
two left behind (PR #150 deviation 8).

The pattern is PR #150's: the editor holds a spinner.Model, SetStyles
adopts the theme's spinner, the tick is batched at the operation start so
an idle editor costs no timers, and the tick loop stops as soon as
neither drafting nor saving is in flight.

Refs #145.
The redesign release: the Strata design language, the full-frame board
and proportional overlays, visible semantic-colored buttons, the adopted
charm components, and the text-field key fixes. No database migration.

Refs #145.
@sonarqubecloud

Copy link
Copy Markdown

@aksOps
aksOps merged commit 552f69a into main Aug 20, 2026
9 checks passed
@aksOps
aksOps deleted the release/v1.1.0 branch August 20, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redesign release: golden sweep, dogfood, ship

1 participant