page_kind was a hand setter (design lint). follow had eight arguments (clippy too_many_arguments); the window-side inputs are one FollowBy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts: the paragraph trials keep both sides' trials; the pass pointer keeps upstream's stirred (moved to a new position) and the port's moved (a move event this pass); the shell's slot visibility, overlay and covering tests combine the port's page rule with upstream's standard-mode bar reveal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- dialog host: upstream's per-opening serials (OpenedDialog, take_by_open_serial,
get_by_open_serial, typed get_by_id) carried into the port's kept-actions store.
- ParamDialog: upstream's tagged footer toggles and per-instance flips replace the
port's session flip; the port's accepting extras and their OK gating stay.
- Param: upstream's and_enabled_when_in is the port's enabled_when list (one
mechanism; RowOptions::enabled_when_also dropped).
- New Document cards: upstream's Your Recent Items zoom on the port's ColumnRule.
- CommandPalette: upstream's least_width and field look on the port's bound state.
- PreferencesWindow: upstream's Classic layout, page steps and size beside the
port's LiveCancel mode and page-only disable while nested.
- AppShell: upstream's versioned, memoized page view inside the port's PageKind
ordering (after the slots, band only when the page covers the title).
- Tests and docs: both sides' pane trials, About imports and dialog host notes kept.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cargo.toml takes main's egui pin (932a73b2) and vendor list; Cargo.lock is main's, resolved again after the combine.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
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.
One stacked-corner rule: arranged_look's tile corners (from this branch) replace ribbon-row's
stacked_corners, which drew the same control corners for Button and ToggleButton only.
Also clears two test warnings (an unused import, an unused TileGridOutput).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A stacked push, toggle or split button shares the icon face's corners (control corners unless the variant is
explicitly full), so a capsule radius no longer rounds a two-line stack into a circle that cuts its label.
RecentList gains RecentRemove (Revealed by default, Always shows every row's remove part) and BackstageView
gains BackLook (Labelled by default, Glyph draws Back as the glyph alone); each has a story and a trial.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ViewportWindow opened every modeless window as a tool window: a palette
with no taskbar entry and the dialog's own title row. An app's second
document window or presenter's view is an ordinary window of the app.
ViewportWindowKind::App (q352 = A) opens WindowSpec::document() with the
OS frame and opens_over_full_screen as before, and the dialog fills the
window (Dialog::fills_os_window): no padding, and a header the OS title
bar stands for (HeaderRegion::os_title). The body leaves such a header
out, in its read step, where the container is a viewport mount in an OS
window of its own whose frame the OS draws; a layer and an app-framed
window keep it. The default kind and every other header are unchanged.
Trial: the_os_title_bar_stands_for_a_header_only_in_an_os_framed_window
(fails with the read-step filter off); story viewport_window_app.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WindowSpec::over_full_screen (and ViewportWindow::opens_over_full_screen,
Dialog::viewport_with) keep a viewport mount in an OS window of its own when
the window it opens from is full screen or, on Wayland, maximized, where a
mount otherwise shows as a layer in its opener: a window that stands beside a
full-screen one, as a presenter's window beside its show. Default off; the
mount_window rule is unchanged for every other mount. Gallery story added.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Outside the modal layers, a ModalRule::Declared app command now goes to the innermost
instance around the focus that published its state, as it already did inside a modal
layer: a list pane that declares Select All takes it while it holds the focus.
Trial: commands::board::a_declared_edit_reaches_the_instance_around_the_focus.
ViewportWindow::takes_unfocused_keys (opt-in, off by default) records the window's
layer with the board; while that layer is open, a key pressed in its viewport with
nothing focused goes to the instances in the window's body instead of the shell
and page roots, as a modal layer's root already gets them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
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.
main replaced craft-window's title_bar module with the shell's TitleBar,
so the GNOME setting moves with it: craft_window::desktop::double_click()
reads action-double-click-titlebar on GNOME, AppSpec::new passes it to
ShellInfo::double_click, and double_click_action applies the setting to an
integrated frame as it does to a macOS inset frame.
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.
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.
- ui-panels iconic trial: the two literal 0.5 tolerances are relations (`first` above the
gripped first icon; the rule `near` the middle of the room).
- ui-shell Column start page: the bottom page margin is `add_space` of the token, not
`allocate_space`.
- ui-widgets Tile: `PAPER` (a blank page, data) and `Tile::page`'s width and height (a
proportion in any one unit) are marked and listed as exceptions.
- docs/components-index.md regenerated (Link's `LinkLook::Plain`).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
message-circle and git-branch are not catalog names, so the icon_ids test failed on next.
The community link takes "note" (a chat bubble) and the source link "open".
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.
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.