Commit Graph
453 Commits
Author SHA1 Message Date
aiongg 2f8d73e7cf Merge storytold next into next-host-input
Conflicts resolved so that next's changes and this branch's fixes both hold:
- keys: next's unfocused-canvas state claims join the key stage's framework claims; the canvas's
  declared claims stay the host's (egui keeps their presses).
- overlay: the app's own modal (`FrameInput::app_modal`) joins next's modal stack at the frame it
  first showed in.
- docking: the tab-pick trial moves key focus into the group with Tab, since a click on a dock tab
  leaves key focus where it is.
2026-11-24 15:37:34 +00:00
bflatastic d8a00e1e92 Merge remote-tracking branch 'origin/next' into fix/vc-tabs-sections 2026-11-24 18:55:47 +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 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 0e41edc671 Merge remote-tracking branch 'origin/next' into fix/vc-chips-headers 2026-11-24 14:31:44 +07: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 d0e1ca86fa docking: DockConfig::panel_menu_icon picks the panel menu button's icon, more by default 2026-11-24 13:14:08 +07:00
bflatastic ddd2e3c4e6 Filled push buttons: an Emphasis::Filled look on a new surface.control token, and PushButtonLook for an app's default
A filled neutral tile with no edge at rest takes the hover fill and the control edge under the pointer and the
pressed fill with the accent edge under the press; disabled, it dims as a solid one does. surface.control follows
state.hover unless pinned, so only the VectorCraft Modern themes, which pin production's button fills, change.
An app sets PushButtonLook::Filled at its root to make it the default of its push and split buttons; a ribbon
keeps its flat look and toggles keep the outline.
2026-11-24 12:57:13 +07:00
bflatastic fe138f934f docking: DockConfig::panel_menu_always gives every group its panel menu button 2026-11-24 12:35:00 +07:00
aiongg c13c6eeed5 docs: regenerate the components index 2026-11-24 03:28:05 +00:00
aiongg 3a10c49a2c Quit is a framework command, and the update dialogs show the icon the app gives its host
- QuitCommand::Quit (window.quit, Cmd+Q) replaces egui's quit shortcut, which the runtime clears at
  install. The runtime runs it from any source through the root window's close path, so the app's
  close decision asks about unsaved work. Its default yields to another command bound to the chord,
  as the window shortcuts' defaults do (library::yields_default).
- HostBuilder::icon_png gives the app's icon once, beside its AppInfo; the update dialogs show it in
  their head instead of the name's initial.
- Docs: craft-framework.md §2.2 Quit and Zoom keys rows, craft-host README.
2026-11-24 02:30:10 +00:00
aiongg 5d9f4b62cb Hosted egui apps on next: host code runs once per pass, and the app's own modal blocks its other windows
A dock panel's egui code (PanelSpec::host_body) ran in the framework's
measuring runs too, so egui saw its widgets twice per pass at two rects
and painted ID-clash warnings. HostStyle::show runs it in the real run
only; a measuring run takes the size its last real run took.

FrameInput::app_modal names the window where the app's own egui code
shows a modal; the app's other windows (native floats among them) are
blocked through the same path as under a framework app-modal layer.
2026-11-24 02:14:13 +00:00
aiongg 22e82c930e Keymap: warn about shortcut overrides that name no command; framework doc names the pane and menu-bar command ids 2026-11-24 00:49:06 +00:00
aiongg 1b0ffe1ada Hosted egui apps on next: dock tabs keep key focus, floats stack with app windows, host bodies keep the app's background
- A pointer press on a dock's panel tab (a click, a drag's press, the tab menu's secondary press)
  leaves key focus where it was (`TabStrip::keeps_focus`), so an app's own shortcuts keep working
  after a tab drag or the tab menu; Tab still reaches the tabs. A press on a `host_body` panel's
  body is the app's and no longer focuses the group's tabs.
- Floating windows leave the overlay's `set_layer_order` list and stack in egui's own area order,
  which raises a layer when it first shows and when it is pressed: an app's own egui dialog opened
  over a floating panel shows above it.
- A `host_body` panel's body is filled with the host style's panel fill (`HostStyle::paint_panel`)
  and gets no body padding, as it showed outside the dock.
- Trials: tab presses keep focus, float order against an app window, the host body's fill and room,
  and an unbound F6 reaching a hosted canvas (alone, and in a dock of host_body panels).
2026-11-24 00:31:19 +00: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
aiongg 55fef13aaf Hosted egui apps on next: canvas claims, Ctrl+wheel pinch switch, host style in dock bodies
- The key target's declared claims count for Alt-code entry and the key stage: with nothing
  focused the window's document canvas (`host_canvas`) stands for the focused component, so an
  app's Alt+digit shortcut it claims reaches it on Windows and Linux. A host stop's claimed press
  stays in egui's input, where the app reads it, focused or as the unfocused key target.
- `RootEnv::ctrl_wheel_pinch` (default on) makes the fold of a fractional Ctrl+wheel into
  `Event::Zoom` a host choice: off, the wheel event stays as sent, for an app whose Ctrl+wheel
  does something else or zooms at its own rate.
- `PanelSpec::host_body` marks a panel whose body is the app's own egui code: the dock hands its
  body, footer, header, rail footer and group view the style of the `Ui` the dock was shown in
  (`HostStyle`), while framework bodies keep the group's spacing.
2026-11-23 23:21:49 +00:00
Dylan M. TaylorandClaude 7c0ae3e639 fw sync: merge craft-libs next e3ca63165 (149 commits) into pdf-port/sync
Conflicts resolved (upstream's design and defaults win; the port's opt-ins stay):
- ui-contract fonts: upstream's served-faces provider, catalog job queue and byte budget;
  the port's FaceBytes::chain (Word subset siblings, F-8) re-done on the provider: a served
  face lists its served chain faces before the interface faces, a sibling landing after its
  owner remakes egui's fonts once, drawing a face marks its chain drawn. The port's chain
  trial moves onto upstream's rig, plus a late-sibling trial.
- text editor HostCx follows FacesCx's job-based document_face and document_face_bytes.
- ui-widgets Swatch: upstream's SwatchFill (split, spectrum, image, empty) with the port's
  Swatch::optional / SwatchFace::optional (new SwatchFill::None, the "no colour" diagonal)
  and Swatch::icon (glyph on the empty well) on top; both word sets kept.
- draw PaintBar: upstream's MixerLoad fill.
- font-manager: upstream's sample band; host rows (port) use it too.
- ui-panels / ui-patterns dock grips: upstream's drag_origin and named slack.
- platform clipboard tests: both trials kept.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-23 12:54:08 -05:00
bflatastic 6fdb4265ab Merge remote-tracking branch 'origin/next' into sync/delta11 2026-11-23 21:28:41 +07:00
aiongg 60e39bc320 cl doctor: dev-dependency features across the egui crates
The dev-dependency rule covered egui alone; epaint_default_fonts slipped past
it. It now checks the egui crates every framework crate builds on (egui, epaint,
epaint_default_fonts, emath, ecolor): a feature a dev-dependency line asks of one
must also be asked by a normal line, feature-root's included.
2026-11-23 10:55:18 +00:00
aiongg 4304f51ff0 cl doctor: rules for the split UI test kit
Since #2363, craft-ui-contract's testing no longer carries snapshot and the
framework crates have a suite feature. Every cl command still resolves one
framework feature set (feature-root brings the gallery's craft-ui suite), so the
three doctor reports were out of date, not second builds:

- drop the pin on craft-ui-contract's testing including snapshot: each framework
  crate's suite forwards to the runtime's suite, which cl picks first
- the gallery's must-be-optional rule covers domain crates, not the framework
- the story renderer's lines are compared with the features the gallery's lines
  turn on, implied features included (suite implies testing)

CL_DRY_RUN with cl render no longer runs the renderer after printing the command.
2026-11-23 10:54:17 +00:00
Dylan M. Taylor 4db8b37820 fw sync: docs: components index regenerated by its generator; api-map shape (new setters name old = new, password_strength as a call rewrite) 2026-11-23 02:35:10 -05:00
bflatastic 0a4d309686 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	Cargo.toml
#	crates/font-manager/src/picker/rank.rs
#	crates/font-manager/src/picker/rows.rs
#	crates/ui-panels/src/docking/group.rs
#	crates/ui-panels/src/docking/iconic/trials.rs
#	crates/ui-patterns/src/patterns/dock/area.rs
#	crates/ui-widgets/src/choice/mod.rs
#	crates/ui-widgets/src/choice/swatch.rs
#	crates/ui-widgets/src/choice/swatch/stories.rs
#	docs/contract-api.md
2026-11-23 13:53:35 +07:00
aiongg 81868fe734 Merge remote-tracking branch 'upstream/next' into font-picker-speed 2026-11-23 04:54:41 +00:00
aiongg 3b629776d8 Testing runtime runs background work inline: InstallSpec::jobs and Env::jobs_of
Story trials have no host, so document-face and texture loads ran on default_jobs' threads and a fixture
could settle before a face landed (StyleList::variants on Windows: rtl 52.0 vs 52.8, motion shapes change
after the drive). InstallSpec::jobs sets where a context's background work runs while no host is installed;
Env::jobs_of (host, else installed, else default_jobs) replaces the two copies in the face registry and the
texture loader. testing::install_spec and the suite's language hosts use InlineJobs, so a load asked for in
one pass lands in the next on every machine; the two per-story InlineJobs options go.
2026-11-23 04:43:29 +00:00
bflatastic 7d61a755c9 docs: regenerate contract-api for Reader::split_unit and contract::response_of 2026-11-23 11:32:56 +07:00
bflatastic 1385f0ff3d ui-contract: a held Escape cancels once: its repeats raise no Cancel, focused or not 2026-11-23 11:21:26 +07:00
Dylan M. Taylor 84dd65f487 fw-sync fw-menu-misc: resolve menu, behavior, automation, font picker, theme, color-ui, docs, vendor, Cargo.lock
menu: upstream's memoised bar and English names in the model, with the port's icons/compact
options and disabled submenus. behavior: press keeps both the pointer-left and pass-drag
states; KeyRole gains PartialEq/Eq. automation: agents deps via craft-control, screenshot
params with region, document points with a page. font picker: upstream's column list, kinds,
actions and missing note, with the port's host groups, current host row and mixed label.
theme: wordcraft and pdfcraft app palettes. Cargo.lock: port side; vendor jbig2: upstream.
2026-11-22 22:58:08 -05:00
bflatastic 443a05c863 docs: regenerate contract-api for SubNode::run_link's removal, EditorStep, ItemLayout::set_fit, Fired's place and FrameOutput::dimmed 2026-11-23 10:52:58 +07: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
aiongg 8c4e115ea4 docs/contract-api.md: regenerated (document_face's job and the face bytes; also ColumnSpec::at_least and data_fill_tiled, which next's copy lacked) 2026-11-23 03:27:14 +00:00
aiongg cf35f7dbae Merge remote-tracking branch 'upstream/main' into next-sync-1123
# Conflicts:
#	Cargo.toml
#	crates/audio/src/track.rs
2026-11-23 01:29:52 +00:00
bflatastic 0e9af5befe Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/ui-panels/src/docking/group.rs
2026-11-23 08:00:44 +07:00
bflatastic e1c00aac13 docs: regenerate contract-api for the drag payloads, CollectionEvent::Picked and CollectionKind::Picked 2026-11-23 07:00:26 +07:00
bflatastic a7ff91cd16 docs: regenerate contract-api for PointerFrame::pick_pos 2026-11-23 06:12:13 +07:00
David MannandClaude Opus 5.5 55d3a66134 Dock: a docked tool rail column takes the dock's height; tight-gap dividers (photocraft#16461)
A docked stepped column (a tool rail) was clamped to its content's height, so under a docked
toolbar the window background showed instead of the toolbar's surface. The reference
application keeps the docked toolbar's column surface down to the dock's foot, with the tools
at the top. Docked, a stepped column now takes the dock's height like any column; a floating
stepped window stays as tall as its content.

The dividers between docked columns and between a dock and the document area were the inline
gap (6 px comfortable, 4 compact); the reference application's are 3 px at 100%. They are now
the tight gap (3 px comfortable, 2 compact).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:16 +01:00
bflatastic 9f99a64cf7 docs: regenerate contract-api 2026-11-23 05:07:04 +07:00
bflatastic 534db793a0 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/font-manager/tests/it/picker.rs
#	crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-23 04:35:03 +07:00
bflatastic d467ed3dcd Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/font-catalog/src/tests.rs
#	crates/font-manager/src/picker.rs
#	crates/font-manager/src/picker/rows.rs
#	crates/font-manager/src/picker/stories.rs
#	crates/ui-patterns/src/patterns/panels/palette.rs
#	crates/ui-patterns/src/patterns/presets/browser.rs
#	crates/ui-widgets/src/list/mod.rs
#	crates/ui-widgets/src/list/view.rs
2026-11-23 02:15:44 +07:00
bflatastic 6f69df0e47 docs: regenerate contract-api.md 2026-11-23 02:05:06 +07:00
aiongg fe271bf574 Dropdowns name the list that takes their opener's keys
A dropdown's opener (a picker's field or button) hands Up, Down, Page keys,
Enter and Tab to a collection in its dropdown. The framework took the first
type-ahead collection it found in the layer. The font picker's dropdown holds
the class column before the family list, so with filters shown Enter and the
arrows went to the class column: typing a name and pressing Enter picked
nothing.

Overlay::list (FocusPolicy::list) names the collection instead, and every
dropdown names its list: Select, ComboBox, TreePicker, completions, number
presets, PopupList (new PopupList::list) and the font picker, which names its
family list while it shows one. The type-ahead guess is gone.
2026-11-22 18:59:40 +00:00
bflatastic 9c58208bba ui-contract: an Alt+letter the keymap binds to an enabled command runs it instead of opening the menu with that mnemonic 2026-11-23 00:50:14 +07:00
bflatastic 0720c236eb docs: regenerate components-index.md from the registrations 2026-11-22 23:33:11 +07:00
bflatastic 8206a076a2 ui-contract: a focused stop that is no longer shown leaves focus nowhere; only a removed child of a collection row hands it back to the row
behavior: after_removal goes with the rule it served. The spec trials state the new rule.
2026-11-22 18:15:04 +07:00
Dylan M. Taylor 644e6ff8c3 Inverse surface role (surface.inverse, text.on_inverse) in every theme; toasts use it (L-300) 2026-11-22 00:34:03 -05:00
aiongg 8d39ecb4db ui-shell: embed::before_ui takes the root window's handle, outside the app feature
An app with its own eframe App and without ui-shell's app feature (which turns
on egui's default fonts) could not call before_ui, so its root window on
Windows got no hit sink: corner resizes and title-bar moves started late,
through the grips' StartResize. before_ui now takes any
raw_window_handle::HasWindowHandle (eframe's Frame), and it and the first fit
build without app. Native only: the browser has no native window.

The trial checks that with the sink installed, the window region's corner and
title bar answer the platform's hit test and a corner drag sends no
BeginResize.
2026-11-22 03:17:29 +00:00
bflatastic fec30bbd83 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/ui-contract/tests/it/runtime/mod.rs
#	crates/ui-shell/src/shell/app_shell.rs
#	crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-22 09:57:26 +07:00
aiongg 750a9bdd57 Merge pull request #2896 from aiongg/rework-d3
Focus: a removal's new focus is not revealed; the canvas text editor returns the focus to the canvas
2026-11-21 21:17:56 -05:00
bflatastic 997acb41e1 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/ui-patterns/src/patterns/form_dialogs/about.rs
2026-11-22 07:42:50 +07:00
David MannandClaude Opus 5.5 9597f188d5 Docking: grips are the reference's upright ticks; a tool rail gets a grip under its column bar (photocraft#16332, photocraft#16333)
The grip above each icon group of a collapsed column was a dotted hairline in a lighter ink than the panel
(7bf0a9b6d, e5e007233). The reference application draws its dock grips as ten upright ticks, one point wide,
four tall and one apart, a little darker than the panel in every interface colour, the same under the pointer.
`GripMarks` paints that row, through the new `Rule::ticks` (the dotted rule is now its square case) and
`Draw::grip_ticks` (exactly `count` marks at every scale).

A tool rail the host shows itself (a panel with a `DockGrid`, taken by `group_view`) now gets a grip strip of
`DockSizes::grip` on top, under its column bar: a `GroupGrip` with the ticks, whose drag moves the rail's group.
The host's view gets the room under it, and the group measures the strip on top of the view's height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:32:50 +01:00
bflatastic 5ecba486c3 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/behavior/src/overlay.rs
#	crates/ui-canvas/src/canvas_controls/guides/mod.rs
#	crates/ui-contract/src/contract/label/step.rs
#	crates/ui-contract/src/contract/overlay/placement.rs
#	crates/ui-contract/src/contract/tooltip.rs
#	crates/ui-patterns/tests/it/docking/native.rs
#	crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-22 02:11:13 +07:00