Commit Graph
744 Commits
Author SHA1 Message Date
Dylan M. TaylorandClaude Opus 5.5 90912a7200 about: a centred column layout, as an app's own About shows it
AboutLayout::Column: the mark large, the name as a heading, the version muted, the blurb's
lines, the links one to a line and the built-with line, every one centred, and Close. A
named variant with its own story; the listed layout is unchanged. Trial:
the_column_about_centres_every_line_in_order_and_closes_with_close.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 08:03:09 +00:00
Dylan M. TaylorandClaude Opus 5.5 73ac0edbaa preferences trials: format the nested dialog trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:26:18 +00:00
Dylan M. TaylorandClaude Opus 5.5 b1b182c287 collections: an empty list sized from its content takes its empty text's width
A collection that takes its width from its content measured 0 wide with no
rows. A zero-width non-body shows nothing, so the measuring run dropped its
row floor and the form row under it kept no room: what stood under the list
overlapped it and fell outside the dialog. With no rows it now asks for the
width of its empty text on one line, so the measuring run keeps its floor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:26:17 +00:00
Dylan M. TaylorandClaude Opus 5.5 6552b63812 preferences window: a nested dialog takes clicks while it is open; only the page and Cancel wait for it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:04:56 +00:00
Dylan M. Taylor 0cc1275838 Merge branch 'port/deckcraft/area/app-fw' into port/deckcraft/area/framework 2026-11-27 14:51:05 +00:00
Dylan M. Taylor 0dc0a30a96 dialogs-w17: net change of 2 commits
- dialogs-w17: written by an agent
- dialogs-w17: review fixes (review-1)
2026-11-27 14:50:58 +00:00
Dylan M. TaylorandClaude Opus 5.5 f0cf66390c Drop the resolved PageSpec::resettable assumption markers
The signature exists in preferences/model.rs; its implementation stays with
dialogs-w17.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:36:41 +00:00
Dylan M. TaylorandClaude Opus 5.5 7f57d33063 red-fw-1b: q309 nesting relation; DockRoot mounts as the central pane so a nested area fills
Written by a Codex red fixer; committed by the lead (runs/codex/red-fw-1b.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 06:08:29 +00:00
Dylan M. TaylorandClaude Opus 5.5 662673018b framework batch: cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 04:00:17 +00:00
Dylan M. TaylorandClaude Opus 5.5 e1710d8bd3 owed by panels-w12 and dialogs-w17: stubs the framework batch calls
- contract::items re-exports cancel_rename (panels-w12, L-60/H-23)
- List::keyboard_lead, ignoring the binding until panels-w12 writes the opt-in lead (L-60)
- PageSpec::resettable, every page resettable until dialogs-w17 writes it (q222)

Each keeps the behaviour from before the item and carries a P3(<owner>) marker.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:25:07 +00:00
Dylan M. Taylor 51b2d868fd shell-w11: net change of 3 commits
- shell-w11: written by an agent
- shell-w11: review fixes (review-1)
- shell-w11: review fixes (review-1)
2026-11-27 03:23:18 +00:00
Dylan M. Taylor 1a8d771ea0 panels-w1: net change of 2 commits
- panels-w1: written by an agent
- panels-w1: review fixes (review-1)
2026-11-27 03:23:17 +00:00
Dylan M. Taylor b12d6b17d9 panels-w2: net change of 2 commits
- panels-w2: written by an agent
- panels-w2: review fixes (review-1)
2026-11-27 03:23:17 +00:00
Dylan M. Taylor e6dbf86f8f dialogs-w3: net change of 5 commits
- dialogs-w3: written by an agent
- dialogs-w3: finished by an agent
- dialogs-w3: finished by an agent
- dialogs-w3: finished by an agent
- dialogs-w3: review fixes (review-1)
2026-11-27 03:23:16 +00:00
Dylan M. Taylor 804ef886d2 dialogs-w1: net change of 2 commits
- dialogs-w1: written by an agent
- dialogs-w1: review fixes (review-1)
2026-11-27 03:23:16 +00:00
Dylan M. TaylorandClaude Opus 5.5 08c1bfe41d pilot-run-3: cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 22:14:05 +00:00
Dylan M. Taylor 7bcf5d4080 shell-w2: net change of 3 commits
- shell-w2: written by an agent
- shell-w2: finished by an agent
- shell-w2: review fixes (review-1)
2026-11-26 21:53:32 +00:00
Dylan M. Taylor 0787e223c2 Contract stubs: stage p4b-fw ()
Written by a Codex stage agent; committed by bin/codex-stubs (the sandbox keeps .git read-only).
2026-11-26 18:51:35 +00:00
Dylan M. TaylorandClaude Opus 5.5 66c1d877f0 Contract stubs: stages 2-5 (craft-ui-contract; craft-ui-widgets craft-ui-panels; craft-ui-shell craft-ui-canvas craft-ui-patterns; craft-color-ui craft-draw craft-timeline craft-browse craft-menu craft-automation)
Written by Codex stage agents whose sandbox could not commit; one commit for the four stages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 15:08:17 +00:00
aiongg 444ba59795 A layer in a popup window remembers what it opened with
A layer opened in a palette window shows in a popup window of its own. Its host asked in the opener's viewport whether the layer appears in this pass, and only the popup's pass recorded that it had, so the layer appeared in every pass and forgot everything in between. The arrow keys never left a menu's first row, a menu hung at the pointer jumped while the pointer was over it, and a scrolled flyout went back to its top. The host now records the appearance in the opener's viewport too (`overlay::note_appeared`, split out of `begin_layer`), so both viewports agree.

With its memory kept, such a layer takes the two rules an in-window layer has: a right-click on its context opener hangs it at the new pointer (`recall_shown`, shared by both hosts), and the press that opened it from another window does not close it when the opener runs a second pass of the opening frame.

The window kit's `send` gives events to one child window, such as a popup's.
2026-11-25 19:11:46 +00:00
aiongg 6801f1f9b5 A window's records survive the frame that opens it: closed viewports' records go as a frame begins
Every pass's end hook dropped the per-viewport records of viewports its input did not list. That list dates from the
frame's start, so the root's end hook dropped the records of a window the frame had opened. A palette that opened
hidden under an open menu lost the note that it was hidden, and stayed hidden once the menu was gone: Float in a docked
tab's menu left no window to see when the opening frame ran a second pass. The root's begin hook now drops the records
of closed viewports in a frame's first pass, where the list names every window opened before.
2026-11-25 18:16:05 +00:00
aiongg d0254a0996 Merge pull request #3533 from aiongg/ports-combined
Ports: a click keeps the canvas focused, Escape from floats, rail drags dock
2026-11-25 11:15:43 -05:00
aiongg aa401985dd Merge commit 'ea2211729e' into ports-combined 2026-11-25 15:43:03 +00:00
aiongg ea2211729e The waiting window's repaint is a docking::native function 2026-11-25 15:42:39 +00: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
aiongg f15b0e87d2 An Escape nothing in a floated dock window takes is the dock window's Cancel
A dock panel's OS window gets its keys alone, so an Escape pressed there with
nothing focused became that window's Cancel, which no app code reads: a command
started from a floated palette could not be cancelled. The end hook hands a Cancel
left in such a window (`WindowSpec::hands_on_cancel`) to the window it was opened
from, which reads it as its own in its next pass. A popup or a modal open in the
floated window keeps the Escape, and a modal that opened meanwhile drops it.
2026-11-25 14:57:40 +00:00
skylartaylor b003bd172a Merge origin/next into design-port/pr-docking-rails
One conflict, in docs/ui-docking.md: next added bullets for tab presses keeping
key focus and for floating windows stacking with app windows next to our
split-handle bullet. Kept our split-handle sentence (a pointer press or drag on
a handle leaves key focus) and next's two new bullets after it.

The Rust files merged cleanly. next still has dividers that take focus on a
press, the flyout room limited to the space below its top, and no RailTool
icon, so none of this branch's changes is covered by next.
2026-11-25 15:21:14 +01:00
bflatastic 5d74792c0a dock: DockConfig::flush_docks stands docks flush against the node beside them, with no gap (DockSizes::dock_gap, FrameRules::dock_gap), and frames their columns collapsed to icons in line.border as expanded columns are, so one rule parts a dock from the canvas; off by default, where the space.gap.tight gap stays 2026-11-25 11:34:03 +07:00
bflatastic 9916d16585 dock: DockConfig::column_cards takes ColumnCards: None (the default), All (every docked column a card, as the switch on was) or Stepped, which shows only the stepped columns such as a docked tool rail as cards and keeps the panel columns flush; DockSizes::card_place and card_inset read the column 2026-11-25 11:34:03 +07:00
bflatastic a7b48fb036 theme, dock: size.bar.column, the height of a dock column's bar (size.control.sm in both built-in sets, so the bar keeps its height unless an app sets it); a column's bar, expanded or collapsed to icons, lies on the surface its dock's tab strips do: surface.canvas beside PanelTabLook::Block tabs, the window's background otherwise 2026-11-25 11:34:02 +07:00
aiongg 9b818faae7 Merge pull request #3413 from aiongg/dock-gaps-2
Tab order, IME fence and start-up crash fixes from EffectCraft's minimal port
2026-11-24 23:12:20 -05:00
bflatastic 461493afcb ui-widgets, ui-patterns: Tile::page lifts the page on the knob's short shadow and fits its longer side to the largest square the picture holds, so pages of every shape stand at one scale; story new_document_dialog_page_cards for PresetCardLook::Page 2026-11-25 10:52:00 +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
bflatastic 7cb4ffd514 ui-contract, ui-panels panel: QuietHeader, a root style value; under QuietHeader::Heads a titled panel's quiet title (an inspector's kind line) heads its body as a rule would (HeaderRegion::heads, set by Panel::titled), so the first section under it draws no rule above it and sections after it keep theirs. QuietHeader::Ruled, the default, keeps today's rule above the first section, so no other app changes. Inspector story under Heads; trial 2026-11-25 10:24:16 +07:00
aiongg 62816d0e3d Merge storytold next into dock-gaps-2
next carries dock-gaps (#3383), whose IME commit a0b1c35a8f is the same change as
this branch's 8c2cd95de3, and Skylar's focus and text-field work.

Conflicts:
- runtime/ime.rs, runtime/egui/ime.rs, testing/host_key_trials.rs: next's only
  change to these files is a0b1c35a8f, which this branch already holds and has
  replaced with the fence built on egui's pending_ime_reset (a3a58be575). This
  branch's side is kept. a0b1c35a8f's trial stays in its adapted form
  (an_app_editor_s_own_reset_at_the_press_reaches_it_and_it_composes_again, run
  with the reset in the output and through egui alone).
- runtime/egui/fixture.rs: ResettingEditor and host_resetting_ime_editor keep
  this branch's form (in_output, ask, a press inside the editor's rect). next's
  root focus fact in run_frame (ea6febd719) merged cleanly.
- runtime/focus.rs: State keeps candidates_seen and takes next's
  surrender_after_scopes and surrender_deferred; tab_to_egui stays removed. The
  end hook takes the app's egui widgets first, then runs next's deferred and
  after-scopes surrenders; next's block that surrendered a component widget
  egui's Tab focused goes with the removed egui-Tab path.

No code in next calls host_stop or the removed egui-Tab path.
2026-11-25 01:06:16 +00:00
aiongg c93811bcf1 Merge pull request #3383 from aiongg/dock-gaps
Dock and runtime fixes for the CadCraft, EffectCraft and TextureCraft ports
2026-11-24 20:00:09 -05:00
aiongg 0bac50867b Trial: a dock restored with a native float in a later pass of the first frame paints
The windows kit's renderer shares one texture store between the windows, as
eframe's does, applies each window's texture changes when it paints and panics
on a change to a texture it has not allocated. A frame whose first pass asks
for another and whose second shows a dock with a native float, as an app's
start-up, paints its float's window without that panic.
2026-11-25 00:12:07 +00:00
aiongg 3408eb09a5 Dock: a group's tab overflow button is a gesture source (SourceKind::Overflow)
TabStripOutput reports the overflow button's rect and access node id while
some tabs do not fit. The dock group passes it on (DockGroupOutput::overflow,
through the memoized tab row so a replay moves it with the row), and the dock
area reports it beside the group's tabs as SourceKind::Overflow, named by the
group's first panel, so a host can give the button an automation id.
2026-11-24 21:47:55 +00:00
aiongg 357f332549 Merge pull request #3396 from aiongg/test-speed-1124
Tests: gate-sized samples and inputs for the slowest tests and the UI suite
2026-11-24 16:32:00 -05:00
aiongg 603b9708bd Docking documents trial: clippy type alias and iter 2026-11-24 21:00:28 +00:00
aiongg 4e806d57a5 Dock trial: each stack section reports its panel's tab source 2026-11-24 20:41:30 +00: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
aiongg 547056ecc4 Dock: a panel's document tabs are gesture sources (SourceKind::Document) 2026-11-24 20:41:30 +00:00
aiongg 47c7a5d041 Dock trial: the handed-over drag's drop mark is the tab strip's, not the floated window's own 2026-11-24 20:41:30 +00:00
aiongg b2aab0b8bb Merge next-host-input into dock-gaps 2026-11-24 20:23:54 +00:00
aiongg 146a95ed43 Merge storytold next into next-host-input 2026-11-24 20:18:12 +00:00
aiongg 283490a083 Drag: look the moving container's layer up at each hit test
drag::start took the source container's layer from the layers shown last
frame. A window floated in the pass before it continues a press (a rail
popup dragged out) runs its body, and so starts its drag, before its first
layer is recorded, so the session moved no layer: drop targets did not look
through the dragged window, and on release the window's own drop target,
the top layer under the pointer, took the drop and refused it, leaving the
panel floating. moving_layer now reads the source's layer from the layers
shown last frame at each hit test. The plain-egui hand-over trial floats
its window in the pass the press is handed over, as the app does.
2026-11-24 20:11:24 +00:00
aiongg 56e0824f2c Merge remote-tracking branch 'upstream/next' into test-speed-1124 2026-11-24 20:00:50 +00:00
aiongg 04bb1e1b5b ui-patterns tests: settle after dialog actions instead of fixed frame counts
Save for Web's open and palette helpers, its slices test, Export As's scale test
and the New Document card tests wait until the dialog is stable rather than 4 to
30 frames; the card tests run without motion, since they read cards where they
are painted. Clock-timed steps stay as they were.
2026-11-24 19:57:56 +00:00