Skip to content

fix(shell): FormLedger 0.15.1 to the Form shell standard: top right buttons, the Preferences dialog, Antigravity and the macOS traffic lights - #16

Merged
nodemode-ai merged 11 commits into
mainfrom
fix/form-shell-0.15.1
Dec 2, 2026
Merged

nodemode-ai merged 11 commits into
mainfrom
fix/form-shell-0.15.1

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

fix(shell): FormLedger 0.15.1 to the Form shell standard: top right buttons, the Preferences dialog, Antigravity and the macOS traffic lights

Summary

FormLedger 0.15.0 missed the same lines of the Form shell standard as FormCite and FormREC. This brings it up to every line.

  • Top right: FormPortal's agent (robot) and gear buttons, same SVGs byte for byte, same 30 px icon-btn look. The robot runs view.dock and stays lit while the dock is open, from the first frame. The gear opens Preferences (data-prefs-open, aria-haspopup="dialog").
  • Preferences is a floating dialog: FormVis's cv-prefs frame on a native <dialog>, with the section rail floating at its left and the drawn wire from the active tab to the port at the header divider (redrawn on rAF, only path data and the port offset change). One section shows at a time. Esc, Done, close and a click outside close it, and Tab stays inside. Every way in opens it: gear, Cmd or Ctrl plus comma, the menu item, the palette, Home's button, the user menu and old #/preferences links. Every setting is kept, including the app lock, which goes through the engine.
  • Toggle switches: every on/off setting (Menus in Window, Show the agent dock and the app lock in Preferences, and the app lock on Account) uses FormPortal's and FormVis's 36 by 20 px switch. It is still a real checkbox with role="switch" inside its label, with keyboard, focus ring and dark and light. The change is CSS only, with no layout shift.
  • Agent dock: Antigravity (agy) joins Claude Code, Codex and Cursor in the window and in the engine's agent status and /api/terminal/agent.
  • macOS: an overlay title bar with a hidden title, as FormVis, FormPortal and FormCite have. The page sets data-fl-lights before first paint, which gives a 78 px inset on the sidebar head (native menus) or on the in-window bar (Menus in Window). The inset is dropped in full screen. The sidebar is 312 px in that mode so the name and version stay whole. The top rows are deep drag regions, which needs two new window permissions. The shell's first menu bar gains Account, Agent Dock and Menus in Window, so it matches the page's list.
  • README: new Preferences screenshots (dark and light, 1600 by 1000) and the dock text.

Commits

75b823c chore(release): 0.15.1
bf5985e fix(prefs): the Form apps' toggle switch for every on/off setting in Preferences and on Account
f4e0a6d docs(log): date the 0.15.1 entries in Eastern time
5ae97bd docs(readme): the Preferences dialog in dark and light, the top right buttons and the Antigravity tab
eed958a fix(menu): the shell's first macOS menu bar has Account, Agent Dock and Menus in Window, as the page's list does
9372cc8 fix(window): drag the macOS window from anywhere in the top rows that is not a button or link
fa56bee fix(window): the macOS overlay title bar with the traffic lights clear of the sidebar head and the in-window menu bar
64149bb fix(prefs): the section rail first in focus order and Tab kept inside the dialog
7e0acb4 feat(dock): Antigravity as the fourth agent program, a dock tab when agy is installed
011b2ed feat(prefs): Preferences as FormVis's floating dialog with the wire, one section at a time, opened from every way in
d08b833 feat(topbar): the agent and gear buttons at the top right, in FormPortal's icon button style

Version

0.15.1 in web/package.json, both web/package-lock.json fields, src-tauri/tauri.conf.json, src-tauri/Cargo.toml, the formledger-desktop entry in src-tauri/Cargo.lock, Makefile, internal/app/version.go, the README badge and the four HASHOUT "Current build version" lines. These are the same 12 files the 0.15.0 release commit touched, plus CHANGELOG.md.

Checks

  • npm run build (tsc --noEmit on both configs, then vite build): pass.
  • go build ./... and go vet ./...: pass.
  • cargo check of the desktop shell on Linux: pass (the cfg(target_os = "macos") lines are not compiled there).
  • The repository has no Go, window or Rust tests, so none could be run.
  • Headless Chrome, CPU slowed 4x, on this branch's binary serving a copy of the Ironbark demo with its real CSP. Each item was verified under throttling:
    • Load: no layout shift in dark or light, with the dock saved open or closed. With the dock saved open, .app is 590 px and the robot is lit on every frame from the first app frame.
    • Dock: opens and closes from the robot and from Ctrl+J with no shift. aria-pressed follows. The tabs are Terminal, Claude Code, Codex, Cursor and Antigravity.
    • Preferences at 1440 by 900 and 1000 by 700: modal, rail 27 px left of the panel, the port at the header divider. On each section switch the frame stays the same size and place, one section shows, and the wire changes. No shift. 25 Tabs and 10 Shift+Tabs stay inside. Esc, click outside, Ctrl+comma, Home's button, the user menu, Edit > Preferences..., the palette and a #/preferences link all work, the last one keeping the list view's hash. The Agents switch opens and closes the dock.
  • Switches, on a desktop-mode server, dark and light, at 4x: every switch is 36 by 20 with appearance: none, and the knob moves 16 px when on. Space and a click on the label both toggle the dock. No layout shift in Preferences or on Account.
  • Stand-in macOS Tauri shell (a fake __TAURI_INTERNALS__ that records the menu calls, platform MacIntel):
    • The inset is on the first frame, full in full screen and back after.
    • The head is not cut (icon and name at 86 to 215 px, version at 234 to 296 px).
    • The system menu is built from MENUS with FormLedger, File, Edit, View, Go, Window and Help, the five Go submenus and 55 command items, and set as the app menu once.
    • With Menus in Window, the bar starts at 78 px.
  • Line 7: Home, the sales and purchase invoice lists, a posted invoice, a new invoice, the general ledger, the trial balance, profit and loss and Reports at 1440 by 900 and 1280 by 800. The largest scroll is 35 px, and no view has side panels. The general ledger with no account says so under its account picker.

Not run: a Mac (the overlay title bar, the real traffic-light position, dragging, full screen, the real system menu), Windows, a desktop build or installer.

Merging

The branch fix/form-shell-0.15.1 starts at main 42e5627 (the 0.15.0 merge) and merges cleanly. No other branch depends on it.

@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner December 2, 2026 01:26
@nodemode-ai
nodemode-ai merged commit aa79ca8 into main Dec 2, 2026
2 checks passed
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.

1 participant