Commit Graph
917 Commits
Author SHA1 Message Date
BFlat 442e1b73ad Merge pull request #4214 from dotCooCoo/fix/field-help-wraps-to-control-width
ui-contract: a field's help line keeps its last line above the widest label
2026-11-29 11:42:28 +07:00
dotCooCoo e05914e768 ui-contract: a field's help line keeps its last line above the widest label
While a measuring run lays out a field group, a row only sees the label
column that the rows before it reported. A check box row with its label
after it, above the first row with a side label, saw no column. A row
beside a label narrower than the widest saw a narrower column. Both
measured their help line wider than the control column of the real run,
so the footer was sized for fewer lines and the last line was cut off.

The label step now notes the column such a row read when the row has a
help line, so the group runs its rows again at the final widths. This
covers a label after the control, a label beside it and a hidden side
label.
2026-11-28 19:45:58 -08:00
dotCooCoo 929dc7b794 ui-patterns: the path row test checks the Browse button against the column width
The fixture's shown rect grows with whatever the row allocates, so a
button that overflowed the column also widened it and the check passed.
The room starts at x = 0, so the test now compares the button's right
edge with the requested width.
2026-11-28 19:28:09 -08:00
BFlat 78cac93016 Merge pull request #4180 from dotCooCoo/fix/page-card-resting-tile
ui-widgets: page cards can rest on a tile
2026-11-29 10:10:32 +07:00
dotCooCoo d512037910 ui-patterns: a path row keeps its Browse button whole in a narrow column
PathRow showed its FillWidth text field in a content-sized Row, where a
filling leaf keeps its measured width. The field stayed at its full field
length and the row narrowed the Browse button instead, so in a column
narrower than about 280 pt the label was cut to "Brows...". The row now
fills its width: the field takes the room the button leaves.
2026-11-28 18:23:01 -08:00
dotCooCoo 655a251549 Merge main into fix/page-card-resting-tile 2026-11-28 18:02:44 -08:00
autocraft-bot[bot] 325ae14c28 Merge pull request #4192 from storytold/integration-craft-libs-20261129-5
Integration batch integration-craft-libs-20261129-5
2026-11-29 01:29:51 +00:00
BFlat 42c0a9fb82 Merge pull request #4138 from dotCooCoo/fix/dock-iconic-float-tooltip
dock: part of a collapsed column floats or docks expanded
2026-11-29 08:11:45 +07:00
BFlat 25ece08ddf Merge pull request #4134 from dotCooCoo/fix/title-bar-switcher-spacing
ui-shell: the title bar keeps an item gap between controls, and dropdown lists fit the window
2026-11-29 08:11:33 +07:00
dotCooCoo 7398402aed ui-widgets: page cards can rest on a tile
CardText::PageTile is a page card whose rest state lays a light veil of
surface.scrim over the surface under it. Hover, pressed and selected
fills and the selection edge are the same as CardText::Page, which keeps
its flat card. PresetCardLook::PageTile shows New Document's preset
cards this way. No default changes: the start page and apps that set
PresetCardLook::Page draw as before.

Stories show both new looks. Tests check that a PageTile card paints the
veil at rest and a Page card paints no fill, and that New Document's
PageTile cards rest on the veil with the paper on it while the selected
card takes the hover fill.
2026-11-28 15:32:27 -08:00
autocraft-bot[bot] 1f65084b15 Merge main into design-port/pr-dialog-looks 2026-11-28 23:15:38 +00:00
FredApps 4e456f899c Merge remote-tracking branch 'origin/main' into fix/dock-iconic-float-tooltip 2026-11-28 23:54:24 +01:00
autocraft-bot[bot] 4f87f81dc8 Merge pull request #3447 2026-11-28 22:08:52 +00:00
FredApps 7f4fbeb9da Merge remote-tracking branch 'origin/main' into HEAD 2026-11-28 22:30:52 +01:00
FredApps bc25c45bd5 Merge remote-tracking branch 'origin/main' into fix/dock-iconic-float-tooltip 2026-11-28 22:25:37 +01:00
FredApps e058e4d58e Merge branch 'main' into fix/ui-perf-1-floating-windows 2026-11-28 22:02:54 +01:00
FredApps 6c65ee321d Merge remote-tracking branch 'origin/main' into HEAD 2026-11-28 21:55:10 +01:00
Martin BallandClaude Sonnet 5.5 bd4f24ac1e fix(ui-patterns): a preferences text row takes a placeholder (#4028) (#4091)
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 20:18:48 +00:00
Martin BallandClaude Opus 5.5 1a09c8ad77 ListManager list keeps its height; tabbed Colors dialog's Standard page shows the compare block (storytold/wordcraft#7979, #7984) (#4032)
* fix(list-manager): the list takes height from its rows so the empty message and rows clear the section under it (storytold/wordcraft#7979)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

* fix(color-ui): the tabbed dialog's Standard page shows the compare block

Part of storytold/wordcraft#7984.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:18:37 +00:00
dotCooCoo 93006634f4 dock: part of a collapsed column floats or docks expanded
A group or panel taken out of a column collapsed to icons kept the
column's collapsed state in its new column. A group dragged out of an
icon column by its grip floated as a strip with a flyout: the tab names
were cut off and a click on a tab did not switch the panel.

A new column, floating or docked, now stays collapsed only when it holds
the whole column it came from. When other panels stay behind, the new
column is expanded. Groups that join an existing column still keep the
source column's state, so their flyout widths are unchanged.

An icon dragged out of a collapsed column that keeps other panels now
starts a plain group drag, so the float preview and the window rect match
the expanded window that the drop makes.
2026-11-28 12:07:34 -08:00
dotCooCoo 5c84c026e2 Docking: a native window's move records its place once, when it ends
While the app moved a floating window shown in an OS window, the dock
area recorded the window's new place (Action::SetNative) in every pass
of the drag. Each record was a workspace edit, which changed the
workspace revision and rebuilt the dock's kept specs, titles and
geometry in every frame of the drag.

FloatingGroupOutput gains `moving`, kept in the group's memory from a
move's Begin to its Commit or Cancel. DockArea skips native::reported
while it is set; the Commit pass and the passes after it record the
place where the window was let go.

The new trial counts the placement records during a six-step drag of
a palette the app moves: 6 without the change, 0 with it, and the
release still records the final place.
2026-11-28 12:01:20 -08:00
dotCooCoo f2b9450d82 ui-shell: the title bar keeps an item gap between controls, and dropdown lists fit the window
TitleBar puts space.gap.item between its leading controls (it used
space.gap.row, 5 pt in the compact sizes), and show_fitted lays out the
trailing controls at space.gap.item as well.

Overlay::dropdown() sets the new Overlay::off_edge: an anchored dropdown
stays space.pad.regular inside the window's edges, except where its field
reaches nearer the edge. The fit's cap is still a share of the window.

A content-sized collection whose rows run past its room ends on the last
row that fits whole and scrolls the rest, so a Select list no longer ends
part way through a row.

The workspace switcher's doc comment says its commands are in the More
options menu of the list's header.
2026-11-28 11:30:13 -08:00
autocraft-bot[bot] 03bd2112a5 Merge main into design-port/pr-dialog-looks 2026-11-28 19:19:47 +00:00
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
skylartaylor 7e7128ad21 Merge craft-libs main and regenerate the contract catalog 2026-11-28 18:22:22 +01:00
BFlat a665282eb2 Merge pull request #3422 from dotCooCoo/fix/prefs-previous-next
ui-patterns: PreferencesWindow can show Previous and Next to step through the pages
2026-11-28 23:11:14 +07:00
skylartaylor e53c73b054 Merge craft-libs main after the body read refactor 2026-11-28 16:18:25 +01:00
dotCooCoo 4c14eb978d Save for Web: Optimize to File Size's OK waits while the size text does not parse
Clicking the Optimize rows' OK while Desired File Size held text that does
not parse filed a search with the size the rows held before. Clearing the
field had the same effect for both OK and Enter, since the field took empty
text as a blank value and the rows kept their old size.

The size field now holds an f32, which has no blank value, so empty text
does not parse either, and OK is disabled while the field's text does not
parse, as the parameter dialogs hold their OK. Enter in the field already
filed nothing for text that is not a number.
2026-11-28 00:06:53 -08:00
dotCooCoo c3419b76ba Merge main into fix/prefs-previous-next 2026-11-27 23:57:04 -08:00
FredApps 0cfac38424 rustfmt: drop the extra blank line in the Art tab test 2026-11-28 05:38:13 +07:00
FredApps 6da2be899a Merge branch 'main' into newdoc-dont-color-manage
# Conflicts:
#	crates/ui-patterns/tests/it/form_dialogs/new_document.rs
2026-11-28 05:33:42 +07:00
FredApps b2392ceff7 Merge pull request #2531 from KotovGGG/codex/fixed-floating-palette
Let floating panels opt out of edge resizing
2026-11-27 22:55:05 +01:00
FredApps 40a28b8064 Merge pull request #2261 from RickiNano/newdoc-recent-items
New Document: optional Your Recent Items layout for the Recent tab (photocraft#14038)
2026-11-27 22:53:52 +01:00
FredApps fe77bef8ef Merge pull request #2254 from RickiNano/newdoc-preset-lists
New Document: Photo, Print and Art & Illustration list the blank document presets (photocraft#14040)
2026-11-27 22:53:25 +01:00
skylartaylor a9d0ec2fa7 Merge craft-libs main (40e0459086) without changing layout ownership 2026-11-27 18:31:00 +01:00
skylartaylor dfd21cd773 Merge craft-libs main (40e0459086) without changing layout ownership 2026-11-27 18:31:00 +01:00
skylartaylor 94d7b35c29 Merge commit '4d0a0b89d6b4c5504e891cab51907f860d28f67b' into design-port/pr-fields-values 2026-11-27 18:10:02 +01:00
skylartaylor 1062c1ad41 Merge commit '4d0a0b89d6b4c5504e891cab51907f860d28f67b' into design-port/pr-dock-forwarded-keys 2026-11-27 18:10:02 +01:00
skylartaylor 664f152108 Merge commit '4d0a0b89d6b4c5504e891cab51907f860d28f67b' into design-port/pr-docking-windows 2026-11-27 18:10:02 +01:00
aiongg 7d9544226d Clippy over the merged branch: needless borrows, a copied DockCommands, named tuple types 2026-11-27 15:17:06 +00:00
aiongg ee7ae9fb80 Merge storytold main (2aa00e60bf) into fw365-int
Conflicts:
- ui-contract items/hooks.rs: rest_lead takes no placement here; main's
  lead focus ring block is kept as main wrote it.
- ui-panels docking/mod.rs: main's FocusLook import kept; the memory::sub
  import goes, since the dock no longer keeps pass frames in memory.

Follow-ups of the merge:
- MeasureCx::in_row (main) reads row_alone_room from the component's
  scope env, as column_room does here.
- The split-handle focus ring trial (main) passes SplitArea's revision.
2026-11-27 15:00:15 +00:00
bflatastic 1eb6a92ade Clear the design-lint findings on main
Mark TransformBox::handle_side and PreferencesWindow::size as point
quantities the host supplies, and make CheckContext #[non_exhaustive].
#3855 and #3738 are reverted above: they read egui memory, raw keys and
pointer clicks outside runtime::egui.
2026-11-27 15:52:38 +07:00
bflatastic b0370f2298 Revert "Merge pull request #3855 from dotCooCoo/fix/web-export-web-shift-state"
This reverts commit e707caf245, reversing
changes made to f66ed91a34.
2026-11-27 15:52:38 +07:00
skylartaylor e14a0e9be8 Merge craft-libs main (c0977ad6): module list unioned, docs regenerated 2026-11-27 08:40:45 +01:00
skylartaylor ba5d274d7a Merge craft-libs main (c0977ad6): access.rs doc is main's sentence plus our Scroll Into View one; docs regenerated 2026-11-27 08:40:45 +01:00
skylartaylor 246f99c684 Merge craft-libs main (c0977ad6): docs regenerated, nothing else 2026-11-27 08:27:41 +01:00
BFlat f78fca080f Merge pull request #3856 from dotCooCoo/fix/form-row-additional-enable-condition
Forms: let a field require more than one enabled condition
2026-11-27 14:23:50 +07:00