Commit Graph
138 Commits
Author SHA1 Message Date
Martin BallandClaude Opus 5.5 27c2cbf821 tests: pin the OS in two layout tests that fail on macOS (#4257)
Fixes #4256.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 10:32:25 +00:00
BFlat 26ec225e83 Merge pull request #4006 from hnoerenberg/fix/screen-mode-tab-chrome-16841
fix(ui-shell): Tab in standard screen mode hides only the editor chrome (photocraft #16841)
2026-11-29 13:14:51 +07:00
dotCooCoo 0db06097fa fix(ui-shell): open status bar menus right above their control
A menu opened in a bottom slot stayed above every bottom slot, so a
status bar menu opened about 24 pt above its control when a help bar
sat between the status bar and the canvas. Popups opened in a bottom
slot now stay above only the bottom slots outside it; popups the body
opens still end above every bottom slot.
2026-11-28 18:07:09 -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
hnoerenberg eccdfcd5b5 test(ui-shell): pin the neighbours of the standard-mode chrome hiding
The standard-mode trial now also shows what Tab again restores (slot for
slot, and the body's flag back to false), refuses Shift+Tab while the
bars hide, as Shift+Tab is refused while the window is body-only, and
lets ShowPanels end the chrome hiding too.
2026-11-28 05:47:00 +01:00
hnoerenberg 92016bd894 fix(ui-shell): Tab in standard mode hides the bars, keeps title and status
In standard screen mode Tab hid every slot and panel, so the window lost its
menu bar, its status bar and its document tabs. That hiding belongs to the
body-only state machine; the editor's chrome bars deserve their own. Reveal
grows a chrome state, toggled by Panels in standard mode: the options bar and
the rails built by options_bar/top/bottom/start/end hide and reveal like
body-only slots (edge reveal and the pin keep working), while the title and
status slots stay shown and the window does not become body-only. The pass
carries the state to the body through ShellCx::chrome_hidden, so the dock
machinery hides the panel docks, their toolbar and the floating windows with
them and the document tabs stay. Full Screen Mode With Menu Bar and Full
Screen keep the old state. A screen-mode change and ShowPanels clear it.

Part of storytold/photocraft#16841.
2026-11-28 03:22:34 +01:00
skylartaylor dfd21cd773 Merge craft-libs main (40e0459086) without changing layout ownership 2026-11-27 18:31:00 +01: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
skylartaylor 246f99c684 Merge craft-libs main (c0977ad6): docs regenerated, nothing else 2026-11-27 08:27:41 +01:00
aiongg 7f4311f96f A memoized view's key is its content's version: bodies inside measure afresh in a run with a new key (FW-365)
A container's kept transcript keyed on its props, room and env only, so a view
that ran with new props (a shell slot's new version) took its bodies' old
measures, found the change only in the real run and moved a content slot in the
next frame. The view's key, when it follows every input, now reaches the
measure key (Scoped::view_version, EnvFacts::view); a key fed through
changes_every_pass gives none (MemoKey::follows). A toolbar resize runs its
view once, in one pass.
2026-11-27 07:26:32 +00:00
aiongg 6e11c7efd6 ui-shell trial: the status slot's hover fade ends before its version changes (FW-365 F3) 2026-11-27 06:47:51 +00:00
aiongg c417cd3050 feat(ui-shell): shell slots take the host's version and replay as memoized views (FW-365 F3)
Every slot and the full-window page take a version function of the app
state, read at the slot's turn in the pass. While it holds and no input
reaches the slot, the slot's chrome pane and its content replay their
last run; None runs the slot in every pass. The body runs every pass.

The MemoProps derive leaves a type parameter that only covered_by fields
name unbound, so a view can hold the shell's &mut S. PaneEdge derives
MemoProps.
2026-11-27 03:31:12 +00:00
skylartaylor 8bc61c8621 Merge remote-tracking branch 'origin/main' into design-port/pr-docking-windows 2026-11-26 22:08:05 +01:00
dotCooCoo a909963f28 ui-shell: start page links stand on the panel surface
The theme holds link text (accent.text) to the 4.5:1 text minimum on the
panel, raised and sunken surfaces. The start page drew its links on
surface.page (Column) or the canvas surround (Gallery, Greeting), where
several light themes read below it.

- The Column page's plain links, the rail's links, the links after the
  sections and the Greeting page's more-templates link stand on a panel
  surface.
- The theme changes are reverted: the accent.text rule, the pinned link
  colors, the app overrides and Classic's high-contrast page are as on
  next, and the token dumps are unchanged.
2026-11-25 19:52:44 -08:00
batistalucasv c13ec14cf3 ui-test-kit: preserve FrameInput installed before Windows::frame_with_files 2026-11-25 15:13:25 -03:00
skylartaylor 06c665c85c Title bar trial: the grab hand shows over the free band only, not over menu titles that take the press 2026-11-25 16:58:51 +01: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
bflatastic 963ba7c7aa Move bands: MoveBandCursor::Arrow keeps the arrow (opt-in)
A DragBand::Move band declares the open hand, and since egui hands a drag that starts on a
click-only widget to the drag widget below it, the band is hovered under the menu titles and
buttons of a title bar too, so its hand shows over them. Under MoveBandCursor::Arrow the band
declares no cursor: the band and the controls on it show the arrow, as an OS title bar does. The
default, Hand, keeps today's cursors. Trial: a_move_band_shows_the_arrow_when_the_app_asks.
2026-11-25 18:22:12 +07:00
bflatastic 6fcf61c816 overlay: a raise asked in the pass the floating windows show again holds: egui raises every layer that shows again and keeps the old order among them, so the asked raise is asked again in the next pass (Persist::raise_again). A document window raised as Presentation Mode ends comes to the front. Trial a_window_raised_as_the_windows_show_again_comes_to_the_front 2026-11-25 15:42:17 +07:00
bflatastic 9ff5832607 theme, ui-contract, ui-widgets, ui-shell: a page's rhythm as size.page tokens, opt-in. size.page.gap.{title, lead, actions, section, heading, link} (Gap::PageTitle and its siblings) space a Column start page's title and subtitle, New and Open under them and beside each other, its sections, a section heading over its body and its links; size.page.link is a plain link's least row height; ControlPlace::PageAction stands New and Open at least size.page.button high with at least size.page.button_side beside their labels. The size sets give every gap the value of the gap it stands in for, size.page.button a push button's height and the rest 0, and an app's override of a followed value carries to the page's (FOLLOWS now follows a chain), so no app or story changes until an app sets them (the token dumps gain only the new lines). Story button_as_page_action; trials a_column_page_takes_its_rhythm_from_the_page_sizes, a_page_follows_the_values_it_stands_in_for_unless_the_app_sets_its_own; dumps updated 2026-11-25 15:20:32 +07:00
bflatastic 205803ee6d theme, ui-widgets, ui-patterns, ui-shell: every Home look opt-in. New Document's preset cards keep the ink page outline by default; PresetCardLook::Page (env style) gives Tile::page on a flat page card. CardText::Page: a strong name on up to two centred lines, the detail right under it, a flat card with the hover fill and an accent edge when selected. surface.page (follows surface.canvas unless pinned; VectorCraft's themes pin production's page colour), size.page.margin and size.page.action; ControlPlace::CallToAction stands a button size.page.action high with a strong label; Stack and the other containers take pad_edges. StartScreen new_label and open_label; the Column page fills surface.page, keeps the page margin beside the column and size.page.margin above and below it, and stands its call to action in ControlPlace::CallToAction; page templates are page cards. Stories button_as_call_to_action, tile_page as a page card; trials; dumps gain the three tokens 2026-11-25 10:52:00 +07:00
bflatastic 8a133a094b theme, ui-widgets, ui-patterns, ui-shell: StartLayout::Column, one centred column at most size.page.column (820) wide a page margin from every edge: title (Display) and subtitle, New and Open centred, the recent files as rows only when there are any, the app's section, the templates as cards that keep their size and wrap, the links under links_title centred without icons and StartLink::primary as a primary pill with its icon; templates_title prop. Tile::page, blank paper on the popup surface's shadow fitted to the picture, now New Document's preset card and a Template's with Template::page. Stories start_screen_column, start_screen_column_without_files, tile_page; trials; New Document's page trial checks the filled page; dumps updated 2026-11-25 10:51:59 +07:00
skylartaylor 17dcb3d0f6 Merge branch 'design-port/fw-title-band-controls' into design-port/pr-docking-windows 2026-11-25 03:10:22 +01:00
skylartaylor 525743f824 ui-contract viewports: the window's movable flag read between passes answers for the viewport's last pass. egui counts a pass when it ends, so read after the frame the flag the pass wrote looked stale and said the window was movable everywhere, over a title bar's Home button too. Title bar trial under the movable flag over a control and over the free band, with a measuring run before the drawn run 2026-11-24 18:07:16 +01: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
aiongg f6290898c4 Merge remote-tracking branch 'upstream/next' into rc-next-regressions
# Conflicts:
#	crates/ui-contract/src/layout/mod.rs
#	crates/ui-shell/tests/it/shell/title_bar.rs
2026-11-24 13:35:21 +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
aiongg 6692f1b83a A memoized view whose content fills the axis its body shares is one of the children that fill that body
A MemoView in a Stack or Row body that shares its height or width counted as one unit sized by its content's measure,
so a fill child inside took its measured size: a whole title bar shown through a memoized view in the shell's title
slot spanned only brand, menus and captions, the captions sat after Help and no title was painted (the title's gap
takes no width of its own since F-24). A direct child of the view's content that is given the shared axis to fill now
tells the view (Scoped::fill_view, noted in layout::fill_size). The body counts the view in the first sweep of its
measuring run and gives it its share as the room of its place, as it does a child that fills it directly; the axis is
kept with the view's measure (lazy::Measured::fills), so replays keep it and an idle frame still replays every call.
A row unit in a row that does not share its width keeps sizing its content from its content along x.
2026-11-24 08:05:29 +00:00
bflatastic 161c99c637 ui-contract, title bar: layout::end_group places a row's end group at its end edge, its members ranked units of the row's fit; TitleBar::show_fitted shows the trailing content as the body's end group, so its ranked members leave before the menus fold 2026-11-24 13:37:29 +07:00
bflatastic 4ae91846fa title bar: take show_fitted out again; with caption buttons its trailing content stops short of the end and a ranked member narrows instead of leaving 2026-11-24 12:57:16 +07:00
bflatastic 9450c7fa7a title bar: show_fitted puts the trailing content after the body on its line, so ranked members leave before the leading content narrows 2026-11-24 12:25:28 +07:00
skylartaylor 52503acd71 Fix the macOS test failures next picked up from the PdfCraft framework sync (#3232)
- atomic: a file the user may write but not read (mode 0200) saves again on macOS; its extended
  attributes can't be read, so there are none to keep.
- menu, ui-shell, pages, ui-contract, ui-canvas tests: follow the macOS conventions the code already has. The
  in-window bar test pins its target as the other bar tests do; macOS has no Menu key and no Cmd+Home/End move;
  its platform copy key is Option; a press with Control there is a secondary click, so Control comes after the press.
2026-11-24 04:48:57 +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
Dylan M. Taylor fb99ed9076 fw sync: F-P2 / L-315: macOS title bar follows the traffic lights at the right (craft-window reads windowTitlebarLayoutDirection; MacInset::lights_right; the lights' room moves to their side; AppShell::title_follows_lights mirrors the title slot's flow, tabs and overflow included; Overrides::flow); trials a_title_that_follows_the_lights_mirrors_when_they_are_at_the_right, the_lights_room_follows_the_lights_without_mirroring_the_bar (production 4448ee940) 2026-11-23 08:27:17 -05:00
bflatastic 24e30ffacb ui-shell: a document window's raise brings its fallback layer to the front in that pass (overlay::raise), as a press on it does: it only asked an OS window for focus 2026-11-23 19:27:33 +07:00
Dylan M. Taylor 5abaa7360e fw sync: clippy clean over the merged sync (all targets, all features)
Real fixes, no allows: split long functions (portal first reads, canvas wheel read, text editor input pass, list row toggle parts, notice action rows, thumbnails grid aspect and edit rules, comments row entries), boxed the large Entry item row, type aliases for complex types, a StatusMeasure for the status cell's measures, double #[must_use] removed where the type is #[must_use], Copy clones and useless conversions dropped, struct-update syntax in place of field reassignment, a split press-pass test.
2026-11-23 03:42:16 -05:00
Dylan M. Taylor 85659945c3 fw sync: L-323: StandardPrompt::alternate_role (production's order), DialogButtonLook::Quiet (ghost Cancel and Don't Save), StartScreen::heading_sections and pinned_first, ToolbarDrawer::grouped_tools_drag opt-in; tab marks resolve outside the memoized tab row and join its key; a grip floating window keeps no title-rule band 2026-11-23 02:57:02 -05:00
bflatastic 295c967c65 ui-shell: a document window's fallback layer moves by its title row and reports where a move or resize took it, so a host that places the window keeps it there
The fallback overlay was not movable, so its title row had no move band, and DocumentWindow dropped the layer's placement changes while first_placed held the window at the host's rect. DocumentWindowOutput::placed gives the rect a move or resize reached in the pass.
2026-11-23 13:27:47 +07:00
Dylan M. Taylor 8a620b3d6e fw sync: ui-canvas and ui-patterns libs compile: WheelScheme::Document arm, one scroll-bar same_value (both tolerances), region drop mark for a split, memo props on env values, story binds, unused imports 2026-11-22 23:26:27 -05:00
Dylan M. Taylor 58f35e8ec0 fw-panels-shell: resolve the sync of origin/next into the port's ui-panels and ui-shell files
Dialog: upstream's ButtonPlace replaces the port's side flag; the port's title note, title icon and close-unchanged stay.
Footer roles: upstream's Alternate and the port's Alternative are both kept, with one rank table.
Unsaved question: upstream's alert role, Alternate role and failure reason, with the port's wording options.
Docking: the port's group footer, titled header, tab marks and counts and caption go into upstream's memoized tab row;
the port's footer, rail footer and content hooks stay on DockPanels beside upstream's PanelSpecs; iconic rail mode on
upstream's bar; floating grip on upstream's chrome sizes. Tool rail edit icon in the memoized grid.
Start screen: upstream's Home and Greeting layouts, picture shape and recent_list split, with the port's pinned
folder listing, host sections, offers_new/offers_open, pinned title and section headings.
Tests: both sides' trials kept; port trials moved to Titles, Registry and the props-keyed CommandGate.
2026-11-22 23:04:30 -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
Dylan M. Taylor a69b2ca3ea DocumentTabs: the trailing control ends at the visible edge of its row when the bar leaves less than the row's width (fixes Open under Discord; trial) 2026-11-22 20:37:39 -05:00
Dylan M. Taylor 402dc57690 StartScreen::pinned_title: an app names the pinned folders section (trial) 2026-11-22 19:38:22 -05:00
Dylan M. Taylor bde3742fdb StartScreen: offers_open(false) leaves Open out, section headings are page headings with no rule, Pin Folder is ghost, a pinned folder's Unpin is text (trial) 2026-11-22 18:34:36 -05: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
David Mann 1cb53fbbf4 Merge pull request #3055 from davidmann4/fix/16403-16406-navigator-crop-bar-grip
Navigator drag, Crop move and shield seam, options bar clip, grip ink (photocraft#16403, #16404, #16405, #16406, #16410)
2026-11-22 21:02:29 +01: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
David MannandClaude Opus 5.5 4ba7c7e215 DocumentWindow: a level of its own; first_placed says the window is kept there (photocraft#16415)
DocumentWindow::level stands the window at a WindowLevel; with Palette a
floating document stays above the app's main window while the app is
active, drops below a blocking dialog and hides with the minimized main
window. first_placed's doc says what it does: the window is kept at the
rect while shown, so a caller whose user moves the window follows it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:51:51 +01:00