Skip to content

feat(window): the family's themes, a reshaped add dialog, a live dot and a new splash (0.12.0) - #11

Merged
nodemode-ai merged 21 commits into
mainfrom
feat/themes-polish-pairing-0.12.0
Nov 28, 2026
Merged

nodemode-ai merged 21 commits into
mainfrom
feat/themes-polish-pairing-0.12.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

feat(window): the family's themes, a reshaped add dialog, a live dot and a new splash (0.12.0)

Summary

  • Every theme from form.md and FormPortal is in Preferences: 15 dark and 6 light, beside System, Light and Dark. The theme is set before first paint, and a value saved by an older version moves to the matching new theme (the old light value that showed as dark opens as Light with Mist).
  • The Add dialog has the family's head, tabs, fixed body and foot. Escape closes it from anywhere and focus returns to the Add button.
  • A long title wraps in the details pane. Cause of the old fault: the title was a one-line input in a row of fixed height.
  • The sidebar head shows the engine's live dot and the version. The desktop shell opens a new splash page with FormCite's own icon, and the main window's native background follows light or dark.
  • Duplicates, Trash and Connections show their empty and error notes as the library does.
  • docs/CITE_SERVICE.md records a run of the cite service against a real engine with a person's approval clicked in Connections.

Commits

21 commits, oldest first, release commit last:

  • 7 feat (themes, theme grids, live dot, splash, wrapping title, add dialog, splash page in the shell)
  • 3 fix (review notes, connections empty lines, main window ground)
  • 2 refactor (one source for themes, sidebar head column)
  • 8 docs (cite service run, six log entries, notice credits)
  • 1 chore (release)

Version

v0.12.0 (release commit is last). Bumped: frontend/package.json, two fields in frontend/package-lock.json, frontend/src/version.ts, backend/app/__init__.py, src-tauri/Cargo.toml, the formcite entry in src-tauri/Cargo.lock, src-tauri/tauri.conf.json, native/formcite-style/Cargo.toml, its Cargo.lock entry and pyproject.toml, the "Current build version" line in the four HASHOUT_LOG.md files, the README badge, and a new CHANGELOG.md section.

Checks

  • npm run check in frontend/ and the import of app.main and app.cli passed at the release commit, and the import passed at each of the 21 commits.
  • The library exit run in Chrome at CPU 4x with a slowed network on the release commit: every step 0 layout shift, except "select a row" at 0.00202 with input (0 without). That is the title row taking its wrapped height.
  • By the slices: 0 shift for load in the Ocean theme and for all 21 theme switches; 0 for opening and closing the Add dialog; 0 for the live dot through an engine stop and start; 0 for opening Duplicates, Trash and Connections; 0 for approving a pairing.
  • Still above zero, by the slices: merging a duplicate set 0.151 and restoring from Trash 0.0087 when not counted as input; choosing an item with a much longer title 0.0156.
  • Cite service against a real engine: all six methods refused before approval, answered after it, refused again after access was removed.

Not run: the desktop shell was not compiled (the Rust was read against FormLedger's); nothing ran on macOS or Windows; first paint was checked for one named theme only; the Export tab of the Add dialog; form.ext's hello example (its fcite.call is not on form.ext's main).

Merging

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

The old profile route through ui/themes.ts is gone; main.ts hands the engine the saved System, Light or Dark mode and applies the saved dark and light theme.
Fourteen dark and five light themes from form.md, with AMOLED shared with formportal, now set FormCite tokens; the pre-paint boot sets them before first paint and moves values saved by older versions, including soft-light, onto the right mode.
The Duplicates and Trash note reserved an empty 24 px row under the bar. It now floats over the list, centered, and the row sizes come from the control tokens.
The three empty lines were boxed with a dashed border. They are now centered muted text like the library.
The sidebar head shows the engine's state as a dot and the version from version.ts, placed before the window is revealed; a state change writes only the dot's data-state.
Preferences now lists every dark and light theme as a swatch grid, as form.md does; picking one sets token attributes and flips aria-checked in place.
…ping

Records the end to end run of pairing, window approval, the six methods and revoke against a real engine with a stand-in client, and what FormCite answers for a route it does not have.
Notes what the real run showed about refusals, the write log and unknown routes.
Records the faults found, the fixes, the contrast numbers and the layout shift measured.
A new splash page in frontend/public/splash shows the app icon on the family card and takes its light or dark from the same saved choice and system setting the window's pre-paint reads.
The main window's native background now follows the system theme the splash sees, with the page's own pre-paint colors, so no dark frame shows under a light page.
Records which themes came from form.md and formportal, the second storage key and the migration of older stored names.
The title is a one-field textarea with the minimum height of the old input, sized by field-sizing with a script fallback, and Enter or Shift+Enter commits without a newline.
Notes on the sidebar head's live dot, the new splash page and the main window's ground, with what was measured and what was not compiled.
…ry trailing

The dialog is built once at final size in the overlay root, shown by visibility, takes focus on open, returns it on close, closes on Escape from anywhere and keeps Tab inside.
The splash window now loads splash/index.html, the family card with FormCite's own icon. Not compiled here.
…heet

The live dot's column is declared where the head's grid is, so side.css no longer overrides it by load order.
The real-run entry named two folders; it was one folder used by two runs.
Records the title textarea sizing, the Enter rule and the dialog frame with the checks that were run.
…hape

Rows for what came from form.md, FormPortal and FormLedger in this version.
Every version site moves to 0.12.0 and the changelog gets its section.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 28, 2026 00:03
@nodemode-ai
nodemode-ai merged commit bcab211 into main Nov 28, 2026
7 checks passed
@nodemode-ai
nodemode-ai deleted the feat/themes-polish-pairing-0.12.0 branch December 1, 2026 21:58
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