Skip to content

Commit 6c605be

Browse files
committed
Merge PR #649 from NikitkaRa: Show: See All Slides and zoom
# Conflicts: # crates/ui-egui/src/show.rs
2 parents d6d7e91 + dac0d05 commit 6c605be

7 files changed

Lines changed: 554 additions & 62 deletions

File tree

‎ROADMAP.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ app's JSON control channel (`deckcraft --control PORT`).
180180
| 2026-10-13 | Playback stays with its document and its clip (#415): switching decks or closing the last one stops the previous sound, replacing a clip plays the new one, and the duration and decode caches keep the bytes they are keyed by |
181181
| 2026-10-13 | Slide show: a laser pointer (Cmd/Ctrl+L, the show's laser colour, no ink). Checklist row Partial; weighted breadth stays 79%, P2 summary 39%, slide show area 68%. The presenter window does not move the dot |
182182
| 2026-10-14 | Slide Show: Show Media Controls writes the show setting and hides the playback bar and GIF button during the show |
183+
| 2026-10-14 | See All Slides and zoom during a show: a thumbnail grid (G, or All), click to jump, and click-to-zoom at 2× (Z). Presenter view has Black, White, All slides and Zoom. Breadth stays 79% |
183184
| 2026-10-13 | Slide transitions like PowerPoint: every transition and option measured frame by frame against PowerPoint's video export and retuned (curves, directions, soft edges, 3-D perspective, contents moving over backgrounds); PowerPoint's own XML elements and defaults read and written (diagonal Wipe, Zoom, Shape In/Out, Glitter Hexagons, Shred In/Out, Page Curl Single); `deckcraft-cli render-transition` renders frames headless |
184185
| 2026-10-13 | Wild text cases measured against PowerPoint (102 synthetic slides): bidi by run language, East Asian vertical text upright, mongolianVert/wordArtVert/wordArtVertRtl, underline styles and strikethrough at the font's metrics, centre/right/decimal tabs, East Asian, Thai, Hindi, Arabic and Hebrew numbering, small caps, all-caps "ß", transparent text, soft hyphens, kinsoku, rtlCol and just/dist anchoring, emoji presentation, fallback faces that no longer move the baseline |
185186
| 2026-10-13 | Render matches PowerPoint more closely on wild shape, picture and table cases: even-odd custom paths, dashes and caps, arrowheads, radial and path gradients, tile rects, rotWithShape, gradient lines, shadows cast by what is drawn (group and perspective too), group fill, picture borders, tiles, reflection, recolour (biLevel, alphaInv, brightness/contrast), table borders and grid default, 20+ preset shapes by their ECMA formulas, default miter joins, and approximate 3-D bevels, cameras and face lighting |
@@ -228,6 +229,7 @@ app's JSON control channel (`deckcraft --control PORT`).
228229
| 2026-10-13 | trivial | Progress log: media playback follows the open document and clip (#415) |
229230
| 2026-10-13 | trivial | Progress log: laser pointer. Headline P2 36% → 39% to match the checklist (the row moves P2 unweighted 38% → 39%; breadth stays 79%) |
230231
| 2026-10-14 | trivial | Progress log: Show Media Controls |
232+
| 2026-10-14 | trivial | Progress log: See All Slides and zoom during a show. Breadth stays 79% |
231233
| 2026-10-13 | trivial | Progress log: wild text cases |
232234
| 2026-10-13 | trivial | Progress log: slide show for interactive decks |
233235
| 2026-10-12 | trivial | Progress log: File tab (Backstage, #76) |

‎crates/ui-egui/src/control.rs‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,13 @@ pub fn inspect(app: &SlideApp, ctx: &egui::Context) -> Value {
7575
"dialog": app.dialog.as_ref().map(|d| d.id.clone()),
7676
"home": app.backstage_open(),
7777
"backstage": app.backstage.as_ref().map(|b| b.page.id()),
78-
"showing": app.show.as_ref().map(|s| json!({"slide": s.state.slide, "step": s.state.step, "ended": s.ended})),
78+
"showing": app.show.as_ref().map(|s| {
79+
let (n, aspect) = app.session.active().map(|d| {
80+
let h = d.doc.slide_size.height.max(1.0) as f32;
81+
(d.doc.slides.len(), d.doc.slide_size.width as f32 / h)
82+
}).unwrap_or((0, 16.0 / 9.0));
83+
s.showing_value(n, aspect, ctx.content_rect())
84+
}),
7985
"documents": app.session.documents().iter().map(|d| json!({"title": d.title(), "dirty": d.is_dirty(), "path": d.path})).collect::<Vec<_>>(),
8086
"status": app.status.as_ref().map(|s| s.0.clone()),
8187
"perf": {"frameMs": app.perf.frame_ms, "renderMs": app.perf.render_ms, "fps": app.perf.fps},

0 commit comments

Comments
 (0)