Model weeks always open: no fold, no expand setting (1.0.2) #10

Merged
claude merged 3 commits from oss-oo/no-model-fold into main 2026-10-27 12:55:43 +00:00
Member

Model weeks such as Fable no longer fold. The owner asked for the same KISS as the history graphs, which have been always open since 0.1.0.

  • applet.js: model weeks render like the account limit, with a plain heading (_addLimitHeading) and rows that are always visible. A lone model week without the account limit keeps its heading, and every heading carries _usageLimitId for the capture QA. Removed:
    • _addCollapsibleLimit and _defaultSectionExpanded;
    • the open/rebuild expansion state (_limitSections, limitStates);
    • the auto-scroll guard _suppressSectionAutoScroll and _ensureActorVisible, which only the disclosure used;
    • the Atk disclosure states and the collapsible branch of _addIconHeading.
  • Settings: expand-model-sections ("Keep model sections expanded") is gone from the schema, and the translations drop its two strings.
  • Tests: test-spark-disclosure.js becomes test-model-weeks.js. It covers plain headings, always-open rows, the heading of a lone model week and the muted rings of unused weeks. The schema and model-visibility suites now assert that the setting is gone.
  • Capture QA: the QA_MODEL_SPECIFIC_LIMITS=off check required history submenus that no build has created since 0.1.0, so it could never pass. It now counts model headings, and it passes in an isolated Cinnamon.
  • Docs: the README screenshots are recaptured in a private Xvfb, with the inventory, social preview and rights-inventory hashes refreshed. CHANGELOG and version are at 1.0.2.

Validation:

  • make verify is green (96 Python tests, all CJS suites), Prettier is clean, and CI run 2003 on 0debf80 succeeded.
  • 9 of 9 real mutants are caught, measured against passing baselines. They cover the fold removal, the heading shape, row visibility, the schema key and the ring muting.
  • The model-visibility QA passes in an isolated Cinnamon, and the README captures come from a private Xvfb.
  • Independent review: "ship it", no blockers.
    • Its one real finding, the QA check that could never pass since 0.1.0, was already fixed in 68ed2de.
    • The nits are fixed in 0debf80.
    • The dead _historySubmenus path, there since 0.1.0, is left for a follow-up.

🤖 Generated with Claude Code

Model weeks such as Fable no longer fold. The owner asked for the same KISS as the history graphs, which have been always open since 0.1.0. - **`applet.js`:** model weeks render like the account limit, with a plain heading (`_addLimitHeading`) and rows that are always visible. A lone model week without the account limit keeps its heading, and every heading carries `_usageLimitId` for the capture QA. Removed: - `_addCollapsibleLimit` and `_defaultSectionExpanded`; - the open/rebuild expansion state (`_limitSections`, `limitStates`); - the auto-scroll guard `_suppressSectionAutoScroll` and `_ensureActorVisible`, which only the disclosure used; - the `Atk` disclosure states and the `collapsible` branch of `_addIconHeading`. - **Settings:** `expand-model-sections` ("Keep model sections expanded") is gone from the schema, and the translations drop its two strings. - **Tests:** `test-spark-disclosure.js` becomes `test-model-weeks.js`. It covers plain headings, always-open rows, the heading of a lone model week and the muted rings of unused weeks. The schema and model-visibility suites now assert that the setting is gone. - **Capture QA:** the `QA_MODEL_SPECIFIC_LIMITS=off` check required history submenus that no build has created since 0.1.0, so it could never pass. It now counts model headings, and it passes in an isolated Cinnamon. - **Docs:** the README screenshots are recaptured in a private Xvfb, with the inventory, social preview and rights-inventory hashes refreshed. CHANGELOG and version are at 1.0.2. Validation: - `make verify` is green (96 Python tests, all CJS suites), Prettier is clean, and CI run 2003 on 0debf80 succeeded. - 9 of 9 real mutants are caught, measured against passing baselines. They cover the fold removal, the heading shape, row visibility, the schema key and the ring muting. - The model-visibility QA passes in an isolated Cinnamon, and the README captures come from a private Xvfb. - Independent review: "ship it", no blockers. - Its one real finding, the QA check that could never pass since 0.1.0, was already fixed in 68ed2de. - The nits are fixed in 0debf80. - The dead `_historySubmenus` path, there since 0.1.0, is left for a follow-up. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude agent added 2 commits 2026-10-27 12:41:52 +00:00
Model weeks such as Fable now render like the account limit: a plain
heading and always-visible rows. The disclosure (_addCollapsibleLimit, its
open/rebuild state, the Atk states and the auto-scroll guard) and the
"Keep model sections expanded" setting are gone. The disclosure suite
becomes test-model-weeks.js (plain headings, always-open rows, muted rings
of unused weeks); the capture QA counts model headings through a heading
marker instead of the removed section list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Recapture the README screenshots for 1.0.2; fix the model-visibility QA
Some checks failed
Checks / Functional checks (pull_request) Has been cancelled
68ed2de1c7
The six README captures come from a fresh private Xvfb run (the settings
window lost the expand switch), with the inventory, the social preview and
the rights-inventory hashes refreshed. The QA_MODEL_SPECIFIC_LIMITS=off
check required history submenus that no build has created since 0.1.0, so
it could never pass; it now counts model headings and passes in an
isolated Cinnamon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review nits for 1.0.2: heading and row coverage, stale fold wording
All checks were successful
Checks / Functional checks (pull_request) Successful in 33s
0debf80766
- test-model-weeks.js asserts that rebuilds keep model rows visible and
  drives the real _addIconHeading: no control (not reactive), spanning the
  row, tagged with its limit id.
- Comments and test messages no longer speak of collapsible limits or
  collapsed defaults; the divergence map lists "model weeks always open"
  so an upstream merge does not bring the fold back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent merged commit 71adf9111a into main 2026-10-27 12:55:43 +00:00
claude agent deleted branch oss-oo/no-model-fold 2026-10-27 12:55:43 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
OSS-Singularity/cinnamon-claude-usage!10
No description provided.