Skip to content

feat(window): family look, system theme and a prebuilt style engine (0.11.0) - #10

Merged
nodemode-ai merged 27 commits into
mainfrom
feat/contract-and-prebuilt-0.11.0
Nov 27, 2026
Merged

nodemode-ai merged 27 commits into
mainfrom
feat/contract-and-prebuilt-0.11.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

feat(window): family look, system theme and a prebuilt style engine (0.11.0)

Summary

  • The window follows the system's light or dark theme and sits in the Form family frame: a sidebar head with the icon, a top bar with the view name and Add, and the list and details on one sheet.
  • Fixed in the list and details: the Year header is whole, the gap above the first row is gone, and a creator fits on one line on a wide window.
  • ./formcite install uses a prebuilt citation style engine when a wheel fits, and builds from source only when none does. A built wheel is refused unless the twelve style regression cases pass.
  • CI gains a style job that builds the wheel on five runners and runs the regression set. A proposed formcompiler registry entry sits under packaging/; nothing reads it yet.
  • Stored PDFs are handed to FormPDF by command line when it is installed.
  • The README follows the family layout, and prose is American English.

Commits

27 commits, no merges: 3 feat(setup), 2 feat(shell), 2 fix(list), 2 docs(style), 2 docs(spelling), 2 docs(hashout), and one each of feat(tokens), feat(appearance), feat(opener), fix(toast), fix(style), fix(setup), fix(preferences), fix(details), docs(readme), docs(notice), ci(style), build(setup), build(packaging), chore(release).

Version

0.10.0 to 0.11.0, a minor bump for new features. Every version site moves in the last commit.

Checks

  • The library exit run on a private built copy of the final code: 2,000 items, CPU slowed 4x, slowed network, cold load. Layout shift 0 with and without input on every step; the row pool held 55.
  • import app.main, app.cli at each of the 27 commits.
  • The twelve style regression cases on the head.
  • By build agents, not repeated by the orchestrator: the wheel build and a fresh-environment install with one citation over HTTP; the window in light and dark at two sizes under the same throttle, layout shift 0.

Not run: macOS and Windows builds, the .bat scripts, the frozen engine, the desktop shell (never compiled), the new CI job, and a hand-off to an installed FormPDF.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

FormPDF takes a PDF path as its launch argument and forwards a second launch to the open window, so FormCite uses that, with the system viewer as the fallback. Linked files and non-PDFs stay with the system viewer. Docs and log updated.
setup/build_style installs a prebuilt formcite_style wheel when one fits the platform, builds from source with Rust otherwise or on --from-source, and with --wheel builds a locked release wheel and refuses it unless the style regression set passes.
install_all now installs the style engine after the backend, from a prebuilt wheel when one fits and from source only with Rust or on --from-source, and says plainly when neither is possible.
freeze_backend builds the locked release wheel, refuses it unless the regression set passes, and bundles formcite_style as a hidden import so the frozen engine carries the module it loads by name.
The 503 reason now names ./formcite install, which takes a prebuilt module, and setup/build_style --from-source for a Rust build.
A pre-paint script sets the theme before first paint, Preferences offers System, Light and Dark with the accent color, and older theme names map to dark.
The tokens now carry the family ground, sheet, surface, border, text, accent and type scale, with a light set under data-theme; the older names alias them.
A style job builds the locked release wheel on the five runners formcompiler uses, installs it into a Python with no other style module, runs the twelve-case regression set against it and keeps the wheel.
build_style.bat, install_all.bat and freeze_backend.bat now do what their bash twins do: prefer a fitting prebuilt wheel, build from source only with Rust or on --from-source, and freeze only a wheel that passed the regression set.
Organization, behavior, license, catalog, labeled, normalize, recognize and color in prose. File names, identifiers and the JSON evals file are unchanged.
The window answers a missing style engine with 422 and the cite service with 503, so the install message says formatting stays off instead of naming one code.
packaging/formcompiler/apps/formcite.json is FormCite's proposed apps entry in contract mode, like formrig's, and packaging/README.md says nothing here reads it.
docs/STYLE_ENGINE_BUILD.md covers the release build, the prebuilt platforms, where an install looks for a wheel, building from source and the regression gate.
The sidebar head carries the app icon and name, a top bar names the current view with Add on the trailing side, and the list and details sit on one sheet over the ground.
The year column is wide enough for its header, the error line floats over the list foot instead of reserving a blank row, and the header and rows use the family table look.
The details pane grows with the window up to 420 pixels, a creator row sits on one line on wide windows, and the title is a larger field.
One entry for the prebuilt-first style install, the regression-gated wheel in the freeze and the CI style job.
License, color, gray, behavior and catalog, as the owner spells them; no file name or stored value changed.
Below 1250 pixels the type column folds away and the creator column narrows so titles stay readable.
The Appearance section now reads Theme for its System, Light and Dark choice.
The log records the pre-paint theme, the token aliases, the kept row height and the checks.
The Add button in the top bar uses the accent fill as the family's primary action.
The body class it used is no longer set now that the window follows data-theme.
Both pages still gave the old wording; the style engine page now links the build page.
Centered head with badges and links, a features table, download, run from source, repository, maintainers and license sections. Says what is and is not built.
Rows for form.md, FormLedger, formcompiler and formslot, each with its license.
Moves every version site to 0.11.0 and adds the changelog section.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 27, 2026 23:09
@nodemode-ai
nodemode-ai merged commit aacddb1 into main Nov 27, 2026
7 checks passed
@nodemode-ai
nodemode-ai deleted the feat/contract-and-prebuilt-0.11.0 branch November 27, 2026 23:16
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