Commit Graph
8520 Commits
Author SHA1 Message Date
Martin Ball ee0d1795bb Merge pull request #3335 from batistalucasv/fix/fontpicker-skip-idle-stops
font-manager: skip building FontPicker stops on idle closed frames
2026-11-24 15:05:19 +00: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 827c570d92 Merge pull request #3295 from aiongg/rc-handle-lock
draw: Shift locks a dragged Bezier handle to the nearest 45 degrees
2026-11-24 09:46:32 -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
aiongg ca6f3d1599 Merge pull request #3291 from aiongg/rc-tooltips-shake
Tooltip width in inspector cells, click-dismissed tooltips, no modal shake on a sampled press
2026-11-24 09:46:03 -05:00
aiongg 1f87e23547 Merge pull request #3290 from aiongg/rc-modal-stack
ui-contract: one modal stack across viewports
2026-11-24 09:25:08 -05:00
aiongg add5567f00 Merge pull request #3318 from aiongg/rc-actions-order
automation: the actions file keeps every set's order
2026-11-24 09:16:38 -05:00
aiongg 84d0cbfd45 Merge pull request #3292 from aiongg/rc-character-align
text: the Character panel's fields fill their columns
2026-11-24 09:16:24 -05: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 6d61276ad8 Merge storytold next into rc-handle-lock 2026-11-24 13:26:58 +00:00
aiongg 367a0cb0c9 Merge storytold next into rc-actions-order 2026-11-24 13:26:58 +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
aiongg 692ea17f1e Merge storytold next into rc-modal-stack 2026-11-24 13:26:57 +00:00
aiongg dd46094cb8 Merge storytold next into rc-character-align 2026-11-24 13:26:57 +00:00
Lucas Batista Vargas bec8d98a70 Merge branch 'next' into fix/fontpicker-skip-idle-stops 2026-11-24 10:12:54 -03: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
David Mann 8409398af9 Merge pull request #3336 from davidmann4/fix/next-paint-chip-needless-borrow
color-ui: drop a needless borrow in PaintChip::paint that fails next's lint
2026-11-24 13:24:04 +01:00
bflatastic d8a00e1e92 Merge remote-tracking branch 'origin/next' into fix/vc-tabs-sections 2026-11-24 18:55:47 +07:00
bflatastic 6ea1ea73b1 ui-contract, sections: SectionRhythm, an env value an app sets once at its root. Under Spaced a header ruled above (a Section) stands its rule space.gap.section off what precedes it in its Stack, in place of the stack's gap (no room at its flow's start), and its header space.gap.row below the rule; Tight, the default, keeps the stack's gap and the header right under the rule. The Stack's gap reaches its direct children through the env. Story section_rhythm shows both. 2026-11-24 18:52:16 +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
David Mann 70d21a07c1 Merge remote-tracking branch 'origin/next' into fix/next-paint-chip-needless-borrow 2026-11-24 12:34:19 +01:00
bflatastic 66ab239f53 ui-contract, text: TextRun::data_color fills the run's colour from data, painted as given, as IconSpec::data_color does for an icon: text over document content in the content's own colour 2026-11-24 18:33:33 +07:00
David Mann 5bbeb937e9 Merge pull request #3288 from aiongg/next-ci-reds
Make next's own CI green on Linux
2026-11-24 12:33:08 +01:00
bflatastic 327fcaa906 canvas, pasteboard: Pasteboard::artboard_edge chooses ArtboardEdge::Plain, which edges the active artboard in black at stroke.thin and the others in grey 120 at a hairline, data colours that read against the paper; Accent stays the default 2026-11-24 18:31:59 +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
David MannandClaude Opus 5.5 b4d4b64ddb color-ui: pass PaintChip's style to layout without a needless borrow, so next's Workspace lint passes on clippy 1.100
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:24:51 +01:00
batistalucasv 6996c6479b font-manager: skip building FontPicker stops on idle closed frames 2026-11-24 08:20:09 -03: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 6af5a5eaf2 theme: VectorCraft Modern and Modern Medium pin state.text_selection to the accent at 55% alpha (dark #f06a528c, light #d9472f8c), as production's field selection 2026-11-24 18:10:05 +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 2eb195b889 ui-panels, dock area: DockConfig::column_cards (was rail_cards) shows every docked column as a card, expanded or collapsed to icons: surface.panel with shape.radius.surface corners on the dock's background, inset by space.gap.stack on top, bottom and at the window edge, and space.gap.tight between neighbouring cards; each column wider by its inset so its content keeps its width; group dividers stay inside the card; container surfaces keep to their layer's frame 2026-11-24 17:45:08 +07:00
bflatastic a4b6d3b6ca ui-contract: MOVE_BAND is re-exported in every build, not only the suite's, since BodyCx::moving reads it; an app building without the suite feature compiles again 2026-11-24 16:37:57 +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 faf5a954e4 ui-panels, dock area: DockConfig::rail_cards shows a docked tool rail's column as a card: inset by space.gap.stack on its outer, top and bottom sides over the dock's background, surface.panel with shape.radius.surface corners and no frame, the column wider by the inset so its steps stay 2026-11-24 15:24:08 +07:00
aiongg 6692f1b83a A memoized view whose content fills the axis its body shares is one of the children that fill that body
A MemoView in a Stack or Row body that shares its height or width counted as one unit sized by its content's measure,
so a fill child inside took its measured size: a whole title bar shown through a memoized view in the shell's title
slot spanned only brand, menus and captions, the captions sat after Help and no title was painted (the title's gap
takes no width of its own since F-24). A direct child of the view's content that is given the shared axis to fill now
tells the view (Scoped::fill_view, noted in layout::fill_size). The body counts the view in the first sweep of its
measuring run and gives it its share as the room of its place, as it does a child that fills it directly; the axis is
kept with the view's measure (lazy::Measured::fills), so replays keep it and an idle frame still replays every call.
A row unit in a row that does not share its width keeps sizing its content from its content along x.
2026-11-24 08:05:29 +00:00
bflatastic 02dc636a6c ui-contract, title bar: one way for an end group whose ranked members leave first: TitleBar::show_fitted turns on its end region's fit, as Bar::trailing does, and layout::end_group goes; the fit's env fact carries the body's shortfall, which the region's first row gives up off its ideal width 2026-11-24 14:52:29 +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
aiongg eadfc623d3 Merge remote-tracking branch 'upstream/next' into next-ci-reds
# Conflicts:
#	crates/ui-contract/src/testing/key_trials.rs
2026-11-24 07:17:18 +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
aiongg 225de8b83c automation: the actions file keeps every set's order
ActionList::to_file stored only the empty sets, so a set created empty before
filled ones moved after them on reload. The file gains an optional set_order,
written when loading would not give the list's order; files without it load as
before.
2026-11-24 06:45:13 +00:00