Commit Graph
6414 Commits
Author SHA1 Message Date
Martin Ball 2b7e9dc96b Ribbon: a collapsed group button shows the look menu arrow 2026-11-20 02:29:53 +00:00
Martin Ball 9bd719e717 Ribbon look: RibbonLook (renamed from RibbonIcons) sets the small row height; the body least follows three rows a tight gap apart 2026-11-20 02:26:58 +00:00
Martin Ball 44114f108b Ribbon menu arrows: RibbonIcons::arrow draws the filled triangle right after the label in its own room 2026-11-20 02:22:46 +00:00
Martin Ball 16cba38396 Ribbon: app icon sides (RibbonIcons, Ribbon::icons) and launcher icon; group titles centred; ribbon tabs padded, 28-pt bar, underline under the label; strip and row start insets 2026-11-20 02:17:30 +00:00
Martin Ball e93b8c1fea Docs: intra-doc links resolve under -D warnings 2026-11-20 01:33:09 +00:00
Martin BallandClaude Opus 5.5 a2085c5505 board: regression test for a kept resolution of the focused stop's edits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:30:21 +00:00
Martin BallandClaude Opus 5.5 f73cb0d60a Command board: a kept resolution that read the focused stop edits is stale once an end hook moved them, so a read between passes (a test after its frames) sees a field Undo state
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:26:06 +00:00
Martin Ball 9a4dd39d3a Workspace clippy: fix lints across ui crates and tests 2026-11-20 00:56:55 +00:00
Martin Ball e79bf44682 ui-widgets: every bar button face boxed 2026-11-20 00:51:45 +00:00
Martin Ball 83b39eda59 Workspace clippy: boxed bar button faces, a split-menu body type, Id::unique in tests, unused leftovers 2026-11-20 00:50:26 +00:00
Martin Ball 1ae0d678ba Workspace clippy: unused imports, auto-deref, an unused clipboard helper, a chord-match type, field facts grouped, trial asserts, device tests under cfg(test) 2026-11-20 00:48:46 +00:00
Martin Ball 4d86420bcf platform: the portal watcher follows changes in its own function (cognitive complexity) 2026-11-20 00:43:46 +00:00
Martin Ball f77301a76d Merge follow-up: resolve_in takes Reads; the host-key trial gives states through CommandStates; cargo fmt 2026-11-20 00:40:05 +00:00
Martin Ball e9f8979aac Merge craft-libs next 200447091 (memo-resolve, drag handles) into the WordCraft port: story command states through CommandStates 2026-11-20 00:36:56 +00:00
David Mann 2004470919 Merge pull request #2285 from davidmann4/anchor/12707-drag-handles
Add Anchor: a drag from a segment pulls out the new anchor's handles (photocraft#12707)
2026-11-20 00:42:48 +01:00
aiongg ee73f4ef3f Merge pull request #2358 from aiongg/memo-resolve
Command resolution only on change (#2336)
2026-11-19 18:17:22 -05:00
Martin Ball 362eb28209 Merge branch 'red/fwstub-2' into area/ribbon-fw 2026-11-19 22:38:26 +00:00
Martin BallandClaude Opus 5.5 5a4b24de71 fwstub-1: a canvas tool host hovers once at a resting pointer after a press, so the tip the press dropped comes back without a pointer move (WordCraft showed a link's tip again after a Ctrl+click); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:19:11 +00:00
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 35ff705ba8 fwstub-1: the unlabelled-row label trial clicks the label node, not the field's group (both are named by the label; the scope and the click-to-focus were intact after the sync, the trial picked whichever "Turn" node the tree listed first); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:15:11 +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
aiongg 336b7d373b Merge remote-tracking branch 'upstream/next' into memo-resolve 2026-11-19 20:21:46 +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