Commit Graph
6382 Commits
Author SHA1 Message Date
Martin BallandClaude Opus 5.5 f3fea6f189 fwstub-2: a comment card selected again keeps its own edit draft (select_thread dropped every edit, so a draft the app could not write back went when its balloon was clicked again; S-L100 keeps no second copy in the app), and an inline edit takes the keyboard in the pass it opens, so one click on a balloon is enough to type, as the old WordCraft; trials
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:19:09 +00:00
Martin BallandClaude Opus 5.5 e1d833c5ff fwstub-2: an editor that refuses an input method's edit asks for the interrupt itself (EditorHandle/Cx/ToolPass::ime_interrupt): a batch of a refused deletion and commits ends with nothing composing, so the engine could not see it, and the app fell back to an application change that made the fresh commit Other; the interrupt now goes out beside the pass's InputMethod receipt; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:13:41 +00:00
Martin Ball 15d43e03c0 Merge branch 'red/fwstub-2' into area/ribbon-fw 2026-11-19 22:07:16 +00:00
Martin BallandClaude Opus 5.5 d470baa8b7 fwstub-2: the face-run story card sits at the Primitives level of the catalog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:33:29 +00:00
Martin BallandClaude Opus 5.5 e10bb6ef02 fwstub-2: story card of Draw::face_run (a run in a document face on its baseline, kana the face lacks drawn by the interface fonts, a 4,000-point run drawn at the atlas cap), registered with craft-ui's stories so the gallery shows it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:32:39 +00:00
Martin BallandClaude Opus 5.5 e368403605 fwstub-1: a labelled leaf in a wrapping row starts a new line when it would not fit the rest of the line (it is placed before egui allocates it, so the row never wrapped a radio and squeezed the last label); Page Setup's Text snaps to characters takes its second line again; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:25:32 +00:00
Martin BallandClaude Opus 5.5 785e15c52e fwstub-1: headings and list items take AccessKit's zero-based level (Heading 1 is level 0, which UIA reports as 1; a first-level list item level 0), as WordCraft #3173; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:25:29 +00:00
Martin BallandClaude Opus 5.5 e1b872bfad fwstub-2: Draw::face_run draws a run in a document face (bytes and index loaded once per key) at its size on a baseline, capped to the font atlas (a quarter of max_texture_side, at most 1,024 px), with the interface stack (CJK included) drawing what the face lacks; faces over 16 MiB stay in the interface face; TextLayout::char_x; trials
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:25:00 +00:00
Martin Ball 90efc95363 land sync: one output hook runs upstream's dangling-relation pruning, then the port's settled access tree 2026-11-19 21:06:38 +00:00
Martin Ball 7b0a3869a0 land sync: owed lines (cursor icon call, of_theme with the app pins, one craft-gpu workspace row); Cargo.lock from the port, resolved at the build 2026-11-19 21:03:29 +00:00
Martin Ball 805dd64c5a Merge branches 'merge/fw-contract' and 'merge/fw-rest' into merge-fw/main 2026-11-19 21:03:09 +00:00
Martin Ball 576dcb3817 fw-rest: resolve the framework sync conflicts (up/next into area/ribbon-fw)
- Dialogs: ButtonPlace { Foot, Side, Body } beside the port's refusal notice and
  ChildDialog; every side_buttons caller (find, hyperlink, paragraph, list manager,
  form dialogs) takes button_place, keeping the port's held answers, close buttons
  and name check.
- Colour picker: upstream's fixed Full arrangement, CompareSwatch and warning module;
  the port's shown_model and tabbed Colors dialog kept (its buttons stand in the side
  column, the Full layout's in the picker's slot); the Compact layout shows the
  compare block beside its area when the host gives a compare colour; focus_on_open
  goes as upstream.
- Task bar: the grip is the bar's first member on one floating surface, for the task
  kind only; the selection kind and the close reason stay.
- Keymap: lookup_where's accept filter runs through upstream's winners().
- craft-gpu: upstream's provider-neutral crate, with the port's eframe start-up
  choices behind a startup feature (facade gpu-startup); duplicate facade row removed.
- Facade features, ATTRIBUTION, BMP density probe, margin story fit, theme icon-pack
  and dialog first-field trials: both sides kept; the clipboard presence code stays
  replaced by the port's offer modules.
2026-11-19 20:57:28 +00:00
Martin BallandClaude Opus 5.5 e6e78aebd6 land fw-contract: resolve the ui-contract conflicts of the craft-libs next sync
- body/hooks: upstream's step split (header/end/label/body steps, MeasurePlan) with the
  port's least-width floor (MeasurePlan.pad, measured_took), body_end hook in run_body,
  exiting end regions and content_width() label room
- cx/body: RegionShare constructor; the port's with_exiting kept
- layout/body: upstream's per-layout functions; run_row keeps the wrapping row's paragraph measure
- access/scope+emit, steps/report: the port's held/leave label scope (arranged rows) with
  upstream's rule that static texts are no label controls; node check before node facts,
  note_command and pass_through kept
- icon, ghost, icon_trials: theme icon packs (no IconSpec.set) with IconMark and layered paint;
  pointer art stays in runtime::cursor; both icon trials kept
- env/tokens: UiTokens::of_theme with the app's pins
- focus, cx/focus, keys/input: register_menu_bar(id, by_claim) journalled for replay
- commands/board+mod: maps for modal and page roots; port exports kept
- inspect, run, text, items/hooks, viewport, layout/mod, host_key_trials: both sides kept

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:56:45 +00:00
Martin Ball 6dedbe4fe6 skeleton: merge up/next into area/ribbon-fw with conflict markers left in (land step 1) 2026-11-19 20:42:08 +00:00
Martin Ball feaea98c11 Merge branch 'red/fwstub-1' into area/ribbon-fw 2026-11-19 20:41:10 +00:00
Martin Ball faca29ba97 lead: a side menu row takes the large icon token (the standard one is a plain button's already, so the trial saw no change) 2026-11-19 20:41:10 +00:00
Martin BallandClaude Opus 5.5 5404f0eb8b fwstub-1: a canvas control's label is never its tooltip (its rect is the canvas: PageRulers' MarginHandles showed "Rulers margins" wherever the pointer rested on the page); each margin edge part carries a tooltip naming its edge, as the old app's Left Margin (divider::declare returns the part); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:28:26 +00:00
Martin Ball 529146af3d Merge branch 'red/look-7b' into area/ribbon-fw 2026-11-19 20:27:59 +00:00
Martin Ball 4b834a2b7c Merge branch 'red/look-7a' into area/ribbon-fw 2026-11-19 20:27:59 +00:00
Martin BallandClaude Opus 5.5 47ca129065 fwstub-1: an overlay layer's content runs under a layout-memory boundary, so a tooltip shown from a control inside a body is not checked against the body's kept transcript (it asked for a discard pass every other frame while it showed); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:23:40 +00:00
Martin Ball 5cbe7863af look-7a: a side menu's row shows the standard icon (not a control's small one) a section gap before its name, as WordCraft's File rail (18 pt icons 12 pt before the names); trial 2026-11-19 19:56:26 +00:00
Martin Ball 4cd1f17627 look-7b: the listed About sets its name/version/blurb, links and built-with line apart by the item gap, as WordCraft's About (6 pt spaces); the row gap ran them together; trial 2026-11-19 19:55:38 +00:00
Martin Ball 9432be1ee3 Merge branch 'red/fwstub-2' into area/ribbon-fw 2026-11-19 19:55:09 +00:00
Martin Ball 99c2bdf38b look-7a: Pad::Page, a full-window page's margin (two and a half roomy pads, 40 pt compact), as WordCraft's File pages stand off the window; trial and the Stack story's pad choice 2026-11-19 19:54:29 +00:00
Martin Ball 4b4abd000e look-7b: a text field and a text form row can ask for a width in characters (TextField::width_chars, Param::field_chars: n times the body face's '0', as CSS's ch, plus the field padding) over the field length; a row that lacks room still narrows it; gallery stories and trials 2026-11-19 19:53:56 +00:00
Martin BallandClaude Opus 5.5 1a9dae9643 fwstub-2: trials: a picker form dialog (category list, three-row tile grid, large preview, as WordCraft's Insert SmartArt) runs one pass a frame from its second frame, in English and pseudo-locale lengths and when a docked pane closes in the frame it opens; the framework does not ask for a discard every frame there
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:53:40 +00:00
Martin BallandClaude Opus 5.5 01dee65d91 fwstub-1: keymap rule 3 exception (lead ruling): with Shift held, a binding of the Shift-kept chord runs before the Shift-dropped one (German Ctrl+Shift+0 runs Ctrl+Shift+= Superscript, not Ctrl+= Subscript); recording, candidates and matches keep rule 3; layout docs; test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:53:26 +00:00
Martin BallandClaude Opus 5.5 e162b30930 fwstub-1: an editor that draws marked text says so (EditorState::marked, shows_marked); reporting no marked text while the engine composes then interrupts the composition in the pre-edit's own pass too (a pre-edit and a refused deletion in one frame); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:51:02 +00:00
Martin Ball d928a407cf look-7a: a container's least width holds in the measure its parent places it by, as in its own extent; a row gave a File page's side menu only its widest name (about 123 pt for 200); trial 2026-11-19 19:50:43 +00:00
Martin BallandClaude Opus 5.5 6f8bf4265a fwstub-1: a bound Alt chord's text is withheld only when a command bound to it is enabled (S-L177; Keymap::holders, commands::runs_now): a disabled one leaves the character typed, as Word's Option+Shift+- em dash; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:48:07 +00:00
Martin BallandClaude Opus 5.5 99d40aba4d fwstub-2: a page view zoom by the wheel or a pinch anchors at the point the canvas zoomed about (CanvasSpace::zoom_anchor), not one rebuilt from the change of centre: the canvas's clamp keeps pages no wider than the view centred, so the rebuilt point was the middle of the view, in the gutter, and a reflow from two columns to three anchored page 2 and drew page 3, under the pointer, a row off; trial: Ctrl+wheel out from page 3 just right of the gutter through three reflows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:47:14 +00:00
Martin BallandClaude Opus 5.5 bf31f87696 fwstub-1: trial: outside a floating window (beside one, with none, with nothing focused, from a text stop with the key's text under PlainKeysWait) Alt+F7 runs the app's binding without replace_defaults
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:45:27 +00:00
Martin BallandClaude Opus 5.5 3c647f1689 fwstub-1: Shift+Delete reaches an editor with its shift (EditorInput::Delete.shift); an editor reads one frame's IME edits, texts and keys in the order they arrived (event places from the IME and key stages); trials
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:39:36 +00:00
aiongg 6bd20d7878 Merge pull request #2403 from aiongg/next-sync-1119
Merge storytold main into next (19 Nov sync)
2026-11-19 14:07:13 -05:00
aiongg d65336a801 Merge pull request #2344 from aiongg/memo-records
Comparable replay records: journal entries, focus transcripts, egui pass records (#2336)
2026-11-19 13:50:43 -05:00
Martin BallandClaude Opus 5.5 37b862c663 look-6: a side menu's rows read in the brand surface's ink (white, a disabled page's dimmed) with that ink laid thinly over the brand for the hover band and a step stronger for the page shown, as WordCraft's File rail; the panel's opaque hover fill drew a light band with dark text over the rail; trial updated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 18:39:35 +00:00
Martin Ball aa1d8b3c87 Merge branch 'red/fwstub-3' into area/ribbon-fw 2026-11-19 18:31:43 +00:00
Martin Ball c4db0d7ef6 Merge branch 'red/fwstub-2' into area/ribbon-fw 2026-11-19 18:31:42 +00:00
David Mann bafb452289 Merge pull request #2391 from davidmann4/agents-reexport-next
craft-automation: re-export the agents code from craft-control (#2390)
2026-11-19 19:09:21 +01:00
aiongg 4f697dbc70 Merge remote-tracking branch 'upstream/next' into memo-records
# Conflicts:
#	crates/ui-contract/src/runtime/commands/mod.rs
2026-11-19 17:43:02 +00:00
aiongg ed52c7b8ef Merge pull request #2343 from aiongg/memo-board
Command board maps, report-step order, chord texts (#2336)
2026-11-19 12:42:13 -05:00
Martin BallandClaude Opus 5.5 ae5ff42dfa fwstub-3: a page view zoom that does not ease draws its new layout, reflowed, through the anchored view in its own pass, so the next pass moves nothing; a zoom with the pointer in a gap keeps the place relative to the nearest page instead of scaling the offset; trial: Ctrl+wheel zoom out through a column gutter with rulers, every frame
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:41:34 +00:00
Martin BallandClaude Opus 5.5 8346bbab09 fwstub-1: a focused canvas's view command it does not offer leaves its chord (Cmd/Ctrl+=) to the app's binding, and an app drops Zoom In's default chord through its catalog so Ctrl+= is its own command (Subscript); ViewCommands doc; trials
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:40:20 +00:00
Martin BallandClaude Opus 5.5 eef70c8388 fwstub-1: a key press passes over a binding whose command is disabled where it lands (Keymap::lookup_where, Matcher::press_where; the key stage accepts enabled commands only), so the next binding of the chord runs; an app catalog replaces or drops a linked set's default chords (AppCatalog::replace_defaults) and sets the typing rule (AppCatalog::typing_rule); a bound Alt chord's withdrawn text is no text field's typing, so the field no longer holds the press (route::begin); trials
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:37:11 +00:00
Martin BallandClaude Opus 5.5 c07bd78e0a fwstub-3: appeared() is true again on the first frame a component is shown after a frame of its viewport without it (a page left and reopened inside the eviction grace), through that frame's passes, as WordCraft told a reopen by a gap in the frames drawn; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:30:50 +00:00
Martin BallandClaude Opus 5.5 23a5035195 fwstub-2: the split body trial says which check catches a layer left open around an empty body
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:30:18 +00:00
Martin BallandClaude Opus 5.5 f96d4f6162 fwstub-2: a pane's Float reports FloatRect after its Place, with the rect the pane floats in (its kept float rect, else the cascade placement the area draws), so an app keeps the float rect from the Float on; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:28:21 +00:00
Martin BallandClaude Opus 5.5 bc456bb9e2 fwstub-2: a SplitMenu::Body's request_close closes the split's menu layer: the inline menu is bound open and its close closes the popup, so a swatch pick no longer leaves the layer open around an empty body; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:28:21 +00:00
Martin BallandClaude Opus 5.5 0f21da5c09 fwstub-2: the in-place command palette names its search field by the palette's label, closed and open, not the generic words.palette_search (a title-bar search box keeps the app's name for it, S-L272); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:28:21 +00:00
Martin BallandClaude Opus 5.5 a14084cba6 fwstub-3: the page view gives back the pictures of pages scrolled more than picture_reach (3 view heights, one width sideways, as WordCraft #811) from the view; PageView::picture_reach and PICTURE_REACH; story; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:28:09 +00:00