Commit Graph
174 Commits
Author SHA1 Message Date
autocraft-bot[bot] b6a27eda05 Merge main into design-port/pr-fields-values 2026-11-28 19:18:15 +00:00
autocraft-bot[bot] 604941c4ba Merge pull request #3446 2026-11-28 18:35:45 +00:00
autocraft-bot[bot] 82180bb27c Merge pull request #3217 2026-11-28 18:35:25 +00:00
skylartaylor a9fca8edb1 Merge craft-libs main and keep both sets of text trials 2026-11-28 18:31:24 +01:00
autocraft-bot[bot] a5b566b051 Merge pull request #3552 2026-11-28 16:18:15 +00:00
skylartaylor c370647bb7 contract-api.md: regenerate with the gallery's default features (a --no-default-features build drops MeasureCx::in_row from the catalog) 2026-11-27 08:55:30 +01:00
skylartaylor e14a0e9be8 Merge craft-libs main (c0977ad6): module list unioned, docs regenerated 2026-11-27 08:40:45 +01:00
BFlat 877b55f835 Merge pull request #3805 from dotCooCoo/fix/pointer-scoped-field-wheel
Allow apps to limit wheel edits to the focused field under the pointer
2026-11-27 14:22:49 +07:00
BFlat bb84da2f88 Merge pull request #2965 from dotCooCoo/feat/unit-text
Units: number rows can show unit text, and UnitKind gains Milliseconds
2026-11-27 14:16:13 +07:00
BFlat fa29f503f8 Merge pull request #3554 from dotCooCoo/fix/segmented-narrow-room
ui-widgets: a segmented strip wider than its room moves segments to the next line
2026-11-27 14:11:48 +07:00
BFlat 326856bd18 Merge pull request #3512 from dotCooCoo/fix/dock-band-host-items
dock: a narrow group's drag band leaves room for the host's header items
2026-11-27 14:06:45 +07:00
dotCooCoo 5f896c5bdf Document the PerInch unit variant 2026-11-26 21:00:09 -08:00
dotCooCoo 1d85617a61 Merge main into feat/unit-text 2026-11-26 20:38:25 -08:00
skylartaylor 1d57ffaabb Merge remote-tracking branch 'origin/main' into design-port/fw-display-only-bindings 2026-11-27 04:51:03 +01:00
skylartaylor 3c91dccde5 Merge remote-tracking branch 'origin/main' into design-port/pr-dock-forwarded-keys 2026-11-27 04:51:01 +01:00
skylartaylor 789fd5e072 Merge craft-libs main (9524262a, next merged into main): resolve conflicts and regenerate the catalog 2026-11-27 04:50:45 +01:00
skylartaylor 5468d9ffe5 Merge craft-libs main (9524262a, next merged into main): resolve conflicts and regenerate the catalog 2026-11-27 04:50:45 +01:00
dotCooCoo 8873320c70 Allow apps to limit wheel edits to the focused field under the pointer 2026-11-26 14:50:50 -08:00
skylartaylor 05345c06d3 Dock windows: the DragBounds summary says both policies and the default
Reviewer finding on #3446: the summary ended at a colon ("How much of a floating
layer stays inside the window when the user moves it, when it is placed at a
position, and ..."), and the catalog lists that line only — a variant's own doc
is never extracted. So the line is now a complete summary: the whole layer
(`Inside`, the default) or a strip of its title, with where the rule holds and
the overlay's own `bounds` in the paragraph under it. The variants keep their
detailed docs for rustdoc.

Regenerated with the branch's own generator; a second run leaves the file byte
for byte as it was. The run also picks up two entries the branch's merges added
without regenerating (`Action::restore`, and `floated`'s doc).
2026-11-26 23:17:50 +01:00
skylartaylor 18e448b956 Merge remote-tracking branch 'origin/main' into design-port/fw-display-only-bindings 2026-11-26 22:08:40 +01:00
skylartaylor 8bc61c8621 Merge remote-tracking branch 'origin/main' into design-port/pr-docking-windows 2026-11-26 22:08:05 +01:00
skylartaylor d254821a27 Merge remote-tracking branch 'origin/main' into design-port/pr-dock-forwarded-keys 2026-11-26 22:08:04 +01:00
dotCooCoo 60626900b7 Merge next into feat/unit-text 2026-11-26 07:42:52 -08:00
aiongg 5ec98bd628 Merge remote-tracking branch 'upstream/next' into next-into-main-2
# Conflicts:
#	crates/ui-widgets/src/text/text_field.rs
2026-11-26 11:03:44 +00:00
FredApps cc59357033 Merge pull request #3475 from storytold/fix/wordcraft-7708-print-zoom-whole-percent
ui-contract: a ZoomPrecision env value lets zoom show whole percents (storytold/wordcraft#7708)
2026-11-26 11:14:23 +01:00
FredApps 7e7456955a docs: contract-api lists FieldLook, StyleCx::quiet_field and TextOptions::look
Regenerated with the contract-api bin; only the three entries this PR adds are taken, the file's other drift on next is left alone.
2026-11-26 16:30:14 +07:00
FredApps e39fd100af Merge remote-tracking branch 'origin/next' into tc14-3475 2026-11-26 16:08:37 +07:00
aiongg ecdc221f4a Merge next into main 2026-11-26 05:38:41 +00:00
dotCooCoo 1eeb7baf17 Merge next into feat/unit-text 2026-11-25 20:36:19 -08:00
dotCooCoo bdccf96831 ui-widgets: a segmented strip in a row or bar keeps one line
In a row, a bar included, the strip's least is its whole line again, so the
row's shrink step does not wrap it. It still wraps in a column narrower than
the strip. A rect with room for one line only keeps the segments on that line.

- ui-contract: `MeasureCx::in_row` says whether a component is a direct child
  of a `Row` body.
2026-11-25 19:43:32 -08:00
BFlat 40c4cb3157 Merge pull request #2949 from dotCooCoo/feat/fit-short-order
Fit: items rank their short forms, and late ones shorten after the free items leave
2026-11-26 10:24:19 +07:00
skylartaylor ef48578092 Merge origin/main into design-port/pr-fields-values
Conflicts: the text editor's alignment (main's shape, this branch's `top` option, which a multi-line field asks for), and the field's drawn-face measure (main's `run`/`line` helpers).
2026-11-26 03:57:01 +01:00
BFlat 14cd3ae8a9 Merge pull request #3513 from dotCooCoo/fix/link-text-contrast
ui-contract: link text reads at 4.5:1 on every surface it is drawn on
2026-11-26 09:56:34 +07:00
BFlat 733e35fea8 Merge pull request #3492 from dotCooCoo/fix/dock-group-band-keeps-tab
dock: a docked group's drag band narrows before the shown tab loses its first letters
2026-11-26 09:56:07 +07:00
BFlat 91877f4160 Merge pull request #3431 from dotCooCoo/fix/job-progress-layer-role
ui-contract, ui-panels: a job progress window's layer has the progress role, and OpenFilter::Asks leaves it out
2026-11-26 09:51:10 +07:00
Martin BallandClaude Opus 5.5 e173ef092e ui-contract: zoom_percent follows ZoomPrecision with zoom_codec
One zoom_decimals helper serves both, so the read-only zoom texts (Navigator slider, full-window title, zoom bar
entries) agree with the zoom fields. with_zoom_precision is pub(crate). Regenerates docs/contract-api.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 00:07:27 +00:00
skylartaylor 0ed16a7b42 docs: regenerate contract-api.md 2026-11-25 23:35:08 +01:00
skylartaylor 0435bea8f5 docs: regenerate contract-api.md 2026-11-25 22:03:45 +01:00
aiongg 97794fff62 ui-contract: DocRun::coords draws a run at variation coordinates of its face; FontSample takes them 2026-11-25 20:37:43 +00:00
skylartaylor 9512e6480c Merge origin/main into design-port/pr-dock-forwarded-keys
ui-test-kit windows.rs: main's per-viewport child events (send, the addressed CHILD_EVENTS and input_pending) with this branch's child modifiers, inserted as each child pass's first event, and the frame's command input. native.rs: both sides' imports.
2026-11-25 21:20:24 +01:00
dotCooCoo ce87f5484d Merge next into fix/dock-group-band-keeps-tab 2026-11-25 10:22:44 -08:00
skylartaylor 32132c307c docs: regenerate contract-api.md 2026-11-25 19:16:31 +01:00
skylartaylor c842faf1ca docs: regenerate contract-api.md 2026-11-25 19:16:31 +01:00
skylartaylor 86f19be818 docs: regenerate contract-api.md 2026-11-25 19:16:31 +01:00
skylartaylor d30327bfef docs: the fit module line back to next's, now that the fit helper is gone 2026-11-25 18:07:02 +01:00
skylartaylor bb5c23315e A stored placement keeps the part DragBounds keeps inside
resting_placement returned a stored placement that already held a size before applying Overlay::drag_bounds, and the
mount showed the layer's body at that rect, so a layer the user resized could end with its title row outside the
window under DragBounds::TitleVisible. The keep now applies to a floating layer's stored size and place, before the
default-size path, as it already did to a move and to a place the caller gives.

Trial: a_resized_layer_keeps_its_title_strip_inside_a_drag_past_the_window_edges in
crates/ui-contract/tests/it/body/placement.rs.
2026-11-25 18:03:07 +01:00
skylartaylor cac8725f59 Panel tabs clip and overflow: drop the ellipsis shrink
Panel tabs keep the framework's clip and overflow: they shrink to their first letters with the label clipped at
the tab's edge, the shown tab whole, and the tabs that do not fit go to the strip's overflow menu.
PanelTabShrink::Ellipsis goes with the option that chose it: DockConfig::tab_shrink, the group's tab_shrink,
TabStrip::panel_shrink, Tab::panel_shrink, FitMode::ShrinkToLeast, TabKind::fit_mode_for and clips_label_in,
and craft_behavior::fit::fit_to_least with its docs.

Trials: the two ellipsis trials and the helpers they alone used are removed with the option.
2026-11-25 17:56:05 +01:00
skylartaylor 2e7fcfacc8 Dock flyouts stand in the floating windows' order; drop the flyout layer option
A collapsed column's flyout joins the floating windows' own egui area order, for every app, so the last of
them opened or pressed is on top, and the app's own windows stack with it. The per-app choice goes:
PopupLayer, Tier::BelowWindows, Overlay::popup_layer, DockConfig::flyout_layer, IconicColumn::flyout_layer
and Flyout::popup_layer, with their docs. A layer stands in the windows' tier through
Overlay::among_windows, which a flyout always sets.

Trial: a_flyout_stands_among_the_floating_windows_in_their_order replaces the flyout_layer trial in
crates/ui-patterns/tests/it/docking/columns.rs.
2026-11-25 17:52:05 +01:00
skylartaylor 74d352ed03 Merge remote-tracking branch 'origin/next' into design-port/pr-docking-windows
# Conflicts:
#	crates/ui-panels/src/docking/iconic.rs
#	crates/ui-panels/src/docking/iconic/trials.rs
#	docs/ui-docking.md
2026-11-25 17:41:39 +01:00
skylartaylor a96ffd2ab6 Merge remote-tracking branch 'origin/next' into design-port/pr-fields-values
# Conflicts:
#	docs/contract-api.md
2026-11-25 16:57:15 +01:00