Skip to content

FormFabric 0.30.0: AMOLED Black, a true-black theme for OLED screens - #14

Merged
nodemode-ai merged 2 commits into
mainfrom
feat/finish-0.30.0
Nov 21, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
feat/finish-0.30.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

FormFabric 0.30.0: AMOLED Black, a true-black theme for OLED screens

This pull request carries 0.30.0: 2 commits on main at 0.29.1, which is merged, the release commit last. The section on 0.29.1 further down is kept for reference only. Please merge this with a merge commit, not a squash and not a rebase.

What a person gets

  • A new theme, AMOLED Black, in Preferences, Interface, Theme (and in the Dark theme list). The window, Home and its pictures' frames, the title bar, panels, the Pattern View and 3D View with their grids, Preferences and the agent panel are #000000; panels are told apart by their borders (#262626, #3a3a3a); inputs and fields keep a #141414 fill. Text is #ededed, #a6a6a6 and #858585: 17.9, 8.6 and 5.7 to 1 on black (15.7, 7.6 and 5.0 on the #141414 fields). The accent stays the user's own. The theme's name is in all 27 full language tables (es-MX and fr-CA take es and fr); no speaker has read them.
  • A start with AMOLED Black saved is black from the first frame: the pre-paint script knows the theme and sets data-oled before anything paints.

Commits

Commit Subject
c6a5856 feat(theme): AMOLED Black, a true-black theme for OLED screens
a98579f chore(release): 0.30.0, AMOLED Black, a true-black theme for OLED screens
122b7eb fix(window): live events are asked for only after the window holds its key (0.29.1)
97b7b20 chore(release): 0.29.1, the window asks for live events only once it holds its key

How it was checked

  • Built as /home/claude/form/work/AMOLED_SPEC.md says, with FormTxt as the reference and FormVis's profile row and surface rules: theme id amoled, oled flag, data-oled set by applyTheme and by the pre-paint script (OLED table, PROFILES row), html[data-oled] body black in the critical style, and under data-oled: hover 10% and soft border 12% white, --surface-1 black (it was #090909 in the title bar, Home picture frames and title bar buttons), --line-0 the border colour, the Preferences groups black with a 1 px inset ring (a shadow, so no box changes size), the Home hero without its accent glow. The shared dock/ files are unchanged; the agent panel is black through styles/dock-tokens.css.
  • The built window against the real engine (stand-in agent programs first on PATH), headless Chrome at 1440 by 900, 4x CPU throttle, 150 ms and 200 kB/s, cache off, AMOLED Black saved and the agent panel open: cold load (from a black page; 10 frames after navigation, ready in 7.5 s) and hard reload (10 frames): 280 sample points, the corners and centre of the viewport and of 55 large surfaces, 0 frames with any colour other than #000000 or the settled value. With a blank garment open and in Preferences: no large element with a fill other than black, transparent or the 60% scrim. Screenshots of Home, Home with a hover, the workspace and Preferences in AMOLED Black were looked at: black surfaces, borders, hover and fields visible.
  • Live switch from the Preferences swatches, AMOLED Black to Studio Dark and back, garment and agent panel open, under 4x throttle: 5078 elements before, between and after, 0 elements whose box moved, data-oled on, off, on. The terminal in the agent panel (xterm, shared dock/) rewrites the text of 4 of its style elements and replaces one row span at each switch, which it does for any theme change; nothing else changes (0 changes in 5 s idle before the switch).
  • The engine module built here for 0.30.0 from these native sources (maturin build --release, cargo lane K1, 23 min on a loaded machine; its Cargo.toml and Cargo.lock byte-identical to the release tree's) and installed. On the release tree: backend tests 53 passed, 0 failed; --selfcheck exit 0 (engine built, 0.30.0, 255 commands); ./formfabric agents sync --check and ./formfabric agents check exit 0; version check one version, 0.30.0, across 10 sites and the changelog; language tables 350 of 350 in every table; npm ci --dry-run, npm ci, npm run build (type check and build) exit 0; npm audit 0 vulnerabilities; bash -n on 21 scripts and Python byte-compile: 0 failures; no em dash, emoji or comment line added. The window check (built page against the engine, no page error) ran on the AMOLED commit with the 0.30.0 engine module.

Not run

  • Nothing ran on Windows or macOS; the desktop shell was not compiled or started here (no system WebKit). Only version fields change under src-tauri (Cargo.toml, Cargo.lock, tauri.conf.json).
  • A real OLED screen, Safari and Firefox; the template pictures on Home draw nothing in headless Chrome here, so their insides were not looked at (their frames were).
  • The engine and desktop-shell CI jobs; the real Claude Code, Codex, Cursor and Antigravity (stand-ins only).

For reference, already merged: 0.29.1

FormFabric 0.29.1: the window asks for live events only once it holds its key

This pull request carries 0.29.1: 2 commits on main (0.29.0, merged), the release commit last. Please merge it with a merge commit, not a squash and not a rebase.

What a person gets

  • At each start the window asked the engine for its live events a moment before it held its key, was refused once and asked again 1.5 seconds later. It now waits for its key first, so a normal start shows no refused request and live events reach the window from the first try. A page without the key is still refused.

Commits

Commit Subject
122b7eb fix(window): live events are asked for only after the window holds its key
97b7b20 chore(release): 0.29.1, the window asks for live events only once it holds its key

How it was checked

  • The cause: workspace/offline.ts and workspace/viz/api.ts subscribe to the engine's link state when their modules load, before main.ts claims the window key, so engine/events.ts opened GET /api/events with no key. The page's network record on 0.29.0: the events request first, 403, then POST /api/window/key. The window key module now exposes a promise that settles when the claim has finished, and the events stream opens after it.
  • The real engine here (formfabric_engine.py, stand-in agent programs and shell first on PATH), the built window in headless Chromium, 10 starts in a row at normal speed and 10 under 4x CPU throttling, a fresh engine and data folder each start: 0 refused requests on the events route in the page's network record and in the engine's access log, in 20 of 20 starts (0.29.0 in the same harness: 1 per start in each of 4 trial starts, 2 normal and 2 throttled). A page without the key, asking the events route of the same engine: 403 in 20 of 20.
  • The 14 pixels on the dark Home: the same screenshot taken three times on one commit, a fresh engine each time: the first and third are identical and the second differs from both by 11 pixels, in the same strip at the top edge of the template pictures, each by one colour level, and 7 of them are the very pixels of the 0.28.0 against 0.29.0 difference. It is run-to-run rendering noise in the pictures' edges, not a change of 0.29.0; nothing was changed for it.
  • setup/freeze_backend.bat read token by token against setup/freeze_backend: the PyInstaller line expands to the same 40 tokens as the POSIX line on Windows (only their order differs, which PyInstaller does not care about); CRLF on all 27 lines, no tab, no double space, no glued token. Nothing to change.
  • The engine module was built here for 0.29.1 from these native sources (maturin build --release, 7 min 42 s) and installed; on the release tree: backend tests 53 passed, 0 failed; --selfcheck exit 0 (engine built, 0.29.1, 255 commands); ./formfabric agents sync --check and ./formfabric agents check exit 0; version check one version, 0.29.1, across 10 sites and the changelog.
  • On 122b7eb and on the release edits before the module was built: language tables 350 of 350 in every table; npm ci --dry-run, npm ci, the window build with its type check exit 0; npm audit 0 vulnerabilities; the built window against the engine: no page error, only the two known 404s (src/styles/dock.css, engine/ffb_wasm.wasm, both as in 0.28.0 and 0.29.0) and no refused events request; bash -n on 23 scripts, Python byte-compile: 0 failures; no em dash, emoji or comment line added.

Not run

  • The window build, npm audit and the window check were not repeated on the release commit itself; they ran on the same tree, with the same version edits, before the module was built.
  • Nothing ran on Windows or macOS; the desktop shell was not compiled or started here (no system WebKit). This release changes only version fields under src-tauri (Cargo.toml, Cargo.lock, tauri.conf.json).
  • The engine CI job (clippy, browser engine) and the desktop-shell job were not run; no engine source changed.
  • The real Claude Code, Codex, Cursor and Antigravity were not run (stand-ins only).

AMOLED Black (id amoled) sets the window, panels, Home, the Pattern and 3D views and the agent panel to #000000 and tells panels apart by their borders (#262626 and #3a3a3a). Inputs and fields keep #141414. Text is #ededed, #a6a6a6 and #858585: 17.9, 8.6 and 5.7 to 1 on black. The accent is the user's own.

The profile is in both tables: THEMES in frontend/src/ui/themes.ts and the pre-paint PROFILES in frontend/index.html, with an OLED table, so data-oled is on html from the first frame. Rules on data-oled: the hover tint and soft border (10% and 12% white), --surface-1 and --line-0 (FormVis's), the Preferences groups and the Home hero. Its name is in the 27 full language tables.

Checked in headless Chrome at 1440 by 900, 4x CPU, slow network, cache off: cold load and hard reload black on every frame after navigation; a live switch to Studio Dark and back adds no element and moves no box. The frontend HASHOUT log has the entries.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 21, 2026 04:47
@nodemode-ai
nodemode-ai merged commit d9c3bbb into main Nov 21, 2026
6 checks passed
@nodemode-ai
nodemode-ai deleted the feat/finish-0.30.0 branch November 29, 2026 06:07
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