Repository navigation
feat(workspaceui): add the accepted parts, the control map and a gallery - #74
Merged
Merged
Conversation
A module of its own, workspaceui/gallery: an app that shows the Frostyard themes on NSGo's own controls, and a first draft of the standard window built from them (frostyard/frostmail, plan 0016, rules 10 and 11). - The standard window on fixture mail: the toolbar as NSGo's toolbar of icon buttons with one filled button, the navigation as NSGo's sidebar with a role's icon and a count at each row's end, the modules as segmented tabs, the list as NSGo's list with a multiple selection and summary rows (unread dot, avatar, sender and date, subject, preview, marks), and the reader with a banner and the sender's white page. - Pages for colors and type, buttons and toolbars, fields and forms, rows and marks, dialogs and menus. - Picture tours in both themes; comparison/linux keeps 20 pictures taken on Xvfb's X11. The row parts, the banner, the empty state and the dialog's opaque panel are prototypes in the gallery, to move into the kit once the look is accepted. The module is not yet in the Makefile's gates.
The owner accepted the gallery's look as drawn (2026-11-24). The parts it prototyped are now the kit's, each with a layout test: NavLabel (a sidebar row's icon, name and count), SummaryRow (a list row of a sender, a subject and a preview), SoftRows (the rows' hover and chosen fills), Banner, EmptyState, DialogPanel (a dialog's opaque ground) and ConnectionItem. The gallery draws them from the kit; 18 of its 20 pictures are the same bytes as before, and the 2 of the buttons page lose a busy button whose spinner differed between takes. The gallery is a module of the Makefile's gates, with make gallery, gallery-live and gallery-pictures. The spec gains the parts, the tests that hold them and the control map. Removes a built binary that the first round committed by mistake.
This was referenced Nov 24, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 2 of the kit's plan, rounds 1 and 2: the look's vocabulary. The owner looked at the gallery's pictures, ran the app, and accepted the look as drawn (2026-11-24). He also set the phase's bounds: it decides colors, controls and the inside of a part; where parts go in a window, and how one moves between them, is each app's later phase.
workspaceui/gallery, a module of its own: the standard window on fixture mail, built from NSGo's own controls, and a page for each family of controls (colors and type, buttons and toolbars, fields and forms, rows and marks, dialogs and menus). Its picture tours keep 20 pictures, each view in both themes, taken in a GTK window on Xvfb's X11.make galleryopens it;make gallery-liveandmake gallery-picturesrun the tours in a real window.NavLabel(a sidebar row's icon, name and count),SummaryRow(a list row of a sender, a subject and a preview),SoftRows(the rows' hover and chosen fills),Banner,EmptyState,DialogPanel(a dialog's opaque ground) andConnectionItem.role:tab, the toolbar byrole:toolbarand the confirmation byrole:alertdialog, so a control of another kind fails.MODULESgains the gallery, so tidy, vet, lint, the tests, the race detector and the cross-build run in it. The cross-build now writes nothing (-o /dev/null): a module of one main package left its binary behind.What the owner accepted: the soft fill of a chosen row, the toolbar on NSGo's inset strip, NSGo's tinted danger button, an opaque Frostyard panel under a dialog (NSGo's own is the page's color at 92% over a blur that Linux does not draw), initials on a neutral avatar, the summary row of 3 lines, modules as tabs of an icon alone, and NSGo's corners and sizes.
Risk tier
Risk tier: 3 — the change matches L2 paths.
Makefile:MODULESgainsworkspaceui/gallery; 3 new targets (gallery,gallery-live,gallery-pictures);crossbuilds with-o /dev/null, which builds the same packages and keeps nothing. No existing gate is removed..github/risk-paths.json: 2 entries added (workspaceui/gallery/go.mod,go.sum), both L2. No entry is removed or lowered.workspaceui/gallery/go.mod,go.sum(L2, new): the gallery requires the kit (replaced by the directory beside it) and NSGo v0.3.0, and names NSGo's tool. No app imports the gallery, so no app takes a requirement from it.workspaceui/go.modandgo.sumare unchanged.Also:
.github/dependabot.ymlgains an entry for the gallery's go.mod.Docs housekeeping
The spec gains the parts, the control map and the rules the tests hold; the design doc and
AGENTS.mddescribe the gallery and its targets; the plan records the 2 rounds and what is left.Verification
make verifygreen, as part ofmake ci BASE=origin/main(host, exit 0,==> ci passed), across the 3 modules, before the last commit's 2 lines (the cross-build's-o /dev/null, a.gitignoreentry) and the merge ofmain(docs). After them:make crossfor 2 targets,make verify-template, and both modules' tests pass.make gallery-pictures(host, Xvfb's X11): 4 tours pass, and 2 takes give the same bytes for all 20 pictures.TestNavLabelKeepsItsCountAtTheRowsEndfails ("the count ends at 100, want the row's end 240"); with the cut removed from the summary row's title,TestSummaryRowKeepsItsTextInsidefails.To know. The first commit of this branch holds a 26 MB built binary of the gallery, committed by mistake and removed in the second. A squash merge keeps it out of
main.Left in Phase 2: the controls of the map the gallery does not draw yet (a tree, a popover and a hover card, a toast, paging, a disclosure, NSGo's settings, the command palette, a search field's icon and key hint); draft windows for a calendar, people, tasks, compose and settings; pictures from the web target.