Commit Graph
2440 Commits
Author SHA1 Message Date
Dylan M. TaylorandClaude Opus 5.5 7714f32234 ui: production's type scale and surface rounding through the app's sizes.json; the title bar shows the title and production's item order
DeckCraft's sizes.json sets body, strong body and control labels to 13 px, captions to 11 px and headings to 18 px, as
production's theme did, and popups and the ribbon card to production's 8 px rounding. The title bar under the OS frame
still centres the document title, and its end reads theme, comments, Present, search.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 07:15:06 +00:00
Dylan M. Taylor 929f445453 Merge branch 'port/deckcraft/look/collection-scroll' into port/deckcraft/area/app 2026-11-28 06:26:39 +00:00
Dylan M. TaylorandClaude Opus 5.5 320d98f8f3 symbol dialog: the framework IconPicker with its natural height
The Symbol dialog shows its picker in a dialog body that scrolls, so the picker takes its
natural height (IconPicker::natural_height, fw a787c30e9) instead of a hand-built TileGrid
standing in for the framework control. no_collection_shares_a_scrolling_body passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 06:26:39 +00:00
Dylan M. TaylorandClaude Opus 5.5 f923daba0f ui: collections in scrolling menu and dialog bodies take their natural height
The framework asserts that a collection inside a body scrolling along its
rows takes its natural height or caps its rows (16.3); four did neither
and stopped the pass when their menu or dialog opened:

- Home > New Slide / Layout: the "Slide layouts" gallery;
- Shape Format > Shape Styles: the "Quick Styles" gallery;
- Design > Background Styles: the "Background Styles" gallery;
- Insert > Symbol: the dialog's IconPicker.

Production drew each as a plain grid with no scroll area of its own,
letting the menu or dialog hold all of it, so each takes the natural
height. IconPicker offers neither natural height nor a row cap, so the
Symbol palette is now a grouped TileGrid with the natural height.

collection_scroll_tests opens every ribbon menu (standard and contextual
tabs), every dialog, every task pane and every File page and draws each,
so a collection put back into a scrolling body fails a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 06:03:29 +00:00
Dylan M. Taylor 35118c919c Merge branch 'port/deckcraft/look/screenshot' into port/deckcraft/area/app 2026-11-28 03:33:47 +00:00
Dylan M. TaylorandClaude Opus 5.5 6c329b6c72 control: an idle window keeps painting while a screenshot waits to be issued
The capture queue issues a request only after a few settled UI passes, but the control
server wakes one frame per request, so on an idle window a ui.screenshot was admitted,
got one pass and then waited until the transport's 60 s deadline. issue_captures now
requests a repaint while any capture is unissued (Captures::any_unissued documents that
the app keeps repainting while any is). Test: control::tests::a_screenshot_keeps_an_idle_window_painting_until_it_is_issued.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:33:47 +00:00
Dylan M. TaylorandClaude Opus 5.5 bd1a419636 ime_tests: the About route reads the hosted About's key, help.about
The port's About is the framework's HostedAbout (ui-patterns form_dialogs/about.rs), which
the request id "about" opens under the key help.about. The route still checks that an open
modal makes the canvas editor ineligible for IME.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 01:52:02 +00:00
Dylan M. TaylorandClaude Opus 5.5 c37c64d0b6 cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:46:13 +00:00
Dylan M. Taylor 60b6c6e1f6 Merge branch 'port/deckcraft/red/app-r7-4' into port/deckcraft/area/app 2026-11-28 00:45:34 +00:00
Dylan M. Taylor bf72727a2e Merge branch 'port/deckcraft/red/app-r7-3' into port/deckcraft/area/app 2026-11-28 00:45:34 +00:00
Dylan M. Taylor 2fcc19bef2 Merge branch 'port/deckcraft/red/app-r7-2' into port/deckcraft/area/app 2026-11-28 00:45:34 +00:00
Dylan M. Taylor 0e152c076e Merge branch 'port/deckcraft/red/app-r7-1' into port/deckcraft/area/app 2026-11-28 00:45:34 +00:00
Dylan M. TaylorandClaude Opus 5.5 8d8cfc4d2a Ribbon scroll case: the arrow click is injected ahead of the canvas click
The window holds real input until the injected batch has run, so the arrow's
press now goes into the same batch as the canvas click, followed by a pointer
rest on the arrow. The rest holds the queue until the row has scrolled, so the
canvas click is still queued when the target changes and is withdrawn, as in
the other target-change cases. A click whose first step has already run is
delivered whole.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:44:54 +00:00
Dylan M. TaylorandClaude Opus 5.5 1d710d3697 Picture Format Color menu keeps Recolor in rows, so the menu fits the window
The Recolor grid laid each preset out as a full-width tile in one column,
which pushed Set Transparent Color thousands of pixels below the screen;
the grid now lays its tiles out in seven columns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:40:06 +00:00
Dylan M. TaylorandClaude Opus 5.5 6ed8efc56a Format pane colour rows open their colour menu on a click of the opener
The popover hung from the opener with the manual trigger, so a click on a
kept-binding colour row never opened it; it now opens on a click as every
other kept popover does, under a salt of its own so it does not share the
row field's id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:40:04 +00:00
Dylan M. TaylorandClaude Opus 5.5 0811adbfa7 Presenter View takes unfocused keys; Select All in the thumbnails pane follows the board's target
The presenter window turns on ViewportWindow::takes_unfocused_keys, so G with nothing
focused toggles the Presenter View's own grid. The thumbnails pane selects every slide
when the board delivers Select All to it (the pane declares the command and holds the
focus), instead of comparing against the innermost pane instance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:34:12 +00:00
Dylan M. TaylorandClaude Opus 5.5 0f6e8546fa Slide text hands its Tab rule to the editor through the editor's Tab keys hook
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:21:56 +00:00
Dylan M. TaylorandClaude Opus 5.5 5ca353dfbc cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:01:59 +00:00
Dylan M. TaylorandClaude Opus 5.5 64903b70f4 model: chart zero labels keep the ? placeholders' digit-wide spaces
The accounting format's zero section "-"??\ "₽" prints a space per ? (ECMA-376
18.8.31), which craft-drawingml's formatter does since the craft-libs bump (its trial
russian_accounting_roubles). The old expectation dropped them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:01:45 +00:00
Dylan M. Taylor 14c8a80568 Merge branch 'port/deckcraft/red/app-r6-3' into port/deckcraft/area/app 2026-11-27 23:01:31 +00:00
Dylan M. Taylor 0fff2426be Merge branch 'port/deckcraft/red/app-r6-1' into port/deckcraft/area/app 2026-11-27 23:01:31 +00:00
Dylan M. TaylorandClaude Opus 5.5 477f1c62af The paragraph ruler takes its own presses; the canvas editor takes focus back after the File view; red tests read the port's own signals
Paragraph ruler: shown with the clip opened over the canvas's ruler strips, as the framework's
page rulers are, so a press on a marker reaches the ruler instead of falling through to the canvas
and ending the text edit.
Canvas text editor: a frame in which the canvas was not laid out (the File view replaces it) counts
as a pass without the editor, so it takes keyboard focus and the input method back on return.
Tests: the close prompt's Save and reason are found in its alert dialog; an unreadable file's reason
is looked for over the File view, where its notice shows; field frames are found through nested
shapes and round combo boxes, per surface; the ribbon row's own scroll arrow, at a width where it
shows; the IME and ribbon scroll checks wait the frames the old owner's interrupt and the injected
batch take.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:58:06 +00:00
Dylan M. TaylorandClaude Opus 5.5 402fcc0981 slide text: Tab indents at a paragraph start, Ctrl word and paragraph keys, rich copy, as in production
The slide text host takes Tab and Shift+Tab where production does (list level at a paragraph start
or over a range, next cell in a table; Session::text_tab is the one rule for the editor and
Session::key), moves by PowerPoint's word stops and by paragraph on Ctrl+Up/Down, deletes words
with text.delete's smart spacing, and offers edit.copy's HTML on Copy and Cut. Ctrl+] and Ctrl+[
grow and shrink the font while text is edited. The notes test clicks the editor's first line,
since five paragraphs run past the pane's visible height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:42:52 +00:00
Dylan M. TaylorandClaude Opus 5.5 ee0a31a2bb cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:05:56 +00:00
Dylan M. Taylor 8af5b3eb8a Merge branch 'port/deckcraft/red/app-r5-2' into port/deckcraft/area/app 2026-11-27 21:05:50 +00:00
Dylan M. Taylor 7c32184df7 Merge branch 'port/deckcraft/red/app-r5-1' into port/deckcraft/area/app 2026-11-27 21:05:50 +00:00
Dylan M. TaylorandClaude Opus 5.5 53fbe3000c show: a Ctrl or Cmd wheel zoom takes over the armed zoom click, as in production
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:03:59 +00:00
Dylan M. TaylorandClaude Opus 5.5 481d531fe4 show: plain Enter runs Go to typed slide once, through the window's leftover Enter, also with the slide focused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:54:14 +00:00
Dylan M. TaylorandClaude Opus 5.5 766ce5c180 Bound chords run once: the window's raw key loop no longer replays them through the engine
The command catalogue fires bound chords and the canvas tool's key claims run the slide's own keys. The
keyboard loop also sent every unfocused key to Session::key, so Ctrl+W closed the presentation before
the unsaved-changes prompt could ask and Ctrl+V pasted twice. The loop now only keeps Tab on the slide.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:38:37 +00:00
Dylan M. TaylorandClaude Opus 5.5 ca67e4c774 Recent-file probe trial scripts its file in the host file service
The probe asks the installed file service, so the trial puts the present file there instead of on disk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:07:44 +00:00
Dylan M. TaylorandClaude Opus 5.5 3b3094e15f cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:42:36 +00:00
Dylan M. TaylorandClaude Opus 5.5 71486f44a4 app red round 4 merge: remove the DIAG prints the fixers left
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:42:31 +00:00
Dylan M. Taylor d7f7636917 Merge branch 'port/deckcraft/red/app-r4-3' into port/deckcraft/area/app 2026-11-27 19:42:13 +00:00
Dylan M. Taylor 27d6065c2a Merge branch 'port/deckcraft/red/app-r4-2' into port/deckcraft/area/app 2026-11-27 19:42:13 +00:00
Dylan M. Taylor bdc0bec7c0 Merge branch 'port/deckcraft/red/app-r4-1' into port/deckcraft/area/app 2026-11-27 19:42:13 +00:00
Dylan M. TaylorandClaude Opus 5.5 149ca6ec1b The animation preview clock reads the frame's time once, in its input pass; a JPEG export ignores the transparent-background option as production does; browser-save tests follow a request's suggested folder
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:41:29 +00:00
Dylan M. TaylorandClaude Opus 5.5 4261c10430 Show: the page and the presenter read the window's leftover Enter and Escape as their own commands; transition and prefetch trials read store keys and CPU pixels
Plain Enter and Escape are window intents, never keymap shortcuts, so the show's GoToTyped and Cancel
defaults never fired. The audience page takes the ones nothing else took, last in its pass; the
presenter body takes its window's Escape first. The transition trial enters slide 2 through the show
state and compares store keys and pictures (pages share texture ids); the prefetch trial compares the
shown frame's CPU source instead of draining egui's texture delta.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:41:09 +00:00
Dylan M. TaylorandClaude Opus 5.5 54e7dc9b58 Every ribbon tool toggle publishes its checked state; the canvas editor yields to the opening overlay; backstage, IME and field-frame tests drive the port's own signals; DIAG prints for the remaining red tests
Ribbon: the Draw and Draw Borders toggles state whether their tool is the current one, so an
unselected toggle reads unchecked instead of having no state.
Canvas text editor: blocked while a presentation is opening, so it takes focus back when the
overlay closes.
Tests: the close prompt is found as the typed UnsavedChangesDialog (it carries no command key);
host Save As lets a frame pass after the host open; Find and Replace opens through app.find; the
Japanese conversion waits for the IME to be on before composing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:26:17 +00:00
Dylan M. TaylorandClaude Opus 5.5 414f2a3909 WIP red-app-r4-2: edits before the fixer was stopped (its job scope was capped at 4 GB); not built
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:57:54 +00:00
Dylan M. TaylorandClaude Opus 5.5 58892b8380 WIP red-app-r4-3: edits before the fixer was stopped (its job scope was capped at 4 GB); not built
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:57:54 +00:00
Dylan M. TaylorandClaude Opus 5.5 836dc36bf1 WIP red-app-r4-1: edits before the fixer was stopped (its job scope was capped at 4 GB); not built
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:57:53 +00:00
Dylan M. TaylorandClaude Opus 5.5 1eb1f03857 text_host: drop the shown marker with IdTypeMap::remove (remove_temp needs Default)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:37:53 +00:00
Dylan M. TaylorandClaude Opus 5.5 f040c8821a app red round 3 merge: the presenter popup installs the app's one font stack (crate::app::ui_fonts); remove the conflict markers committed by mistake
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:36:55 +00:00
Dylan M. Taylor 38cf66f1f1 Merge branch 'port/deckcraft/red/app-r3-4' into port/deckcraft/area/app
# Conflicts:
#	crates/ui-egui/src/canvas/text_host.rs
#	crates/ui-egui/src/presenter.rs
2026-11-27 18:36:45 +00:00
Dylan M. Taylor 8b4d8b797b Merge branch 'port/deckcraft/red/app-r3-3' into port/deckcraft/area/app
# Conflicts:
#	crates/ui-egui/src/canvas/text_host.rs
2026-11-27 18:36:27 +00:00
Dylan M. Taylor 0cb3a2e2fd Merge branch 'port/deckcraft/red/app-r3-2' into port/deckcraft/area/app 2026-11-27 18:36:07 +00:00
Dylan M. Taylor a23d193c4a Merge branch 'port/deckcraft/red/app-r3-1' into port/deckcraft/area/app 2026-11-27 18:36:07 +00:00
Dylan M. TaylorandClaude Opus 5.5 82479720ec The slide text editor takes the keyboard when an edit session starts; Alt+digit quick access runs through the canvas tool's key claims; the File view ignores text.* keys; drop the key-route DIAG prints
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:35:38 +00:00
Dylan M. TaylorandClaude Opus 5.5 0ae21b3839 Group and Rotate arrows follow their entries; the eyedropper ignores the press that armed it; the presenter popup uses the app's font stack (Hack carries the arrows); units tests name the unit label and the origin option by role
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:35:33 +00:00
Dylan M. TaylorandClaude Opus 5.5 032eab33c4 The slide text editor takes focus when it opens; a clicked ribbon tab shows; outline body field is queried by its multi-line role; pattern colour opener is hovered before it is pressed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:33:10 +00:00