Checklist clear-all actie, grotere voortgangsgrafiek en leesbaardere bullet auto-fit #4

Merged
brenno merged 10 commits from fix/two-bullets-independent-scaling into main 2026-06-09 21:38:10 +00:00
Owner

Samenvatting

Twee functies plus leesbaarheidsverbeteringen voor checklist-/bullet-slides:

Checkboxen legen

  • Nieuw menu-item "Alle checkboxen legen" (⋮-menu) dat na een bevestigingsdialoog (met telling) álle checklist-items in de hele presentatie uitvinkt — in één ongedaan-maken-stap.
  • Undo herstelt de vinkjes én ververst het editor-paneel (revision-bump).
  • Vertalingen toegevoegd in alle ondersteunde talen.

Voortgangsgrafiek

  • De progress-pie is nu responsief en groter, maar begrensd zodat hij de bullets niet domineert (balans ~50/50).

Auto-fit leesbaarheid

  • Auto-fit meet checklists/nummeringen nu zoals ze gerenderd worden (gestripte tekst + juiste marker) i.p.v. de ruwe [x]-string, zodat tekst tot de juiste grootte groeit.
  • Strakkere logo-veilige zone + iets kleinere verticale padding geven de tekst meer hoogte.
  • Dichte twee-koloms-slides (>12 items) krijgen compactere titel/kopjes/regelafstand zodat de items leesbaar blijven (bv. slide 5 met 19 items).

Visueel geverifieerd in de ISO27001-status-presentatie. flutter analyze schoon, alle 276 tests groen.

🤖 Generated with Claude Code

## Samenvatting Twee functies plus leesbaarheidsverbeteringen voor checklist-/bullet-slides: ### Checkboxen legen - Nieuw menu-item **"Alle checkboxen legen"** (⋮-menu) dat na een bevestigingsdialoog (met telling) álle checklist-items in de hele presentatie uitvinkt — in één ongedaan-maken-stap. - Undo herstelt de vinkjes én ververst het editor-paneel (revision-bump). - Vertalingen toegevoegd in alle ondersteunde talen. ### Voortgangsgrafiek - De progress-pie is nu responsief en groter, maar begrensd zodat hij de bullets niet domineert (balans ~50/50). ### Auto-fit leesbaarheid - Auto-fit meet checklists/nummeringen nu zoals ze gerenderd worden (gestripte tekst + juiste marker) i.p.v. de ruwe `[x]`-string, zodat tekst tot de juiste grootte groeit. - Strakkere logo-veilige zone + iets kleinere verticale padding geven de tekst meer hoogte. - Dichte twee-koloms-slides (>12 items) krijgen compactere titel/kopjes/regelafstand zodat de items leesbaar blijven (bv. slide 5 met 19 items). Visueel geverifieerd in de ISO27001-status-presentatie. `flutter analyze` schoon, alle 276 tests groen. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
brenno added 10 commits 2026-06-09 21:37:51 +00:00
A two-bullet-column slide sized both columns with the smaller of the two fit
scales, so a sparse column (e.g. 8 items) was shrunk to a crowded one's size
(e.g. 19 items), leaving the text tiny with empty space below it.

Each column now scales to fill its own height; the column headings keep a
shared size so the layout stays tidy.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Add "Alle checkboxen legen" item to the deck overflow menu that, after
  a confirmation dialog showing the count, unchecks every checklist item
  across the whole presentation in a single undoable step.
- Make the checklist progress pie responsive: it now scales to the column
  width it is given instead of a fixed, tiny size, so it fills the
  available space in all three bullet layouts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Cap the progress pie to a smaller, fixed slot and give the freed width to
the bullets. This keeps the visual split closer to 50/50 instead of letting
the chart dominate, and lets the text grow to use the full slide height so
it stays readable on checklists with many items.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The editor subtree is keyed on the deck revision and only re-reads its slide
when that revision changes. clearAllChecklists mutated the deck without
bumping the revision, so the currently selected slide's editor kept showing
its cached (still-checked) checkboxes even though the slide preview updated.

Add a bumpRevision flag to _mutate and use it for the deck-wide clear so the
editor remounts and reflects the cleared state.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The auto-fit measured the raw bullet string with a generic bullet marker,
but checklists render the stripped text behind a checkbox and numbered lists
render `N.`. Measuring the longer raw text over-counted the block height, so
the fit picked too small a scale and left the text smaller than the space
allowed. Thread the list style into the measurement so it matches what is
drawn, letting checklist/numbered text grow to use the available height.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Two reserved bands kept checklist/bullet slides from using the available
height, leaving the text small with an empty band below it:

- Tighten the logo safe-area reserve to match the split-layout reserve
  (logoSize + 24 instead of + 64); it still clears the logo.
- Use a slightly smaller top/bottom margin than the side margin in the
  single-column bullets layout.

Combined with the as-rendered measurement fix, short checklists now grow to
fill more of the slide height while margins stay tidy.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Two-column slides share one text size driven by the busier column, so a
19-item column rendered the items tiny while fixed-size title and headings
dominated the slide. For dense columns (>12 items) spend less height on the
title, column headings and inter-item gaps, and use a tighter top/bottom
margin, so the list items render larger and stay readable. Sparser slides
keep their original proportions.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add translations for the clear-all-checkboxes strings
Some checks failed
CI / Format · Analyze · Test (push) Has been cancelled
CI / Format · Analyze · Test (pull_request) Has been cancelled
382945e99b
Provide English fallbacks and translations in every supported language for
the new clear-all-checklists dialog, menu item and snackbars, satisfying the
localization completeness tests.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
brenno merged commit 815f5f2cee into main 2026-06-09 21:38:10 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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: LibreKAT/Ocideck#4
No description provided.