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

10 commits

Author SHA1 Message Date
Brenno de Winter
382945e99b 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
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>
2026-06-09 23:35:24 +02:00
Brenno de Winter
167e8aee75 Enlarge list text on dense two-column slides
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>
2026-06-09 23:12:20 +02:00
Brenno de Winter
167cc63c49 Free up vertical space so bullet text grows larger
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>
2026-06-09 22:57:40 +02:00
Brenno de Winter
4ab1fa5f44 Measure checklist/numbered bullets as rendered when auto-fitting
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>
2026-06-09 22:51:37 +02:00
Brenno de Winter
030b16b4bb Test that clear-all-checklists is a single undoable step
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 20:36:16 +02:00
Brenno de Winter
9fe5771d44 Reflect clear-all-checklists in the open slide editor
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>
2026-06-09 20:34:55 +02:00
Brenno de Winter
3ca94771b9 Balance checklist progress chart against the bullet column
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>
2026-06-09 15:57:50 +02:00
Brenno de Winter
0bc3f62ede Add clear-all-checklists action and enlarge progress chart
- 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>
2026-06-09 15:43:46 +02:00
Brenno de Winter
2fd5054603 Improve presentation editing and playback 2026-06-09 13:28:23 +02:00
Brenno de Winter
196cd8adb1 Scale two bullet columns independently
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>
2026-06-08 22:30:46 +02:00