Commit Graph
8815 Commits
Author SHA1 Message Date
skylartaylor e6fe0f2d96 docs: regenerate contract-api.md 2026-11-25 06:29:24 +01:00
skylartaylor e98efe8c8c Merge origin/next into design-port/pr-docking-windows
Conflicts, resolved in next's shape keeping this branch's behaviour:
- body/window.rs: next binds the press start (for start.handed); kept the
  shown rect the keep rule may have moved, and took origin from start.
- docking/group.rs: next's always-panel strip and shown_tab(); kept
  panel_shrink(row.shrink).
- docking/mod.rs: export both FlyoutHeight and next's PanelDocument.
- iconic/trials.rs: imports of both (DockColumn, FlyoutHeight,
  IconGroupSeparator, CELL).
- tabs/tab.rs: next counts the close button in parts and holds it beside the
  first letters; kept the ellipsis least, which now takes the close button
  from parts instead of adding it separately.
- docs/ui-docking.md: PanelSpec row lists FlyoutHeight and next's fields.
2026-11-25 04:49:36 +01:00
skylartaylor 1b65f4b1dd ui-contract press winners: the move band key lives in the runtime; pane trials press their title on the band
The press-winner rule in runtime/pointer.rs named crate::contract::MOVE_BAND, a
layer the runtime may not import (design-lint layer/import). The key is now
defined in runtime::pointer and the body step's window module uses it from there.

The pane trials a_pane_offers_and_takes_only_its_dock_edges and
escape_during_a_pane_title_drag_cancels_it_and_reaches_nothing_else pressed the
floating pane's title row at a fixed offset from its corner. A pane's window sizes
to its content, and there the offset lies on one of the row's buttons; the band
used to take the drag from under the button, which the title band rule now stops.
The trials now press a point of the row clear of every button, so the title drag
still starts the window's dock drag from the band, as they meant.
2026-11-25 04:46:54 +01:00
skylartaylor 837bc646e0 docs: regenerate contract-api.md 2026-11-25 04:35:36 +01:00
bflatastic d1920c54e7 ui-contract: an edit command fired before the pass's UI (a system menu pick) reaches the focused component in that pass, and a text part's stop registers the edit keys its pass's edits left, so a menu Copy after a Select All is not disabled; a pick in the window's own menus or bars still reaches it in the next pass 2026-11-25 10:24:17 +07:00
bflatastic bf12e584a2 layers filter bar: ObjectsSearch, a root style value; under ObjectsSearch::Fill the Objects filter's search field fills the bar's row and the Filter button stands at its end edge. ObjectsSearch::Natural, the default, keeps the field at its own width, so no other app changes. LayerFilterBar story under Fill; trial 2026-11-25 10:24:16 +07:00
bflatastic e70ddf25cf ui-widgets list rows: ThumbRows, a root style value; under ThumbRows::Tight a thumbnail row pads its thumbnail by space.gap.tight with no floor of a standard control and the panel padding (at least the row's own height), and a tree level indents by a small icon and space.gap.tight. ThumbRows::Roomy, the default, keeps today's rows and indent, so no other app changes. ListRow story under Tight; trial 2026-11-25 10:24:16 +07:00
bflatastic 36522691ec ui-panels title row: QuietTitleRow, a root style value; under QuietTitleRow::Text a title of a quiet weight (Caption, Subheading, Quiet, Overline) stands a text row high (size.row.text), at least as tall as holding its text on the row's centre line needs, not a control high. QuietTitleRow::Control, the default, keeps every title row as today, so no other app changes. Section story under Text; trial 2026-11-25 10:24:16 +07:00
bflatastic 27d1e9c469 theme, ui-widgets buttons: size.button, a standard push button's height, read by the text-faced buttons (Button, SplitButton, ToggleButton) through StyleCx::button_height; a small button stays a small control high. Both size sets give it control.md's value, and an app that overrides size.control.md and not size.button has it follow, so no other app's buttons change (the token dumps gain only the size.button line, equal to control.md). Trial; dumps updated 2026-11-25 10:24:16 +07:00
bflatastic 29f9af1cbe ui-contract label: LinkLabelUnderline, a root style value; under LinkLabelUnderline::Inside a one-line link label draws its underline itself, on its text box's bottom edge or its rect's, whichever is higher, where egui strokes it on the box's bottom edge, which the rect's clip cuts away when the rect is no taller than the box. The label's rect is unchanged under both; LinkLabelUnderline::Edge, the default, draws as today, so no other app changes. Trial 2026-11-25 10:24:16 +07:00
bflatastic 7cb4ffd514 ui-contract, ui-panels panel: QuietHeader, a root style value; under QuietHeader::Heads a titled panel's quiet title (an inspector's kind line) heads its body as a rule would (HeaderRegion::heads, set by Panel::titled), so the first section under it draws no rule above it and sections after it keep theirs. QuietHeader::Ruled, the default, keeps today's rule above the first section, so no other app changes. Inspector story under Heads; trial 2026-11-25 10:24:16 +07:00
aiongg 8008f39976 Merge pull request #3418 from aiongg/test-speed-3
Gate speed, round 3: leg 1 leaves the audit crates to leg 2, leg 3 builds one crate, 21 slow tests sized for the gate
2026-11-24 21:51:05 -05:00
skylartaylor 17dcb3d0f6 Merge branch 'design-port/fw-title-band-controls' into design-port/pr-docking-windows 2026-11-25 03:10:22 +01:00
skylartaylor 1fa70b55c0 Merge branch 'design-port/fw-dialog-drag-aside' into design-port/pr-docking-windows 2026-11-25 03:10:11 +01:00
skylartaylor e010b91cb1 Merge branch 'design-port/fw-dock-flyout-height' into design-port/pr-docking-windows
# Conflicts:
#	crates/ui-panels/src/docking/iconic.rs
#	crates/ui-panels/src/docking/mod.rs
#	docs/ui-docking.md
2026-11-25 03:10:11 +01:00
skylartaylor b3c48ace45 Merge branch 'design-port/fw-dock-floats-above-flyouts' into design-port/pr-docking-windows
# Conflicts:
#	crates/ui-contract/src/runtime/overlay.rs
#	crates/ui-panels/src/docking/config.rs
2026-11-25 03:09:51 +01:00
skylartaylor 247045cc8e Merge branch 'design-port/fw-dock-tab-ellipsis' into design-port/pr-docking-windows
# Conflicts:
#	crates/ui-panels/src/docking/group.rs
#	crates/ui-widgets/src/tabs/tab.rs
2026-11-25 03:08:21 +01:00
aiongg 3a567445fe Merge remote-tracking branch 'upstream/next' into test-speed-3 2026-11-25 01:55:58 +00:00
aiongg f70d51039c Keep design-lint at the CI default opt-level: the 10 s it saves does not pay for a cold cache 2026-11-25 01:55:58 +00:00
aiongg a3f7652904 Merge pull request #3405 from aiongg/test-speed-2
Gate test time, round 2: sampled sweeps, shared suite fixtures, smaller inputs
2026-11-24 20:55:30 -05:00
Martin Ball 108e0e46a0 Merge pull request #3412 from storytold/ci/macos-windows-deps-cache-next
CI (next): macOS and Windows cache entries are named by the dependency settings alone, so next restores main's
2026-11-25 01:51:56 +00:00
aiongg 6e46ecce89 Merge branch 'test-speed-3-ui' into test-speed-3 2026-11-25 01:43:48 +00:00
aiongg ab687f0ee1 jbig2 symbol limits: the gate checks the coded-symbol cap at 300 through a seam, the full caps run nightly 2026-11-25 01:42:35 +00:00
aiongg d402a1d71b Gate-sized cases for slow non-UI tests; full sizes and every case nightly
Boundary tests set by a production constant check a small limit through a
private seam that takes it (b64 decode, drawingml table normalize, openpgp
verify), with the real constant nightly; captions and jbig2 check their
full-size boundaries nightly. Sweeps run every divisor-th case at the gate
(develop balanced highlights and thin line, jpeg low-memory tokens, png
streamed rows, mxf extreme fields, pdf crypt proptests), the fax bomb guard
page is wider and shorter, the resample bound pulls a shorter block, the nef
measured frames are read through probe_info, and local tone compares 64 and
256 pixels.
2026-11-25 01:32:48 +00:00
aiongg 75e3a0c33a Workspace gate: leg 1 leaves the audit crates to leg 2, leg 3 builds only craft-image-codecs, design-lint at opt-level 2 2026-11-25 01:17:12 +00:00
aiongg 728c797b14 Iconic column trial: the rule between icon groups spans more than half the rail, asserted as a relation 2026-11-25 01:10:44 +00:00
aiongg 10cd2c5e88 Merge remote-tracking branch 'upstream/next' into test-speed-2 2026-11-25 01:10:44 +00:00
Martin BallandClaude Opus 5.5 0075c7e7fd CI: a failed deps-profile hash stops the step instead of naming every entry v2-
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 01:10:42 +00:00
Martin BallandClaude Opus 5.5 6673e63ad2 CI: macOS and Windows cache entries are named by the dependency settings alone, so next restores main's
The macOS and Windows legs cache dependencies only, but their entries were named by the hash of
every profile override, workspace crates' included. next's cargo-ci.toml and cargo-dev.toml set
other workspace-crate levels than main's, so next's pushes never found main's entries and built
every dependency from source (Windows 40-52 minutes, macOS 29-36, against 10-15 with an entry).

`deps-profile` hashes `[profile.dev]` and `[profile.dev.package."*"]` of both files; every other
override names a workspace crate (test_profile_overrides_name_only_workspace_members). It is the
same on main, next and #3405 today. The Linux leg, which keeps workspace crates, keeps the full hash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 01:06:35 +00:00
aiongg 3656e8aaa4 Merge pull request #3212 from storytold/lightcraft-pr/fw-text-fields
Text fields: focus, Escape, typing-run and rename fixes
2026-11-24 20:00:50 -05:00
aiongg 736c9194c1 Merge pull request #3086 from storytold/fix/slider-primary-down-reset-precedence
Add opt-in primary-down editing for sliders
2026-11-24 20:00:37 -05:00
aiongg 3d195ca078 Merge pull request #3058 from storytold/fix/menu-escape-held-child
Context menus close after Escape cancels a held child press
2026-11-24 20:00:23 -05:00
aiongg c93811bcf1 Merge pull request #3383 from aiongg/dock-gaps
Dock and runtime fixes for the CadCraft, EffectCraft and TextureCraft ports
2026-11-24 20:00:09 -05:00
David Mann a3174010b7 Merge pull request #3399 from davidmann4/fix/font-manager-wasm-next
font-store: the preview service's plain types and PreviewStore build on wasm, so font-manager does again
2026-11-25 01:15:36 +01:00
aiongg 25073123e8 Revert "material-graph: evaluate_all skips nodes already run as inputs, removing the double evaluation and thumbnail of every node"
This reverts commit d105734cf8.
2026-11-25 00:04:24 +00:00
aiongg 4a9cd1f8c5 develop crystal test: tones keep their 256-pixel sample (160 moved the mean past the limit) 2026-11-25 00:04:24 +00:00
skylartaylor f52799a8bf tabs: ellipsis panel tabs all shrink to their least before any overflows
Under PanelTabShrink::Ellipsis the shown panel tab kept its whole title, as
it does under FirstLetters, and the other tabs shrank only to the widest
tab's least, so a group sent a sibling to the overflow menu where every tab
would fit at its readable least: DesignCraft's Stroke, Color and Swatches
group hid Color while Swatches was shown, and Separations Preview hid
Attributes and Preflight.

Add FitMode::ShrinkToLeast and craft_behavior::fit::fit_to_least: every tab
shrinks, the shown one too, the widest first, each no further than its own
least, and only the tabs that do not fit at their least overflow, the last
ones first. A panel strip under PanelTabShrink::Ellipsis fits this way
(TabKind::fit_mode_for); FirstLetters and the other kinds are unchanged.

Trial: panel_tabs_shrinking_to_an_ellipsis_all_reach_their_least_before_any_overflows.
2026-11-25 01:04:10 +01:00
aiongg ad53534c96 craft-ps test: places stays u32 in the sampled formatter sweep 2026-11-24 23:02:29 +00:00
bflatastic 75efd24749 theme, ui-widgets: shape.locator (cell, square), the reference point's squares, each defaulting to the Size preset's size.handle.md and size.handle.sm; ReferencePointLook::Squares lays its squares a cell apart, the picker two cells and a square wide, the same compact or not; VectorCraft's themes pin production's locator, 5 point squares 9 points apart (23 point grid). Trial; dumps updated 2026-11-25 05:53:48 +07:00
bflatastic cdb082977d draw: TransformFields' PositionFirst form puts X and W, Y and H in a grid beside the constrain link, which a bracket row (Bracket::Unlinked) stands centred across the two rows, as production's Properties panel; the angle and skews follow in a grid of their own. Trial the_position_first_link_stands_between_the_width_and_height_rows 2026-11-25 05:53:47 +07:00
bflatastic 0c1fa2f1d6 ui-panels: IconGroupSeparator, an env style value for what marks a collapsed column's icon groups apart: Grip (default, the dock's grip marks) or Rule (bare grip strips and an edge rule across the room between two groups), VectorCraft's icon groups as production drew them; story icon_groups_apart_by_a_rule; trial 2026-11-25 05:53:47 +07:00
bflatastic 27f174b9da theme: VectorCraft's themes pin line.grip to production's text_disabled in each variant, the ink of its Tools grip; dumps updated 2026-11-25 05:53:47 +07:00
aiongg 3a425aeffe material-graph tests: is_multiple_of for the sweep samples 2026-11-24 22:51:38 +00:00
aiongg b0a11ffc74 Cargo.lock: craft-testkit dev-dependency of craft-material-graph 2026-11-24 22:41:18 +00:00
aiongg f24ff76636 material-graph test: rustfmt 2026-11-24 22:35:27 +00:00
aiongg 2bcfc4007b Merge branches 'test-speed-2-a1' and 'test-speed-2-ui' into test-speed-2 2026-11-24 22:34:47 +00:00
aiongg 5742ac10df audio-dsp test: DIAG for the slow effects of the extreme-settings tail 2026-11-24 22:34:17 +00:00
aiongg 4a303613df craft-menu: review row-count test over 400 entries 2026-11-24 22:34:10 +00:00
aiongg f5e3fda873 craft-dialogs: one trial per chooser scenario 2026-11-24 22:33:40 +00:00
aiongg a5409599a0 develop crystal tests: smaller grids, one extra tile for the eviction fill, two seeds for the held draw, margins printed 2026-11-24 22:33:29 +00:00