Commit Graph
1110 Commits
Author SHA1 Message Date
skylartaylor 924d305bb1 Menu::tab_exits: Shift+Tab and a Tab after Escape go on from the opener
Shift+Tab out of a tab-exits menu landed on its opener, and a Tab pressed while the
menu played its exit after an Escape landed in the fading menu, whose close then
handed the focus back to the opener. A Tab from inside a menu that traps nothing
now goes on from the menu's opener, with the menu's own rows no entries, so Tab
reaches the stop after the opener and Shift+Tab the stop before it; and a layer
playing its exit is no Tab entry. Trials for both.
2026-11-25 03:47:35 +01:00
skylartaylor fddf524d09 Merge origin/next 2026-11-24 22:45:42 +01:00
aiongg 357f332549 Merge pull request #3396 from aiongg/test-speed-1124
Tests: gate-sized samples and inputs for the slowest tests and the UI suite
2026-11-24 16:32:00 -05:00
aiongg 9f2961402b Merge pull request #3360 from aiongg/next-host-input
Hosted egui apps on next: host quit, dock tab focus, float order, host panel fill, app icon, keymap override warnings
2026-11-24 16:08:36 -05:00
skylartaylor f8cff0c926 Merge origin/next 2026-11-24 21:38:35 +01:00
aiongg 146a95ed43 Merge storytold next into next-host-input 2026-11-24 20:18:12 +00:00
aiongg 41c744b1b2 cargo fmt 2026-11-24 20:01:10 +00:00
aiongg 56e0824f2c Merge remote-tracking branch 'upstream/next' into test-speed-1124 2026-11-24 20:00:50 +00:00
aiongg b6acf7acec ui-widgets tests: the overflow strips scroll in tenth-second clock steps
Resting on a strip scrolls by the pass's elapsed time, taken up to 0.1 s, so the
strip loops move the clock by that much per frame; the wheel loop sends larger
wheel steps.
2026-11-24 19:58:44 +00:00
aiongg e99e513c8f Merge storytold next into rc-menu-cursor-mnemonics 2026-11-24 19:48:31 +00:00
aiongg 73b31f60ca Merge storytold next into next-host-input 2026-11-24 18:28:22 +00:00
aiongg 2b20e152e3 Merge remote-tracking branch 'upstream/next' into next-lint-picker
# Conflicts:
#	crates/automation/src/client_tests.rs
#	crates/ui-panels/src/docking/dock_column.rs
2026-11-24 18:17:38 +00:00
Dylan M. Taylor d368994b12 Merge pull request #3317 from dylanmtaylor/filmcraft/tab-wheel-remainder
tabs: a strip with wheel_selects keeps the wheel scroll short of a notch for the next pass
2026-11-24 12:52:52 -05:00
aiongg 98a30afa0b Merge remote-tracking branch 'upstream/next' into next-lint-picker 2026-11-24 15:59:32 +00:00
aiongg a783828e55 menu: a translated label with no letter of its own shows its English letter only in CJK languages; elsewhere the letter stays as a hidden mnemonic 2026-11-24 15:57:34 +00:00
aiongg 2f8d73e7cf Merge storytold next into next-host-input
Conflicts resolved so that next's changes and this branch's fixes both hold:
- keys: next's unfocused-canvas state claims join the key stage's framework claims; the canvas's
  declared claims stay the host's (egui keeps their presses).
- overlay: the app's own modal (`FrameInput::app_modal`) joins next's modal stack at the frame it
  first showed in.
- docking: the tab-pick trial moves key focus into the group with Tab, since a click on a dock tab
  leaves key focus where it is.
2026-11-24 15:37:34 +00:00
bflatastic b84413d7ba Merge remote-tracking branch 'origin/next' into fix/vc-look-r9 2026-11-24 22:37:03 +07:00
bflatastic c7ce7e5460 ui-widgets: ReferencePointLook::Squares fills the pick in the normal text ink and draws no sunken well or border, as production's locator; compact squares story 2026-11-24 22:21:42 +07:00
bflatastic 747dad4c1c ui-contract: CaptionInk, an env style value for the ink of a side label's name: Muted (default) or Normal, VectorCraft's field labels as production drew them; Field story field_caption_ink 2026-11-24 22:21:42 +07:00
bflatastic a81bc6fe77 dock group: beside PanelTabLook::Pill tabs the panel menu button stands in the strip's middle, level with the pills, as production's ≡ is centred in its cell; plain tabs keep it at the strip's top. Story and trial 2026-11-24 22:14:05 +07:00
bflatastic b3b2eaac4f tabs: DocumentTabLook::Semibold shows VectorCraft's document tabs, whole titles as Whole with the title and its * in the label's semibold face (Span::strong), measured as painted; a Semibold story 2026-11-24 22:10:58 +07:00
aiongg f4d3f6c557 design-lint on next: the plain artboard edge's black as a data colour, the task bar grip story's drag in drag thresholds, dock column cards take their outer inset as a CardInset step, the link label ink story reads the link's click from its output 2026-11-24 14:59:40 +00:00
Dylan M. Taylor 36106c2b93 tabs: a strip with wheel_selects adds the wheel scroll short of a notch to the next pass, so small trackpad deltas switch tabs 2026-11-24 09:56:03 -05:00
aiongg 7762aab37b Merge pull request #3319 from aiongg/rc-next-regressions
Right-click on guides, rulers and the transform box; percent fields keep the caller's decimals; empty mixed font family
2026-11-24 09:48:54 -05:00
aiongg 64cec6a26a Merge pull request #3293 from aiongg/rc-dock-drag
Docking: one drop mark, the panel's name in the drop region, and Tile All in docked cells
2026-11-24 09:46:18 -05:00
skylartaylor a9fb6eb444 Opener Escape trials: the opener sits in another layer, as the rule is for
The default trial assumed an Escape at the opener left the popover open, but a
popup already takes an Escape while the focus is in no layer, so with its opener
in the window the popover closed without the rule. The rule is for an opener inside
another layer (a dialog's button, as LightCraft's New Effect Preset dialog has),
where the focus is in the outer layer and the popover, though on top, holds none:
there nothing closes without it. The trials now put the opener in an outer popover,
check the outer layer stays open, and keep a control showing a window-level opener
needs no rule.
2026-11-24 15:27:38 +01:00
skylartaylor 91b56463c7 Merge origin/next
# Conflicts:
#	crates/ui-contract/src/contract/overlay/props.rs
2026-11-24 14:52:04 +01:00
aiongg f6290898c4 Merge remote-tracking branch 'upstream/next' into rc-next-regressions
# Conflicts:
#	crates/ui-contract/src/layout/mod.rs
#	crates/ui-shell/tests/it/shell/title_bar.rs
2026-11-24 13:35:21 +00:00
aiongg 290415fd4f Merge storytold next into rc-dock-drag 2026-11-24 13:26:57 +00:00
aiongg 00a3c21452 Merge storytold next into rc-tooltips-shake 2026-11-24 13:26:57 +00:00
bflatastic 2157b8afc8 Merge remote-tracking branch 'origin/next' into fix/vc-highlights-a 2026-11-24 20:00:44 +07:00
bflatastic 34e96f9325 ui-panels footer: DialogButtonLook::Filled shows Cancel, Other, Alternate and Alternative as the filled neutral button (buttons::FILLED, now public: surface.control with no edge, state.hover under the pointer) beside the accented answer. Footer story and trial under Filled 2026-11-24 19:38:28 +07:00
bflatastic 7cb5edfda4 ui-widgets segmented: a picked segment follows ActiveLook; under ActiveLook::Pressed it takes state.pressed with text.normal at rest, under the pointer and pressed, as an icon button that is on does; ActiveLook::Accent, the default, keeps state.selected with text.on_selected. Segmented story under Pressed 2026-11-24 19:38:21 +07:00
bflatastic 68cde01dc5 ui-widgets choice: ChoiceLook, a root style value; under ChoiceLook::Strong a check box, radio button or switch track that is on fills with accent.strong (pressed accent.strong_pressed, disabled unchanged) under a text.on_strong mark; ChoiceLook::Accent, the default, keeps accent.solid with text.on_accent. Check box and radio stories under Strong 2026-11-24 19:38:11 +07:00
bflatastic 09650e1d3d ui-contract style: TrackFill, a root style value; under TrackFill::Accent a slider's and a range slider's track fill the value's part in accent.solid (disabled text.disabled) on a line.outline groove; TrackFill::Muted, the default, keeps text.muted on line.control_edge. Slider story under Accent 2026-11-24 19:38:11 +07:00
bflatastic 6798a83eb9 theme, tabs, canvas panel: size.bar.tab_large, the height of large document tabs (today's size.bar.title in every size set), so large tabs no longer take the title bar's height; CanvasPanel gives its tab pane an extent, size.bar.tab or size.bar.tab_large with the new large_tabs prop, so a strip taller than its first measured height shows its tabs whole. Story canvas_panel_with_large_tabs. 2026-11-24 18:52:09 +07:00
bflatastic dc8b91f5f1 list, menu: CommandHighlight (an env style value, Accent by default) chooses how a menu's active row, a popup list's command row, the palette's active row and an open menu bar title show it; under Hover they paint state.hover with their own ink, as a row with an open submenu 2026-11-24 18:29:26 +07:00
bflatastic 9897901b67 Merge remote-tracking branch 'origin/next' into fix/vc-link-ink 2026-11-24 18:17:12 +07:00
bflatastic 9a41bd4b84 ui-contract, field labels: LinkLabelInk, an env value an app sets once at its root, draws a field's label shown as a link in text.normal (Neutral) instead of the link look's accent (Accent, the default); the underline stays. A free Link keeps the accent and takes Tone::Neutral for the same ink. Story field_link_label_ink shows both. 2026-11-24 18:14:41 +07:00
bflatastic 06e94d7321 tabs, dock: PanelTabLook::Pill shows a panel strip's shown tab on a filled rounded pill (surface.control, shape.radius.control, size.control.sm high in the middle of the strip; a hovered tab shows it too); TabStrip::panel_look and DockConfig::tab_look choose it, Plain by default 2026-11-24 17:59:45 +07:00
bflatastic 6e727dc6c6 Merge remote-tracking branch 'origin/next' into fix/vc-chrome-bars
# Conflicts:
#	crates/ui-widgets/src/buttons/mod.rs
2026-11-24 15:31:24 +07:00
bflatastic 0e41edc671 Merge remote-tracking branch 'origin/next' into fix/vc-chips-headers 2026-11-24 14:31:44 +07:00
aiongg 50a9ed02ae Right-click on guides, rulers and the transform box is theirs again; percent fields keep the caller's decimals; a mixed font family shows an empty field
- Guides and the rulers' strips and corner sense CONTEXT_CLICK, so a right-click opens their menu instead of reaching the tool host (the press machine gives a secondary press only to CONTEXT_CLICK shapes since 21e77e2b58).
- TransformBox::own_context_menu: the caller hangs a context menu on the box, and every part takes the right-click. TransformOverlay sets it for the whole-box reach, where it opens the mode menu.
- NumberField: a percent field's one-decimal default yields to the caller's fixed or maximum decimals, and shows none with commit_decimals(0) ("10%").
- FontPicker: a selection of several families leaves the family field empty, on screen and in its accessible value, as the reference applications do.
2026-11-24 07:25:06 +00:00
bflatastic 3238a3eca8 Merge remote-tracking branch 'origin/next' into fix/vc-buttons-fields 2026-11-24 13:51:33 +07:00
bflatastic 41a0679299 ui-widgets tests: the selectable-text trial names its canvas with Id::unique, not the deprecated Id::new 2026-11-24 13:50:32 +07:00
bflatastic 02d26c8cc0 bars: a bar's trailing group joins the body's fit; its ranked members leave, lowest rank first, before a body member narrows or leaves 2026-11-24 13:50:25 +07:00
bflatastic bbef5516c0 ui-widgets: the selectable text trial names its canvas with Id::unique, as egui deprecates Id::new 2026-11-24 13:48:36 +07:00
bflatastic 27493aca39 Merge remote-tracking branch 'origin/next' into fix/vc-keys-press 2026-11-24 13:38:53 +07:00
bflatastic cb367bccf3 menu bar: MenuTitlePad, the padding role of the titles an app sets at its root; Control sets them closer, as an app bar whose menus share the line with many controls 2026-11-24 13:38:50 +07:00
bflatastic 49d439d63d ui-widgets: a tile grid without card_columns asks for one card in a measuring run again (ebf925452, lost in the merge b138b533f), so a dialog pane sized from it holds its rows and the row under them: presses on the tiles, the button and the field beside it land on them 2026-11-24 13:33:04 +07:00