Commit Graph
115 Commits
Author SHA1 Message Date
skylar taylor-barrickandlightcraft-port efc8d34f09 Inspect: a hit area's original bounds before minimum-size expansion (#3793)
* Inspector: a hit area's original bounds before minimum-size expansion

HitArea::bounds is the sensing shape's own rect, beside rect, which is grown to
the minimum hit size. A pointer-only part (a slider's thumb) has no access node
or Tab stop, so an app relating a value to its drawn position (a tooltip over the
thumb, a value that follows it) needs its real geometry rather than the larger
target. The trial checks the bounds match the painted knob and the value travel.

(cherry picked from commit 78cd3e98ad)

* Small additions review: a replay moves a hit area's bounds with its rect

(cherry picked from commit f9b1c60144)

* Formatting of the bounds change

* Test inspector hit bounds after a translated memo replay

---------

Co-authored-by: lightcraft-port <port@lightcraft.local>
2026-11-29 14:39:24 -06:00
David MannandClaude Opus 5.5 6ae6d03cf0 ui-contract: a cover from another component's parts spans each part's grown hit area
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 17:55:45 +01:00
David MannandClaude Opus 5.5 cd1ab777be ui-contract: a cover from another component's parts is clipped to where each part shows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 17:48:17 +01:00
David MannandClaude Opus 5.5 62cb3207e8 ui-contract: a dialog in its own window moves by its title row where the platform answers the hit test (photocraft#17952)
Another component's widget over a drag band covers it only where that
component's parts take a press: a dialog's title row covers its band
with its close button, not with its whole row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 17:26:29 +01:00
Dylan M. Taylor d49ee8d237 Merge main and regenerate contract API after inspector changes 2026-11-29 10:07:01 -05:00
FredApps 9ad1dbf1b4 Retain unchanged UI registrations and keep worker repaints thread-safe (#4246)
* Retain unchanged UI registrations and keep worker repaints thread-safe

* Pin merged retained-paint egui with compatible paint visitors

* Verify edited owner state survives retained region transfers

* Seed retained-state regression through a writable stage

* Synchronize egui revision metadata and isolate the retained-state edit frame
2026-11-29 11:14:05 +01:00
dotCooCoo c04b57ecbf pointer: a move to the position of the last move does not stir the pass
The begin hook marked a pass as stirred for every PointerMoved event, so a canvas tool host re-hovered a still pointer, with a full hit test, on every pass that repeated the pointer's position. A move now stirs the pass only when it goes to a new position or carries a pen or touch reading. The last move's position is kept per viewport and cleared when the pointer leaves the window.
2026-11-28 19:05:16 -08:00
skylartaylor a770df044d Merge craft-libs main into the input and focus fixes 2026-11-29 03:56:53 +01:00
autocraft-bot[bot] 03bd2112a5 Merge main into design-port/pr-dialog-looks 2026-11-28 19:19:47 +00:00
skylartaylor 7e7128ad21 Merge craft-libs main and regenerate the contract catalog 2026-11-28 18:22:22 +01:00
skylartaylor dfd21cd773 Merge craft-libs main (40e0459086) without changing layout ownership 2026-11-27 18:31:00 +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 47ba4dfd38 Merge craft-libs#3801's head (b8bda06c2c) into fw365-int
Brings the pointer-move gate's per-root hover and press winners
(a885cd5f38) and the egui pin at storytold/egui#65's merge commit
932a73b2. The pointer trials keep both sides' additions.
2026-11-27 15:00:51 +00:00
David MannandClaude Opus 5.5 a885cd5f38 ui-contract: the pointer-move gate compares each root's hover and press winners
Overlapping shapes of one root can hit both points of a move while the
nearest centre picks another winner; the move now runs a pass then.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 12:14:56 +01:00
aiongg 0ff22c9503 A replay compares what pointer sensing gives the view's own components (FW-365 integration item 2)
Facts.roots held arena roots, so every view of an arena saw the pointer
over any member of it and ran. A run now notes the owners of the shapes
it registers (Facts.sensors); Under lists every owner under the point,
and Sensed keeps the hover winners, owners and root parts of the view's
own components. Egui widgets stay in Record.widgets.
2026-11-27 04:25:49 +00:00
skylartaylor ca82120680 ui-contract: a primary click carries the modifiers of the release that ended its own press, not the pass's last release, so an Alt-click in a pass that also releases the secondary button keeps its Alt 2026-11-27 05:12:40 +01:00
skylartaylor a8786edae3 Merge remote-tracking branch 'origin/main' into design-port/pr-dialog-looks 2026-11-27 04:51:02 +01:00
skylartaylor 7e85934986 Merge remote-tracking branch 'origin/main' into design-port/pr-input-focus 2026-11-27 04:51:01 +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
aiongg fb1285dbf9 Merge fw365-f5b-rows (c07dc92f2c) into fw365-int 2026-11-27 03:10:28 +00:00
aiongg 7b1b636644 feat(ui-contract): pointer::press_state, a press-state read that a pointer move leaves alone
Code that needs only the buttons held, the pass's press or its release read `pointer::frame`, which notes
`Input::Pointer`, so every pointer move anywhere ran the memoized view around it (PhotoCraft's canvas, FW-365 F4).
`press_state` notes `Input::Press`, which the begin hook moves on every press and release and now also when the
buttons held change. The trial checks that a reader replays on a move, with a button held or not, and runs on a press
and a release.
2026-11-27 02:07:18 +00:00
aiongg c07dc92f2c ui-contract: collection rows name the row under the pointer through hover-only parts
Each built item row of a collection declares a hover-only part over its rect,
above the collection's background and below its other parts and the row's own
shapes. Sensing reports every root's own parts under the pointer, on top or
not (pointer::Under::parts, read with pointer::parts_under), and a memoized
view's Sensed includes those of its roots. The collection takes a row's
hovered and pointer-over state, the hover lead and the rest wait from the row
part under the pointer instead of reading the hover position, so a move within
one row replays a view around the list and a move onto another row runs it.
The edge band still reads the hover position: it is drawn at the line nearest
the pointer.

Trials: a list of 10 and of 40 rows in a memoized view replays on moves within
a row, runs once on a move to another row, and the hover fill follows; a press
and its release, a wheel over a list, and a modifier change under the pointer
run the view; a replayed hovered view keeps its cursor; a tooltip runs its
view at the wake and when its layer first paints; Cx::hover_pos reads the
point over its part only and marks it as following the pointer for the
pointer-move gate.
2026-11-27 01:22:31 +00:00
aiongg 4fe31f5dc3 ui-contract: a settled view under the pointer replays while what sensing gives it is unchanged
A memoized view replays with the pointer over it unless its pointer facts
changed: the hover, parts and pointer-over of its roots and egui widgets at the
hover point (pointer::Sensed), the modifiers while it is under the pointer, a
move in a rect it follows, a wheel share or owed ease for a taker it registered,
a tap in it, or, while a drag session runs, the pointer over it. A press held
that started in it still runs it. A move within one part replays the view; a
move onto another part runs it.
2026-11-27 01:02:01 +00:00
aiongg 27e8a77145 ui-contract: one tracked hover-position read; cursor requests and pointer facts journaled
Reading where the pointer hovers marks what reads it as following the pointer:
Cx::hover_pos marks the part's hit area, and pointer::hover_point_in marks the
rect it reads in. PartResult::hover_pos is crate-private, member responses carry
the pointer only for a press, and the collections' row hover, edge band, the
menus, canvas, colour, timeline and font readers go through the accessors.
design-lint's contract/pointer rule bans egui's hover-position reads.

Cursor requests are journaled, so a replay requests its cursor again. A record
notes the arena roots, follows rects and wheel takers its run registered.
2026-11-27 01:01:58 +00:00
David MannandClaude Opus 5.5 b093185a33 perf(ui-contract): a pointer move that changes nothing under the pointer runs no pass (photocraft#17148)
pointer::gate_pointer_moves sets egui's pointer-move gate (storytold/egui#65):
a move with no button held needs a pass only when the pointer comes in, a
drag runs, either point lies in a rect that follows the pointer
(pointer::follows_pointer, journaled so replays keep it), or the layer, egui's
widgets (Context::widgets_at) or the component shapes under the two points
differ in the last finished pass. Opt-in per app. egui moves to the PR's head.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 23:34:01 +01:00
skylartaylor d76d12cb01 Dialog looks: the catalog entries that stopped mid-sentence now end one
Reviewer finding on #3448: entries in `docs/contract-api.md` ended mid-sentence
(`size_ok` at "a `min` that is", `label_decimals`, and the `WindowSpec`,
`pressed_part` and `icon_ink_on` summaries). The generator lists the first line
of each doc comment only, so each of those doc comments now opens with a
complete sentence and keeps the rest below it: `size_ok` says on its second line
that a `min` that is not a number counts as one unit, `label_decimals` keeps its
cases in the paragraph under the summary, and `WindowSpec`'s first line carries
the whole "what it is for, who draws its frame, where it stands and whether it
has a taskbar entry" sentence.

Regenerated with the branch's own generator; a second run leaves the file byte
for byte as it was. Every entry this branch adds or changes now ends in a full
stop. The rest of the file keeps the entries the base leaves truncated (1273 of
4820 entry lines still end mid-sentence, none of them touched here): sweeping
those, or teaching the generator to join a doc's first sentence, is a separate
change.

The regeneration also picks up two entries the branch's merges added without
regenerating (`Action::restore`, and `floated`'s doc).
2026-11-26 23:09:50 +01:00
dotCooCoo e2b46e33f1 Merge next into fix/test-kit-unused-items 2026-11-25 15:14:44 -08: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 8720a5e253 Merge remote-tracking branch 'origin/next' into design-port/pr-input-focus 2026-11-25 17:40:36 +01:00
aiongg fd7f86446f A floating window that takes over a held press opens its OS window once the press ends
The OS gives an OS window no press that went down in another window, so DockArea::continue_move had no effect
on a window the dock opens as one. The window shows in the app window while the press moves it: it follows the
pointer, marks where it would land and docks on release, as a tab drag does.
2026-11-25 15:13:06 +00:00
skylartaylor bab45a549e Merge origin/next into design-port/pr-docking-windows
Conflicts, all resolved by keeping both sides:
- docking/config.rs: next's ColumnCards import and flush_docks setter beside our PopupLayer, PanelTabShrink and tab_shrink setter.
- docking/flyout.rs: next's docked field and Flyout::docked beside our popup_layer prop.
- docking/iconic.rs: next's ActiveLook import with our FlyoutHeight and PopupLayer; the flyout takes both popup_layer(layer) and docked(self.framed).
- dock/area.rs: the iconic column takes our flyout_layer and next's tab_look and framed.
- tests/it/docking/columns.rs: next's craft_theme import with our Button and PopupLayer imports.
- tabs/mod.rs, tabs/tab.rs: next's TabCloseLook beside our PanelTabShrink.
- docs/contract-api.md: next's host_canvas wording, keeping the generated runtime::focus::is_focused entry.

Next does not cover any of this branch's changes.
2026-11-25 15:21:31 +01:00
skylartaylor 6f768f93d3 Merge origin/next (a165ef3a2) into design-port/pr-input-focus
One conflict, in docs/contract-api.md at the runtime::focus listing: next
removed focus::host_stop and reworded host_canvas (c933a9062); this branch
lists focus::is_focused. Took next's host_canvas line and dropped host_stop,
kept is_focused, which is public in next's source too. The other files
merged cleanly.
2026-11-25 15:20:43 +01:00
dotCooCoo 6bcf483cfb ui-contract: gate the suite trials' Layer re-export and lookup count on suite
The `svg_set::Layer` re-export and the `made_lookups` counter were gated
on `testing`, but their only readers, the icon and host key trials, are
gated on `suite`. A build with `testing` alone, which craft-ui-test-kit
turns on, left both unused, so
`cargo clippy -p craft-ui-test-kit --all-targets -- -D warnings` failed
on an unused import and a function that is never used.
2026-11-25 05:19:15 -08:00
skylartaylor e98efe8c8c Merge origin/next into design-port/pr-docking-windows
Conflicts, resolved in next's shape keeping this branch's behaviour:
- body/window.rs: next binds the press start (for start.handed); kept the
  shown rect the keep rule may have moved, and took origin from start.
- docking/group.rs: next's always-panel strip and shown_tab(); kept
  panel_shrink(row.shrink).
- docking/mod.rs: export both FlyoutHeight and next's PanelDocument.
- iconic/trials.rs: imports of both (DockColumn, FlyoutHeight,
  IconGroupSeparator, CELL).
- tabs/tab.rs: next counts the close button in parts and holds it beside the
  first letters; kept the ellipsis least, which now takes the close button
  from parts instead of adding it separately.
- docs/ui-docking.md: PanelSpec row lists FlyoutHeight and next's fields.
2026-11-25 04:49:36 +01:00
skylartaylor 108febfa57 Merge origin/next (d1920c54e) into design-port/pr-input-focus
Conflicts:
- value_drag/slider.rs: next added the TrackPress::OnPress follow-on-down path
  and kept press_at reading current(); kept next's shape and our mixed-aware
  press_at, so a press on a mixed slider still jumps to the pointer.
- tests/it/text/text_field.rs: both sides appended trials at the end; kept
  ours (wheel over focused fields) and next's (keeps_on_escape) side by side.

Next covers none of this branch's changes.
2026-11-25 04:49:14 +01:00
skylartaylor 1b65f4b1dd ui-contract press winners: the move band key lives in the runtime; pane trials press their title on the band
The press-winner rule in runtime/pointer.rs named crate::contract::MOVE_BAND, a
layer the runtime may not import (design-lint layer/import). The key is now
defined in runtime::pointer and the body step's window module uses it from there.

The pane trials a_pane_offers_and_takes_only_its_dock_edges and
escape_during_a_pane_title_drag_cancels_it_and_reaches_nothing_else pressed the
floating pane's title row at a fixed offset from its corner. A pane's window sizes
to its content, and there the offset lies on one of the row's buttons; the band
used to take the drag from under the button, which the title band rule now stops.
The trials now press a point of the row clear of every button, so the title drag
still starts the window's dock drag from the band, as they meant.
2026-11-25 04:46:54 +01:00
aiongg 7f085531fb Focus candidates: one per-pass set of what components made, and the stop roots as a set, replace the walks; an editor part's focus widget is its component's, so a disabled editor never becomes an app Tab stop 2026-11-25 02:19:56 +00:00
skylartaylor f8749c55e8 Merge branch 'design-port/fw-menu-outside-secondary' into design-port/pr-input-focus
# Conflicts:
#	docs/craft-framework.md
2026-11-25 03:08:13 +01:00
aiongg 271e9bf727 Dock: DockAreaOutput::pressed names the panel whose body a press went down in
A host body keeps its presses and its egui focus, so the group takes
no focus and DockAreaOutput::focused never names the panel clicked
into. BodyCx::pressed_within reports a primary press in the body's
rect on its layer whatever took it, sharing the press geometry with
surface_pressed, and the dock area reports the group's shown panel as
pressed.
2026-11-24 20:41:30 +00:00
skylartaylor 7102556d5c ui-contract press winners: a window's move band takes no drag from under a control over it, so a press-drag on a title bar's Home, menu title or caption button no longer moves the window and a double click on it no longer maximizes it; the free band still moves and zooms the window. Title bar trial under a press on a control over the band 2026-11-24 15:46:44 +01:00
skylartaylor 706226f571 Let a secondary press outside a menu reach the part below
A menu absorbed a press of any button outside it, so a right-click on another
control or the canvas closed the menu and was lost. The input hook's doc said
only primary presses are absorbed; now every outside press still closes the
menu, but only a primary one is removed, so a right-click elsewhere closes the
menu and opens the menu there, as in native apps.

Adds a trial: with a control's context menu open, a right-click on the canvas
closes it and the canvas asks for its own menu at that point.
2026-11-24 01:45:26 +01:00
Dylan M. Taylor b138b533fe Merge remote-tracking branch 'upstream/next' into pr-2809-merge
# Conflicts:
#	crates/automation/Cargo.toml
#	crates/automation/src/access.rs
#	crates/automation/src/synthetic.rs
#	crates/automation/tests/it/access.rs
#	crates/automation/tests/it/synthetic.rs
#	crates/behavior/src/codec.rs
#	crates/behavior/src/edit_history.rs
#	crates/behavior/src/lib.rs
#	crates/behavior/src/wheel.rs
#	crates/color-ui/src/ui/paint_chip.rs
#	crates/color-ui/src/ui/pair.rs
#	crates/color-ui/src/ui/palette.rs
#	crates/color-ui/src/ui/palette/stories.rs
#	crates/dialogs/src/service.rs
#	crates/draw/src/ui/transform/transform_box.rs
#	crates/draw/src/ui/transform/transform_box/stories.rs
#	crates/draw/tests/it/transform_box.rs
#	crates/font-manager/src/glyphs.rs
#	crates/font-manager/src/picker.rs
#	crates/font-manager/src/picker/rank.rs
#	crates/font-manager/src/picker/rows.rs
#	crates/font-manager/src/picker/stories.rs
#	crates/font-manager/tests/it/picker.rs
#	crates/host/src/lib.rs
#	crates/menu/src/context.rs
#	crates/menu/src/mac.rs
#	crates/menu/src/model.rs
#	crates/pages/src/ui/view.rs
#	crates/platform/README.md
#	crates/platform/src/browser_files.rs
#	crates/print/src/ui/dialog.rs
#	crates/print/src/ui/mod.rs
#	crates/print/src/ui/panel.rs
#	crates/print/src/ui/stories.rs
#	crates/print/tests/it/dialog.rs
#	crates/text/src/ui/character.rs
#	crates/text/src/ui/character/rows.rs
#	crates/text/src/ui/editor.rs
#	crates/text/tests/it/editor.rs
#	crates/text/tests/it/main.rs
#	crates/ui-canvas/src/canvas/mod.rs
#	crates/ui-canvas/src/canvas/split/stories.rs
#	crates/ui-canvas/src/canvas/tool_host.rs
#	crates/ui-canvas/src/canvas_controls/outline/mod.rs
#	crates/ui-canvas/src/canvas_controls/task_bar.rs
#	crates/ui-canvas/src/canvas_controls/task_bar/stories.rs
#	crates/ui-canvas/tests/it/canvas/navigate.rs
#	crates/ui-canvas/tests/it/canvas/tool_keys.rs
#	crates/ui-canvas/tests/it/canvas_controls/task_bar.rs
#	crates/ui-contract/src/contract/collection/props.rs
#	crates/ui-contract/src/contract/cx/pointer.rs
#	crates/ui-contract/src/contract/items/access.rs
#	crates/ui-contract/src/contract/items/drag.rs
#	crates/ui-contract/src/contract/items/lead.rs
#	crates/ui-contract/src/contract/label.rs
#	crates/ui-contract/src/contract/mod.rs
#	crates/ui-contract/src/contract/run.rs
#	crates/ui-contract/src/contract/steps/report.rs
#	crates/ui-contract/src/contract/steps/update.rs
#	crates/ui-contract/src/primitives/mod.rs
#	crates/ui-contract/src/primitives/sensing.rs
#	crates/ui-contract/src/primitives/text_adapter.rs
#	crates/ui-contract/src/primitives/text_input.rs
#	crates/ui-contract/src/runtime/access/emit.rs
#	crates/ui-contract/src/runtime/access/text.rs
#	crates/ui-contract/src/runtime/commands/board.rs
#	crates/ui-contract/src/runtime/commands/mod.rs
#	crates/ui-contract/src/runtime/drag.rs
#	crates/ui-contract/src/runtime/egui/access.rs
#	crates/ui-contract/src/runtime/egui/access/tree.rs
#	crates/ui-contract/src/runtime/egui/input.rs
#	crates/ui-contract/src/runtime/env.rs
#	crates/ui-contract/src/runtime/focus/nav.rs
#	crates/ui-contract/src/runtime/frame.rs
#	crates/ui-contract/src/runtime/keys.rs
#	crates/ui-contract/src/runtime/keys/claims.rs
#	crates/ui-contract/src/runtime/keys/input.rs
#	crates/ui-contract/src/runtime/keys/route.rs
#	crates/ui-contract/src/runtime/pointer.rs
#	crates/ui-contract/src/runtime/windows.rs
#	crates/ui-contract/src/testing/fixture.rs
#	crates/ui-contract/src/testing/host_key_trials.rs
#	crates/ui-contract/tests/it/collection/rows.rs
#	crates/ui-contract/tests/it/drag/mod.rs
#	crates/ui-contract/tests/it/runtime/wheel.rs
#	crates/ui-macros/src/props.rs
#	crates/ui-panels/src/dialog/mod.rs
#	crates/ui-panels/src/dialog/prompts.rs
#	crates/ui-panels/src/dialog/recovery.rs
#	crates/ui-panels/src/dialog/trials.rs
#	crates/ui-panels/src/dialog/words.rs
#	crates/ui-panels/src/rails/drawer.rs
#	crates/ui-panels/src/rails/drawer/stories.rs
#	crates/ui-panels/src/rails/tool/trials.rs
#	crates/ui-panels/src/sections/footer.rs
#	crates/ui-panels/tests/it/rails/drawer.rs
#	crates/ui-patterns/src/patterns/dock/area.rs
#	crates/ui-patterns/src/patterns/form_dialogs/about.rs
#	crates/ui-patterns/src/patterns/form_dialogs/dialog.rs
#	crates/ui-patterns/src/patterns/form_dialogs/dialog/stories.rs
#	crates/ui-patterns/src/patterns/form_dialogs/host_requests.rs
#	crates/ui-patterns/src/patterns/form_dialogs/mod.rs
#	crates/ui-patterns/src/patterns/form_dialogs/param.rs
#	crates/ui-patterns/src/patterns/form_dialogs/properties.rs
#	crates/ui-patterns/src/patterns/form_dialogs/properties/stories.rs
#	crates/ui-patterns/src/patterns/form_dialogs/rows.rs
#	crates/ui-patterns/src/patterns/form_dialogs/rows/stories.rs
#	crates/ui-patterns/src/patterns/panels/history.rs
#	crates/ui-patterns/src/patterns/preferences/document/model.rs
#	crates/ui-patterns/src/patterns/preferences/model.rs
#	crates/ui-patterns/src/patterns/preferences/page.rs
#	crates/ui-patterns/src/patterns/preferences/rows.rs
#	crates/ui-patterns/src/patterns/preferences/window.rs
#	crates/ui-patterns/src/patterns/preferences/window/stories.rs
#	crates/ui-patterns/src/patterns/presets/browser.rs
#	crates/ui-patterns/tests/it/docking/group_view.rs
#	crates/ui-patterns/tests/it/form_dialogs/dialog.rs
#	crates/ui-patterns/tests/it/form_dialogs/params.rs
#	crates/ui-patterns/tests/it/preferences/model.rs
#	crates/ui-shell/src/shell/start.rs
#	crates/ui-shell/src/shell/start/stories.rs
#	crates/ui-widgets/src/buttons/icon_button.rs
#	crates/ui-widgets/src/buttons/mod.rs
#	crates/ui-widgets/src/buttons/stories.rs
#	crates/ui-widgets/src/choice/swatch.rs
#	crates/ui-widgets/src/choice/swatch_table.rs
#	crates/ui-widgets/src/display/text.rs
#	crates/ui-widgets/src/form/slider_field.rs
#	crates/ui-widgets/src/layout_components/mod.rs
#	crates/ui-widgets/src/list/mod.rs
#	crates/ui-widgets/src/list/row/paint.rs
#	crates/ui-widgets/src/list/row/show.rs
#	crates/ui-widgets/src/list/stories.rs
#	crates/ui-widgets/src/list/view.rs
#	crates/ui-widgets/src/list/view_stories.rs
#	crates/ui-widgets/src/menu/mod.rs
#	crates/ui-widgets/src/menu/stories.rs
#	crates/ui-widgets/src/pickers/select.rs
#	crates/ui-widgets/src/tabs/document.rs
#	crates/ui-widgets/src/text/number.rs
#	crates/ui-widgets/src/text/zoom_field.rs
#	crates/ui-widgets/src/tile_grid/grid.rs
#	crates/ui-widgets/src/tile_grid/grid/stories.rs
#	crates/ui-widgets/src/tile_grid/mod.rs
#	crates/ui-widgets/tests/it/label/tooltip.rs
#	crates/ui-widgets/tests/it/popover/popup.rs
#	crates/ui-widgets/tests/it/tabs.rs
#	crates/ui-widgets/tests/it/text/mod.rs
#	crates/ui-widgets/tests/it/text/number.rs
#	crates/ui-widgets/tests/it/tile_grid/grid.rs
#	crates/window/Cargo.toml
#	docs/components-index.md
#	docs/porting.md
2026-11-23 19:01:32 -05:00
bflatastic 3a90546e2a ui-contract, ui-test-kit: a press egui gives a component's text widget (a focused field's) is no press on its container's own surface, so a second click into a focused field in a dock group no longer hands the focus to the panel's tab, whose Escape and Enter then never reached the window; test kit Windows::root_env sends an app's root values 2026-11-24 02:03:20 +07:00
Dylan M. Taylor 6a89835982 fw sync: design lint clean (107 findings to 0): non_exhaustive or closed list, #[prop] setters, layer imports moved down (begin hook, line-break chord, scroll move targets), session memory, story consts, marker exceptions with reasons 2026-11-23 02:10:46 -05:00
bflatastic ac24169b19 ui-contract: a press that moves past slop leaves the click run, so the press after a drag is a single press, as only clicks counted toward a double click in the old apps 2026-11-23 12:18:28 +07:00
Dylan M. Taylor a9126c6a72 fw-sync fw-contract-runtime: resolve ui-contract runtime, egui glue, fonts, style, testing kit, manifest and runtime trials
Union of the port's and upstream next's changes: document-face chains carried onto
upstream's over-interface faces (one begin-pass edit), refused/declined commands and
requested pastes onto the rewritten command board (resolve_once, Instances), drop
operations beside region tokens in drag registration, wheel layers/exit gate/modal
family beside scroll_owner_inside, locate_wheel beside press records, text_edit
scroll + submit_key, both focus/policy additions, test module lists and trials.
2026-11-22 22:57:47 -05:00
Dylan M. Taylor cb3101725c sync skeleton: origin/next 118f1d2ff9 into pdf-port/gaps ea77c1676f, markers left
257 conflicted files staged with their conflict markers (630 hunks). The one
modify/delete, crates/ui-patterns/src/patterns/preferences/body.rs (deleted
upstream, modified by the port), keeps the port's file for its area to carry
into upstream's preferences/page.rs. Plan: landing/fw-sync-plan.md.
2026-11-22 22:42:09 -05:00
bflatastic 20e9257bd1 ui-contract: an Escape over a captured press cancels it whatever the modifiers, so Cmd+Escape ends a borrowed tool's drag 2026-11-23 05:41:39 +07:00
bflatastic 56a174652c ui-contract: a drop lands where the button went up (PointerFrame::pick_pos), not where the pointer ends the frame 2026-11-23 05:37:46 +07:00