mirror of
https://github.com/storytold/designcraft.git
synced 2026-12-03 04:26:32 -05:00
* Review fixes: Preview stands in the style dialogs' footer, level with the buttons
* Dock: the panel menu button shows the menu icon again, a default workspace floats its panels at their own sizes, and a test that a low icon's flyout opens with its room inside the window
* Dialogs: Find/Change format boxes, Find Font list, Text Frame Options Preview in the footer with column and inset grids, Footnote Options shared label column, framed list wells for Table of Contents and Cross-Reference
* Panels: Character captions fit their cells, Separations modes show the chosen one, Tags actions keep their frames, Scripts rows and panel bottoms get room
* Restore Document Setup, Print, EPUB and Export Layouts layout details in the ported dialogs
* Visual review: Preferences as a navigation list beside a wider pane with grouped sections; Links columns sized from their content with compact status chips and row bands; Preflight messages wrapped in full with the page line under them
* New Object Style: the pages are a selectable list with each attribute group's include box in its row, and Style Settings fills the right side under its heading again
* Visual review round: dialog section lists are navigation lists beside a full-height divider, Text Frame Options gets Preview and its two-column grids back, New Document's inset fills its column, and the numbering, import, package, colour settings and interactive panels follow their native layouts
The dialog host also takes button placement and stay-open action buttons (Form::button_place, Form::actions) for the Color Picker.
* Dock: tab titles end with an ellipsis and overflow, floating panels stay above the docked flyouts, and flyouts are as tall as their panels; the Color Picker leaves its channels' decimals to the picker
* Pin framework-next with the dock tab, flyout and picker fixes and the shortcuts layout
* Color Picker: OK, Cancel and Add CMYK Swatch stand in the picker's button column at the top right, Add CMYK Swatch keeping the dialog open
* Pin framework-next with slider field decimals
* Red round 3: the Optical Margin size probe reads the inline field's unit, and the family-list probe measures the list box's bottom
* Colour picker CMYK probe: the fixture names its model
* Remove the temporary task bar debug print
* Document section: Facing Pages has the row's width for its label, and its probe finds the label by name or value beside the box
* Swatches rename probes: the swatch in front is the pick from the first frame, so one click opens its editor
* Swatches: a row shown as current only is no pick for slow-click rename
* Red round 3: the Text Frame controls are found by role (not the inline field captions), the Preferences panes keep within a small window's height
* Round 3: the search reports Escape, a double click closes the menu it opened, probes follow the look
* Red round 3: version lines run their grid body in every run, the Find Font probe reads list items, the canvas texture check names the canvas rect, and New Document's small-window layout keeps the footer to its buttons
* Dock test: a low icon's flyout, as tall as its panel's content, lies inside the window with its last control, now that flyouts are content-tall
* Tools panel: the rail at the dense 24 pt size of the old panel, its footer centred under the tools at the column's full width so the fill and stroke pair fits; a diagnostic message for the Hungarian flyout's shortcut
* Pin framework-next with the title band and dialog drag fixes; dialogs keep only their title strip inside the window while dragged
* Properties: the panel links keep the framework's link look
* Keep the framework's look where it is as good as main: the panel menu button's own icon, and the picker's fields in the app's number look
* Revert "Color Picker: OK, Cancel and Add CMYK Swatch stand in the picker's button column at the top right, Add CMYK Swatch keeping the dialog open"
This reverts commit f7f64ca001.
* Pin framework-next with the keycap shortcut chips
* Tests: probe compile fixes in the Document and Control panel tests
* Control panel test: the label lives as long as the node
* Canvas texture test renders once at the settled canvas before measuring; the New Document drag test checks the dialog goes at least as far aside as before with its title strip in the window; the fit checks report what lies outside the window
* Red round 4: the Preferences sidebar test reaches the last section with the list's arrow keys
* Chrome tests: diagnostics for the two open reds (menu rows left, the commands the preset pick ran)
* Fit report: the query predicate gets the AccessKit node
* fit_report: the query predicate reads the AccessKit node's label directly
* Line tool test: the rail's chords now come from the app's keymap as shown-only chords
* New Document's one column scrolls in the room the window leaves, so the footer stays in view; the fit report also names where the actions are
* Status bar: the preflight menu's open state is the app's; the type panel's preset pick is clicked like the other lists
* Repin the framework to framework-next fea488870 (next 9daf905a2, list rows' ScrollIntoView, faces' declared names, percent decimals as next has them); drop NumberField::exact_decimals, which next makes unneeded
* Status bar: back to the unbound menu; the chrome tests wait out the fade and activate the off-screen preset rows by accessibility
* Links: the selected link's path is measured and shown at the panel's width, so it wraps inside it; the test names what painted the path when it fails
* New Document's small-window tests reach the fields with the wheel over the one column
* New Document's scrolling column and details are each the one child of a stack that offers them the room, so they scroll in it; the wheel probe steps back when its target leaves the tree
* New Document's small-window test also reaches a field by Scroll Into View
* The New Document wheel probe wheels over the column's end edge, past the fields, and reports the target and pointer at each step
* New Document's small-window test also wheels the column with the pointer over a field
* Pin framework-next with the wheel passing through focused controls
* The New Document wheel probe aims at the Bleed and Slug heading row, not its section
* The New Document wheel probe goes on down the column while its target has no node yet
* The New Document probe finds the [Default] card by its accessible name, which carries the size after the name; the wheel trail records where the column stands
* Review round 2: the Story Editor opens at the lower left of the canvas, the Tabs panel floats tall enough for its ruler, the swatches proxy is a 30 point button of its own
* Visual review round 2: Cross-Reference lists taller and paragraph rows cut short, so the dialog keeps its width; the font field's dropdown arrow at the field's end
* Style panels: the current style's row is a tinted accent row, not an outlined pill
* Keyboard Shortcuts opens at 1130 points wide, as main's did
* Table panel: a caption stays beside its field when its row wraps
* Generic command forms: a layout parameter is picked from the document's layouts, and Alternate Layout Options follows the pick
* Color Picker test: hold the colour-settings lock, as the colour settings are one process-wide CMS that another test changes
* Ruby: a divider and a gap between the page list and its page
* Visual review round 2: Data Merge record moves as icon buttons so Last fits, Package summary counts on one line each with Colors and Inks shown, saturated cell-edge proxy lines, New Document count fields as wide as their column
* Effects dialog: the effects are a selectable list with each effect's on box in its row, and the measure fields take a short width
* Borders and Shading: one Offsets box holds the distances and the edges beside them
* Color Settings test: hold the colour-settings lock and restore the settings it changed, even on a panic, so tests reading inks see stable settings
* Visual review 2: step arrows on every dialog number and measure field, Options buttons as wide as their label, stroke type and corner shape samples across the select face, no step arrows on the named kerning value
* New Object Style: the list and the page side by side in a row, so the dialog keeps its natural width, and the Style Settings box at least 170 pt tall
* Stroke panel: the Cap, Join and Align segments at the small size so their labels fit, and Miter Limit shows its times unit
* Paragraph Rules pairs its fields in two columns; Justification's spacing is one Minimum, Desired and Maximum grid
* Quick Apply lists the file commands as the menu and keys run them (New Document, Open, Save, Save As, Place dialogs), so their rows show their keys and a pick opens the same dialog
* Dock: a panel shown from the Window menu or its icon comes to the front, its flyout above floating windows until one is pressed and its floating window raised; the panel menu's three-line mark apart from the tabs' overflow
* Pin framework-next on next 357f33254 with tab shrinking, palette width and the shortcuts fills
* App bar command search lists the file commands as the keys and the File menu run them, with those keys, as Quick Apply does
* Swatches and Table panels: clone values used in row bodies that run more than once
* Dock: a panel the user drags or drops becomes the last-picked panel, now that a tab press keeps key focus; the window-front test presses where the floating window is drawn
* Pin framework-next on next 6fcf61c81 with the divider fix and the grouped PR heads
* Keyboard Shortcuts opens at the framework's own Options::size: 1130 pt wide and 90% of the window's height, as before
* Pin framework-next without the shortcuts width option
* Patch egui to the fork rev craft-libs next uses (b15ffe9bf)
* Panel docking: window drops come grouped by the panel they landed on
* Canvas IME tests answer the composition reset as the platform integration does
* The handover IME test answers as egui-winit does: retired requests as retired, the published one as completed
* The handover IME test reports each step's IME output and keyboard owner when no reset is asked for
* The handover IME test no longer requires a reset; its commit check reports the steps, the reset asked and the field's text
* The handover IME test runs the click's frames one at a time, logs and answers each frame's IME output
* Pin framework-next on next a165ef3a2 with the refreshed PR heads
* Remove Design's selection blue override: lists use the framework's own selection look
* Pages cells: a chosen parent tile and the current layout header fill with the framework's selection colour, through the cell's style
* Object panels: caption columns measured as the framework caption text they show, so Bottom and the other captions are not cut
* Package summary counts keep their whole line: each line's least width is its own text
* Review round 3: table buttons in their on state show selected, Row Height on one line, the layout is a dropdown even with one layout, the sides' columns stand together
* Visual round 3: Cross-Reference lists in two fixed columns, task bar gaps trimmed, Character panel in one column when two would squeeze the Leading value, search glyph in the font field
* Keyboard Shortcuts: the keyboard pane keeps at least 250 points of height so its keys and their names stay readable
* Task bar controls at the small control size
* Stroke panel: the segments measure and paint at the small size in a scoped size, so every label shows whole, and captions are measured as the framework text paints them
* Keyboard Shortcuts: the opening size is set once, in the frame that first draws the dialog, not every frame
* Dock: the Pages panel's own menu button at the small size so its tab row keeps Layers, and icon groups part with a thin rule so the right dock's icons fit the window
* Merge wave2/object-style (round 3), pin framework-next with the palette fill
* Stroke panel: the segments take the row's own small size, now that the framework paints a composite's faces at its own size
* Pin framework-next with composites painting at their own size
* Follow the framework review round: tool and Quick Apply chords through CommandDef's app dispatch, the dock without the tab shrink and flyout layer options, New Document's strong preset names through PresetCardLook and its cards sized by the grid's zoom
* Pin framework-next with the review-round heads
* Pin the shared craft-libs integration branch ui-port-integration (40a381b1e)
* Keyboard Shortcuts: the keyboard pane's height now follows its width in the framework
* Package refusal test: the fresh Enter goes from a single-line field, since a footer press now keeps focus in the Instructions field
* Dock test: let the closed flyout's exit fade end before the Window menu opens it again, so the reopen is a first show
* Pin craft-libs ui-port-integration b9664e62c from GitHub (UI554)
* Pin craft-libs ui-port-integration 7036b630a
* Pages menu: Numbering & Section Options acts on the page right-clicked, which comes into view first (CodeRabbit, PR 3248)
* New Cross-Reference: OK refuses a destination of the other kind than Link To shows
* New Window's canvas is its own window's key target; a layout picked by name reaches the layout commands as that name, even one that reads as a number
* Review fixes: the Links choice belongs to its document and list; the Arabic Links fixture takes the pinned craft-fonts Arabic face first; a Text Wrap panel offset edit changes only that side and keeps each object's mode
* Keyboard Shortcuts dialog on every target: craft-menu is a dependency of the browser build too, and the dialog's file operations use the browser's paths
* Dock: a saved float-only entry joins the layout before a command's actions, so Dock Panel closes it for good, and a workspace switch ends the drag it replaced
* Second window: the embedded class is EmbeddedWindow; the web build has no Quick Apply catalog
* Updates: the managed-copy and web messages are framework dialogs
* Updates dialog: clone the message in a body that runs more than once
* cargo fmt
* Test modules: a plain #[cfg(test)] gate, so clippy's in-test allowances apply
* clippy: apply the automatic fixes and egui 0.37's renames (Id::unique, scope_id, clamped_offset)
* clippy: fix the remaining warnings
Unused imports, needless `mut`, the stray doc comment, `x - 1 >= y`, the
`match` used as an equality, the range loop over CELLS, and the deprecated
`ImeEvent::Enabled`/`Disabled` (a non-empty preedit opens a composition, an
empty one dismisses it).
Dead code: the native tab ruler, the modal-drag module, the Drawer/`ListUi`
leftovers and the picker helpers are removed; the handful that only a test
uses are gated with #[cfg(test)] instead (icon_field, preview_row, footer,
is_app_owned, framework_transform::install).
Seven-argument functions group their related arguments: TableChoice,
FaceQuery and NumberSpec. `CharFields` gains the visibility of the sections
that take it; `ListUi::new_parts` becomes `list_parts`. A refused
`AppCatalog` is reported as `None` rather than built with `expect`, and the
canvas's per-pass key handling moves into `canvas_events`.
* cargo fmt
* clippy: test-only imports and constants, and two small fixes
* clippy: gate the remaining test-only imports
* Test modules: #[cfg(test)] directly above the module, where the engine's file guard looks
* clippy: the test code's remaining warnings
Never-used test helpers are gone: the old canvas successor fixtures (clipboard, native-GUI click
fixtures, drag/wheel/zoom builders and their types), the story editor's harness and text probe, a
dialogs fill reader, a Properties kerning reader, and test_window's without-runtime openers.
Test modules: the \`unreachable!()\` arms in the case matches name the case with a panic instead
(printed in tests, where panics are allowed); redundant \`Node::clone\` calls are dropped now that
the node is Copy; \`Iterator::last\` on a double-ended query becomes \`next_back\`; the
\`filter_map\` with \`bool::then\` becomes \`filter\` then \`map\`; two needless borrows go; and the
collapsible \`if\` in test_window is one let chain.
Cognitive complexity, by splitting the long journeys into named steps with the same statements and
assertions: object_control's auto-fit journey (the handle resize), the object style create/apply/
rename journey (navigation, the two commands, the undos, the rename), styles' text-style journey
(created, applied, undone), and section_options' numbering drafts (idle/disabled passes, the
chapter-source cancels, the popup recovery and drafts, both refusals, accept/undo/redo, and the
cancels' return).
One \`#[allow(clippy::disallowed_types)]\` remains, on the control witness test that deliberately
renders the real \`egui::ComboBox\` to observe its node: the ban is about app UI, not this probe.
* tests: delete the pre-port tests whose framework successors exist
17 Properties tests and 8 canvas tests whose same-named successor in the module's successor_tests.rs runs the same steps and checks are gone, with the helpers, constants and imports only they used. TEST-SUCCESSORS.md records each successor.
* clippy: fix the test-code refactor's scope and type errors
* clippy: drop the duplicated test imports and name OpenFilter in full
* clippy: resize_by_handle returns the document mark its caller pushes
* clippy: collapse the doubled overlay path
* clippy: the last three test-code lints
* cargo fmt (CI's rustfmt)
* Links: Relink to Folder asks for the folder through one command path (main's relink_to_folder), which also clears dead code clippy flagged
* Shadow panel: the wider Distance and Size fields live in the framework module's scope
* Links and canvas: main's Relink to Folder in the browser, its file picker branch, and the link badges, ported and formatted
* menus: cargo fmt (CI's rustfmt)
* run.rs: one doc comment for toggle_tabs_panel after the merge
* Start screen, tools rail and tab strip: the page tiles are flat as main draws them, the rail gets its panel frame back, and the document strip paints its bar
* Start screen: the recent-file cards are flat tiles too, with their page preview painted (main's look, no control chrome)
* Merge storytold/main (#2890, #2858, #1564): the ported bodies win; #2858's control-bar test is recorded in TEST-SUCCESSORS as owed, its engine behaviour covered by main's own tests
* object_control.rs: cargo fmt
* Start screen: tile names are cut to their tile (a long name no longer runs into its neighbour); the document strip is the framework's own again (my hand-drawn band pushed the tabs below it)
* RTL port: the Document Setup payload path is proven by its own test; the binding toggles still do not commit (writer next)
* Document strip: the host paints the band behind the tabs again (the framework's TabStrip has no look of its own), a Frame fill and the bottom rule, with no layout shift
* dialogs: Document Setup's Binding test feeds the dialog its input, so its clicks reach the dialog
The test built its own harness with no framework runtime on the context and no pass input, so the modal's cover layer
answered every press: Binding, the Orientation segmented control and the footer's OK were all unclickable, and the
document kept the binding it opened with. Install the runtime on the context and run the app's pass hook before each
step, as table_layout_kit::steps and section_options::step do for the other dialog tests. The assertions are unchanged.
* RTL: cargo fmt on the three files the port touched
* RTL: cargo fmt on properties.rs (the re-export)
* Pin DesignCraft UI port to craft-libs main for compatibility checks
* Adapt DesignCraft update dialogs to the shared dialog host
* Restore working port SDK for private app-main validation
* Pin the DesignCraft UI port to landed craft-libs main
* Adapt DesignCraft update dialogs to the shared dialog host
* Validate the shared dock restore action in DesignCraft
* Query the shared tool flyout’s checkbox rows
* Pin the UI port to landed craft-libs and matching egui
* Reveal the virtualized preset before invoking its accessibility action
* Inspect replayed dock paint in the selected-tab contrast test
* Preserve Table, Document Setup and Paragraph Style RTL controls from main
* Restore save format, default Stroke and recent preview parity
* Use the resolved stroke for its swatch control
* Exercise recent and preset tiles with the keyboard
* Register recent and preset start tiles for keyboard activation
* Opt the start tile into framework content painting
* Report the traversed start-screen focus stops on failure
* Read diagnostic focus names from AccessKit
* Keep existing start tiles after verifying their keyboard activation
* Exercise typed field drafts across object selection changes
* Retire Transform and Opacity drafts when their target changes
* Exercise Story size edits across target changes
* Drive the visible Story number field in the regression test
* Require the Story ownership test to see the uncommitted draft
* Exercise tab ruler drag ownership across paragraphs
* Retire Tabs ruler drags when their paragraph or stop list changes
* Check RTL paragraph marks against the Story Editor side columns
* Check same-value Story owners and both Transform field paths
* Retire optical margin size drafts when the Story target changes
* Exercise drafts across default Stroke and rethreaded frames
* Bind Stroke and Story drafts to the actual edit owners
* Read custom Stroke styles from the active document
* Distinguish default and cell Stroke in the routing test
* Identify the Stroke form by its distinct controls
* Keep control and panel drafts on their edit targets
* Register start-screen tiles for framework keyboard navigation
* Read the mounted draft from its AccessKit node
---------
Co-authored-by: skylartaylor <[email protected]>