Commit Graph
7093 Commits
Author SHA1 Message Date
aiongg 7a430a8e4f craft-ui: a levelled unit stands on its row's line
A levelled unit's content ran in a room of its own with the row's line cleared, so a child of it that fills its height took its own measured height instead of the line the row settled on. The unit keeps the row's line; only the probes that measure each level run off it.
2026-11-21 06:11:11 +00:00
aiongg 463c634dd6 craft-ui: a reveal goes to the scroll owner around the component, never to a region beside it
A component with no scroll owner in its scope sent its reveal to the smallest scroll region of the last pass whose
rect met its own; egui's intersects counts a shared edge, so WordCraft's page canvas, taking the focus in its first
pass, scrolled the status bar under it to its end. A reveal and an untaken page or end move now go only to the scroll
owner the scope names, and with none nothing scrolls. A collection that scrolls its rows names itself their scroll
owner, so a reveal in a row still reaches it; the geometric lookup is removed.
2026-11-21 05:21:37 +00:00
aiongg c0ba9cceb2 pages: Go To puts the view's top where the page before ends
A go_to in a continuous view subtracted the margin above the first row (16) from every page's top, while rows after
the first have the page gap (12) above them, so 4 pt of the page before showed at the view's top and WordCraft's
status bar named that page. Since #7149 item 7 the offset and the canvas use one rect inside the rulers, which
brought the 4 pt into view. The view's top now goes where what shows of the row above ends (the document's start for
the first row), which holds for gaps on and off, Hide White Space and spreads.
2026-11-21 05:16:56 +00:00
aiongg 614f4d5f16 Merge pull request #2747 from aiongg/rework-lists
Lists and the pen tools: hover moves only the lead in option lists; Escape keeps the anchor selection
2026-11-20 22:02:52 -05:00
aiongg 68b0529bbf Merge pull request #2744 from aiongg/document-window-room
DocumentWindow: the body takes the window's room and never scrolls
2026-11-20 21:40:36 -05:00
aiongg eb28db6ba9 Merge pull request #2589 from aiongg/memo-stack
Memoized views: derived values; dock, Layers, menu and tool rail keys without model walks
2026-11-20 21:37:21 -05:00
aiongg 4201696e6b Merge pull request #2742 from aiongg/office-ruler
Text ruler: the tab selector shows in the corner its host gives
2026-11-20 21:26:32 -05:00
aiongg fd652b372d Merge pull request #2738 from aiongg/component-set-productivity
Component sets: Office is named Productivity
2026-11-20 21:19:04 -05:00
aiongg af50339b27 Escape keeps the anchor selection under Direct, Convert and Curvature
The overlay no longer clears the selection on Escape; the key goes on to the window as in 0.23.1.
2026-11-21 01:55:29 +00:00
aiongg a32fe7d6fd Option lists: hover moves only the lead
HoverLead (Off, Lead, LeadAndSelection) replaces lead_follows_hover. List::options takes Lead, so the hovered row no longer draws as the chosen option for a frame; UndoList keeps LeadAndSelection.
2026-11-21 01:50:30 +00:00
aiongg b66a60caf8 DocumentWindow: the body takes the window's room and never scrolls 2026-11-21 01:42:09 +00:00
aiongg 0ea84419cd Text ruler: the tab selector shows in the corner its host gives
PageRulers handed the text ruler the canvas's top strip, which starts after the
canvas corner, and the ruler cut its own corner square out of that strip, so the
selector sat one strip depth right of the corner, over the horizontal ruler, and
the corner stayed blank. The host now gives the corner (TextRuler::corner):
Rulers::strips returns it beside the strips, and PageRulers shows the ruler over
the top strip and the corner. The corner follows the host in either direction.

The selector's box is the icon size with the theme's small rounding, in the
column's colour with the state layer under the pointer; the corner continues the
strip round it; the glyph is centred by its own bounds.
2026-11-21 01:34:06 +00:00
aiongg 3eebedfcff Component sets: the productivity set 2026-11-21 01:19:14 +00:00
aiongg 1fac93e295 Merge remote-tracking branch 'upstream/next' into memo-stack
# Conflicts:
#	crates/ui-contract/src/contract/memo.rs
2026-11-21 01:06:55 +00:00
aiongg 3f440d3ff1 Merge pull request #2578 from aiongg/component-constants
Component constants and component sets (creative and office looks, rulers first)
2026-11-20 20:06:24 -05:00
FredApps f1c4dd50c9 Merge pull request #2672 from storytold/fix/registry-fixture-only
Gate downstream UI registrations on the suite feature
2026-11-21 07:39:13 +07:00
David Mann eb8e6c98e9 Merge pull request #2682 from davidmann4/fix/crop-idle-frame-keys
Crop: O, I, X and Shift+O stay the app's over the untouched frame
2026-11-21 01:04:44 +01:00
Martin Ball 05acb5587f Merge pull request #2566 from storytold/fix/7149-items2-3-start-cards
ui-shell: start-screen cards take the app's picture shape, size and paper; card tiles frame all four sides
2026-11-21 00:01:28 +00:00
Martin Ball aaa87b5754 Merge pull request #2568 from storytold/fix/7149-item7-top-clamp
pages: one rect for the page view and its canvas, so the page no longer jumps at the top with rulers on
2026-11-21 00:00:26 +00:00
aiongg 241990270c Docking tests from next: the workspace through its accessor and Arc 2026-11-20 23:44:01 +00:00
aiongg 5062108d5b Format the testing exports 2026-11-20 23:38:59 +00:00
aiongg d202ab2fec Merge remote-tracking branch 'upstream/next' into memo-stack
# Conflicts:
#	crates/ui-contract/src/testing/mod.rs
#	crates/ui-panels/src/docking/targets.rs
#	crates/ui-patterns/tests/it/docking/floating_area.rs
2026-11-20 23:37:01 +00:00
aiongg 268aa7893e Merge remote-tracking branch 'upstream/next' into component-constants
# Conflicts:
#	docs/contract-api.md
2026-11-20 23:35:49 +00:00
aiongg e0965cf0b0 Merge pull request #2678 from aiongg/text-memo-fix
Text layout memo: one measurement path, eviction by use, a total budget
2026-11-20 18:34:57 -05:00
FredApps 34908a057c Reuse existing suite-gated registration macro 2026-11-21 00:27:44 +01:00
aiongg 6f92d8e130 Merge pull request #2667 from aiongg/next-sync-1120c
Merge storytold main into next (20 Nov evening sync)
2026-11-20 18:13:07 -05:00
aiongg aa9e22db05 Merge pull request #2648 from aiongg/floating-restore
Floating dock windows: production's bar, grips and macOS resizing; grip bar and width resize for collapsed icon groups
2026-11-20 17:35:08 -05:00
David Mann 4bdd7b7e54 Crop: O, I, X and Shift+O stay the app's over the untouched frame
The Crop tool claimed I, X, O and Shift+O as soon as it showed its
untouched default frame (on picking the tool, after a commit, or on a
selection's bounds), so O cycled the overlay instead of picking the
Dodge group, I switched to Front Image instead of the Eyedropper, and X
swapped the frame instead of the colours. As in the reference application, the crop
now takes its keys only while a crop is pending, the way H and P
already were.

The key trial gave the canvas no keyboard before its first press, so
its untouched-frame half passed whatever the tool did; the rig now
focuses the canvas first.

Part of storytold/photocraft#6536.
2026-11-20 23:21:19 +01:00
FredAppsandClaude Opus 5.5 a79b975188 tile: no card frame over a flat thumbnail
The new frame over a card's picture also drew on flat thumbnails, which
have no sunken well to restore: the New Document preset cards gained a
second outline around their page, and
form_dialogs::new_document::recent_preset_cards_paint_one_small_page_at_its_aspect
failed on every leg. Frame only where the sunken well was painted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 23:10:52 +01:00
aiongg 108a8a3550 contract-api: regenerated 2026-11-20 22:06:55 +00:00
aiongg d84b15cca1 Text layout memo: one measurement path, eviction by use, a total budget
Removes the paired measure (Component::PAIRED_MEASURE, measure_pair and its
six adopters, MeasureCx::least_width) and the prepared-leaf path
(PreparedLeaf, PreparedStep, run_with, show_leaf_prepared,
measure_under_prepared, child_with_prepared): every leaf is measured by
measure alone, and the recursive run frames carry only what they read after
their children again.

Keeps the text layout memo and the lazy layout runs, with three fixes: a Line
run keys its width as infinity, entries unused for 60 passes go instead of
first in first out, and a 32 MiB budget bounds what the memo retains.
TextLayout's full and runs are private behind full() and runs().
2026-11-20 22:06:54 +00:00
FredApps 599fcd462b Re-export suite helper through UI facades 2026-11-20 23:02:28 +01:00
FredApps ead1233137 Test dependency-gated registry helpers 2026-11-20 22:56:31 +01:00
FredApps 531d7bbd0f Gate generated registry helpers on dependency suite 2026-11-20 22:49:52 +01:00
aiongg 4e11e2b9d4 drawingml: the format doc link names the function 2026-11-20 21:43:12 +00:00
aiongg 5d72faf4b2 Cross-member reads on next: svg's font from ui-contract, font-manager declares Inter, pdf's Tiny-glyf fixture restored 2026-11-20 21:26:45 +00:00
aiongg 901f3c785b Merge remote-tracking branch 'upstream/main' into next-sync-1120c
# Conflicts:
#	.github/workflows/workspace.yml
#	crates/proof/src/affix_suggest.rs
#	crates/proof/src/it/suggest.rs
#	crates/proof/src/pl/suggest.rs
#	crates/proof/src/pt/suggest.rs
#	crates/proof/src/ru/suggest.rs
#	scripts/test-workspace-tests.py
2026-11-20 21:22:40 +00:00
David Mann 50e00dd493 Merge pull request #2631 from davidmann4/fix/scrollbar-arrows-pointer-only
Canvas scroll bars: thumb drag follows every move; arrows take no keyboard focus
2026-11-20 22:16:12 +01:00
aiongg c30c9e1749 Merge remote-tracking branch 'upstream/next' into memo-stack
# Conflicts:
#	crates/layers/tests/it/main.rs
#	crates/menu/tests/it/main.rs
#	crates/ui-contract/src/testing/mod.rs
#	crates/ui-contract/tests/it/runtime/mod.rs
#	crates/ui-widgets/tests/it/menu/mod.rs
2026-11-20 20:32:36 +00:00
aiongg baa3a2f258 Merge remote-tracking branch 'upstream/next' into ruler-look
# Conflicts:
#	crates/ui-contract/src/testing/mod.rs
2026-11-20 20:31:23 +00:00
aiongg 6fea865c9a Grip trial: the icon-rect closure is not named like an icon id 2026-11-20 20:31:09 +00:00
FredApps 2ad95c4994 Merge pull request #2361 from storytold/perf/2333-text-layout
Reuse text layouts and measure supported leaves once per sweep
2026-11-21 03:16:33 +07:00
FredApps 9c180fca2f Merge pull request #2363 from storytold/perf/2332-explicit-ui-suite
Split the UI test kit and select suite registrations explicitly
2026-11-21 03:16:06 +07:00
David Mann 399922917f Merge pull request #2634 from davidmann4/fix/picker-full-hex-enter
Color Picker: Enter in the Full layout's hex field confirms
2026-11-20 21:11:43 +01:00
David Mann 2422396c0b Merge pull request #2612 from davidmann4/fix/snap-span-reach
Snap targets can reach past their spans
2026-11-20 21:04:32 +01:00
aiongg a45db600db contract: MOVE_BAND's re-export stays testing-only 2026-11-20 20:04:01 +00:00
aiongg a36e14750f design-lint: the menu bar stories keep their model in a static; GridWidths::Content names the content's measured widths 2026-11-20 20:01:54 +00:00
aiongg 761faa9d3a Merge remote-tracking branch 'upstream/next' into floating-restore
# Conflicts:
#	crates/ui-contract/src/contract/body/hooks.rs
#	crates/ui-patterns/src/patterns/dock/area.rs
#	docs/contract-api.md
2026-11-20 20:00:02 +00:00
David Mann 6d3d29331c Canvas scroll bars: a thumb drag follows every move
The canvas settles the view it is given to whole device pixels, so a
thumb drag's first proposal came back with its centre a fraction of a
pixel off. The value step read that as the app changing the view under
the gesture and cancelled it (HostChanged); the cancelled gesture refused
every later proposal until the release, so the view moved once and then
stayed (photocraft#16006). The bars now take a host view with the same
zoom, turn, mirroring and aspect and a centre within a point as their own
value (same_value), as the number fields do with rounded values.
2026-11-20 20:51:50 +01:00
aiongg ddd2e23f89 Collapsed floating windows resize their width
A collapsed dock window's sides resize its width, and only its width, within the bounds of a docked collapsed column
(DockSizes::iconic_bounds, the one rule both use), on macOS by AppKit and elsewhere by the window's own grips.
FloatingGroupOutput::collapsed_width reports the width, which the area keeps as the column's iconic width through the
docked column's own path (Action::ResizeIconic); names show from IconicSizes::labels as in a docked column. The height
stays the icons', the expanded rect keeps its size and the window keeps its edge. The column in a window has no
inner-edge divider: the window's sides size it, as for an expanded column.
2026-11-20 19:45:04 +00:00