Skip to content

feat(window): one list of all themes, a title field setting, and rows that leave without a jump (0.13.0) - #12

Merged
nodemode-ai merged 15 commits into
mainfrom
feat/title-setting-theme-list-0.13.0
Nov 28, 2026
Merged

nodemode-ai merged 15 commits into
mainfrom
feat/title-setting-theme-list-0.13.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

feat(window): one list of all themes, a title field setting, and rows that leave without a jump (0.13.0)

Summary

  • Preferences offers themes both ways: the System, Light and Dark choice with the two grids, and one list of all 21 themes. Picking in the list sets the theme and switches the appearance to its kind. One stored value drives both.
  • A "Title field" setting under Details pane: "Fixed height" (the default, three lines, scrolls inside) or "Grow with the title". Cause of the old fault: the title box took the height of its text, so the fields below moved when another item was chosen.
  • Shift+Enter saves a title, as does Ctrl or Cmd+Enter. Enter alone does nothing in the title. The other one-line fields still save on Enter.
  • Connections words requests as "Asks to search, cite and add to your FormCite library" (and a read-only form), and no longer leaves a gap under its opening sentence.
  • A merged, restored or deleted row stays as a quiet line until the list is next loaded. Cause of the old fault: the list was drawn again on the click, so the rows below closed the gap at once.
  • The splash page reads the named theme where it can. Saving the appearance no longer drops other stored values.

Commits

15 commits, oldest first, release commit last:

  • 8 feat (theme list model, All themes list, stored title mode, title keys and fixed mode, title field select, themed splash, Connections wording, the setting mounted in Preferences)
  • 3 fix (shown theme row kept in view, rows that stay, floating error line)
  • 3 docs (three log entries)
  • 1 chore (release)

Version

v0.13.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 and the import of app.main and app.cli passed at the head; the import passed at each of the 15 commits.
  • The library exit run in Chrome at CPU 4x with a slowed network, on the branch before the release commit, with its title step pointed at the real title field: 0 layout shift on all 13 steps, with and without input, including "select a row" and "edit the title and leave the field"; the edited title showed in the list.
  • On the same build: the Title field select is in Preferences with "Fixed height" chosen, and the hint reads "Shift+Enter to save".
  • By the slices, same throttling: 0 shift for opening Preferences, five list picks, two grid picks, three mode switches and a hard reload into Ocean, Sand and AMOLED, with the element count unchanged across picks; 0 for six selections alternating a 300-character and a 5-character title in Fixed mode, by click and by script; one PATCH on Shift+Enter and none on Enter; merge and restore 0 by click and by script (0.151 and 0.0198 before).
  • Measured and left as designed: Grow mode shifts 0.03876 by click across the same six selections.

Not run: the desktop shell was not compiled; nothing ran on macOS or Windows; System mode with the system on dark; a real Cmd key; an error arriving in Connections; connected-app rows after a token is collected.

Merging

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

ui/themes.ts now lists every theme with its kind and tells which theme the window shows for a mode, following the system when the mode is System.
Preferences gains a flat list of the 21 themes beside the two grids, kept in step with them, a following-the-system note beside the mode, and a reserved Details pane slot.
…he title field mode

The appearance save now merges into the stored object, and a title field mode (fixed by default, or grow) lives in its own key with change listeners.
Shift or Ctrl or Cmd plus Enter saves the title, plain Enter does nothing, a muted hint sits in the title row, and the pane root carries data-title-field so the fixed mode keeps the box three lines tall.
mountDetailPrefs builds one labeled select into the details pane slot and writes the mode through the engine preferences.
The splash carries a small color table per theme id and paints its card in the saved dark or light theme, falling back to the system colors where storage cannot be read.
… swatch

The all themes list scrolls its chosen row into view after a grid, mode or system change, and the small swatch line fits its size.
Records how the flat list and the grids share one stored look, the reserved Details pane slot, and that the splash color table must follow themes.css.
Records the Shift+Enter save, the fixed and grow title modes, the merged appearance save and the measured layout shift.
Pairing and connected rows now read search and cite, or search, cite and add, for the FormCite library. The waiting row drops its long suffix so no row wraps.
A merged set, a restored item or a deleted item stays at its height with a muted line until the list loads again, so nothing below moves.
The 32 pixel reserved error row is gone, closing the gap under the intro; an error now overlays the bottom of the pane.
Records the wording, the placeholder rows, the floating error and the measured shifts.
Preferences mounts the Title field control into its reserved slot.
Every version site moves to 0.13.0 and the changelog gets its section.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 28, 2026 03:10
@nodemode-ai
nodemode-ai merged commit 4289103 into main Nov 28, 2026
0 of 7 checks passed
@nodemode-ai
nodemode-ai deleted the feat/title-setting-theme-list-0.13.0 branch November 28, 2026 03:22
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