Commit Graph
649 Commits
Author SHA1 Message Date
Dylan M. TaylorandClaude Opus 5.5 4fe5bbd953 Framework sync: merge craft-libs main (9949e08d6)
Conflicts:
- items/press.rs: the port's cell_press takes the modifiers; it now reads upstream's pick_mods, the release's own.
- run/typed.rs and primitives/record.rs: the face record keeps the port's Name, so a decorative or labelled-by face stays one. Upstream's rule is added: an empty own text falls back to the label.
- Test imports take both sides; menu bar test comments take upstream's wording for its row naming.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 17:02:52 +00:00
Dylan M. Taylor d49ee8d237 Merge main and regenerate contract API after inspector changes 2026-11-29 10:07:01 -05:00
skylar taylor-barrick 8b78923296 Inspector and accessibility names (#3215)
* Inspector: name generic components by their type and list a text field's value

The component name dropped the path before the generic arguments, so Select<'_, String> was
recorded as `String>`. A text node's value, which AccessKit reads, now also shows in the
inspector's facts.

* Inspector: test generic component names and text field values

* Keep the components of a replayed memoized view in the enclosing inspected region

* SwatchPair: each well's access node is named by its own label, not the pair's

* rustfmt

* Inspector: clippy tidy-ups in the replay step and its trial

* Inspector: a text field's value is journaled like the other steps, so a replayed view keeps it; the pair trial checks each name is its well's radio button

* inspect: list a text value whichever order the node's facts arrive in

A text value noted before its node's facts in the same pass was dropped, as it
was only written on facts that already existed. The open region now keeps the
noted value per component and writes it on the facts when they arrive, so the
order no longer matters; a value the node states itself still wins. The steps
journal and replay as before.

The trial drives the record's calls in each order: text value before facts,
facts before text value, facts reported again, and a node's own value.

* Inspector trial: a null-rooted id and a let-else in place of expect, for next's lints

* Inspector trial: assert the region ran instead of panicking, for next's lints

* docs: regenerate contract-api.md

* contract-api: an entry's summary is its first sentence, not its first line

The generator showed the first line of each item's doc comment, so an entry whose doc comment wrapped
mid-sentence ended on a dangling word: the press latch's `release` stopped at "an earlier", `swallows` at
"true for the", and about a quarter of the file's entries were cut off the same way.

The summary now carries the wrapped lines to the end of the first sentence, stopping at a colon that
introduces a list, so every entry reads whole. Only the clipped tails change: each completed entry keeps
its text and gains the rest of the sentence from the item's own doc comment. docs/contract-api.md is
regenerated with it.

* contract-api.md: regenerated after the merge of main (the generator's own output, not a hand merge)

* contract-api: a summary stops at its first sentence's end inside a line

`doc_summary` only stopped at the end of a line, so a doc line that held two sentences (`... release or
cancel. A press that begins while nothing is latched is not swallowed.`) carried both, and the entry was
two sentences long.

`sentence_end` now finds the boundary inside the line: a full stop, question or exclamation mark that ends
the line, or that a space and a capital letter follow, and never a run of dots (`(LRI ... PDI)`) or one of
the short forms e.g., i.e., cf., vs., etc., approx. The summary stops there; a colon that introduces a list
below still ends it too.

docs/contract-api.md is regenerated with the rebuilt binary.

* memo keys: whether a region is open; contract-api: no Self:: link targets

A memoized view's key held the props, the `fn` and what the scope around it hands down, but not whether an
inspected region was open. A view that settled outside a region kept a run that recorded no inspection steps
(`runtime::inspect::run` notes one only while a region is open), so when a region later wrapped the unchanged
view it replayed that run and the region's record showed none of its components: the inspector listed nothing
for what the region showed.

Whether a region is open now feeds the key, one byte after the show address, so a view settled outside a
region runs in the pass that shows it inside one and records the region's steps; a run made inside a region is
not replayed outside one either. `contract::inspect_region` trials both directions and the region's recorded
components, and `record`'s doc says why. Without the key byte that trial fails.

`doc_summary` also drops the target of a link that names the item's own type (`Self::zoom_x`), which rustdoc
resolves in the source and this file has no page for: the entry keeps its reference text, as the file writes
every name it cannot link. docs/contract-api.md is regenerated with the rebuilt binary: 77 lines, the 82 link
targets and nothing else, and a second run leaves it byte-identical.

Focused trials pass: ui-contract's `contract::inspect_region` (new), `memo`, `derived` and `contract::fixes`,
ui-widgets' `memo` and `runtime::inspect` (the region's components through a replay included), and
craft-menu's `keytips`.

* docs: regenerate the contract catalog on current main
2026-11-29 10:04:40 -05:00
Dylan M. TaylorandClaude Opus 5.5 9f09688ee1 Framework sync: survey_columns is a removed entry with fit_columns its own; components index regenerated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 07:59:07 +00:00
Dylan M. TaylorandClaude Opus 5.5 0663f18e62 Framework sync, patterns area: resolve the merge of craft-libs main 07a8c471ed
- 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>
2026-11-29 04:31:24 +00:00
Dylan M. TaylorandClaude Opus 5.5 a3bd3e5e07 Merge craft-libs main 07a8c471ed into the port (skeleton: conflict markers left in for the area merges)
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>
2026-11-29 04:24:10 +00:00
skylartaylor 711cfbd0bc Merge updated wheel handling from craft-libs main 2026-11-29 04:20:57 +01:00
skylartaylor a770df044d Merge craft-libs main into the input and focus fixes 2026-11-29 03:56:53 +01:00
autocraft-bot[bot] 1f65084b15 Merge main into design-port/pr-dialog-looks 2026-11-28 23:15:38 +00:00
autocraft-bot[bot] 03bd2112a5 Merge main into design-port/pr-dialog-looks 2026-11-28 19:19:47 +00:00
autocraft-bot[bot] b6a27eda05 Merge main into design-port/pr-fields-values 2026-11-28 19:18:15 +00:00
autocraft-bot[bot] 604941c4ba Merge pull request #3446 2026-11-28 18:35:45 +00:00
autocraft-bot[bot] 82180bb27c Merge pull request #3217 2026-11-28 18:35:25 +00:00
skylartaylor a9fca8edb1 Merge craft-libs main and keep both sets of text trials 2026-11-28 18:31:24 +01:00
skylartaylor 7e7128ad21 Merge craft-libs main and regenerate the contract catalog 2026-11-28 18:22:22 +01:00
autocraft-bot[bot] a5b566b051 Merge pull request #3552 2026-11-28 16:18:15 +00:00
skylartaylor e53c73b054 Merge craft-libs main after the body read refactor 2026-11-28 16:18:25 +01:00
dotCooCoo f606f29aca Merge main into feat/craft-gpu-yuv 2026-11-28 01:41:48 -08:00
Dylan M. TaylorandClaude Opus 5.5 97285bdddd WIP fw-app-2: partial framework follow-ups (Codex stopped: usage limit / killed); not reviewed, not merged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 11:17:47 +00:00
skylartaylor c370647bb7 contract-api.md: regenerate with the gallery's default features (a --no-default-features build drops MeasureCx::in_row from the catalog) 2026-11-27 08:55:30 +01:00
skylartaylor 9ca942c747 Merge craft-libs main (c0977ad6): access.rs doc is main's sentence plus our Scroll Into View one; docs regenerated 2026-11-27 08:40:45 +01:00
skylartaylor e14a0e9be8 Merge craft-libs main (c0977ad6): module list unioned, docs regenerated 2026-11-27 08:40:45 +01:00
skylartaylor ba5d274d7a Merge craft-libs main (c0977ad6): access.rs doc is main's sentence plus our Scroll Into View one; docs regenerated 2026-11-27 08:40:45 +01:00
skylartaylor 246f99c684 Merge craft-libs main (c0977ad6): docs regenerated, nothing else 2026-11-27 08:27:41 +01:00
BFlat 877b55f835 Merge pull request #3805 from dotCooCoo/fix/pointer-scoped-field-wheel
Allow apps to limit wheel edits to the focused field under the pointer
2026-11-27 14:22:49 +07:00
BFlat bb84da2f88 Merge pull request #2965 from dotCooCoo/feat/unit-text
Units: number rows can show unit text, and UnitKind gains Milliseconds
2026-11-27 14:16:13 +07:00
BFlat fa29f503f8 Merge pull request #3554 from dotCooCoo/fix/segmented-narrow-room
ui-widgets: a segmented strip wider than its room moves segments to the next line
2026-11-27 14:11:48 +07:00
BFlat d70f4f4391 Merge pull request #3439 from dotCooCoo/fix/tool-pointer-ink
theme, ui-contract: a painted pointer takes overlay.cursor, which VectorCraft's themes pin white
2026-11-27 14:11:08 +07:00
BFlat 326856bd18 Merge pull request #3512 from dotCooCoo/fix/dock-band-host-items
dock: a narrow group's drag band leaves room for the host's header items
2026-11-27 14:06:45 +07:00
dotCooCoo 5f896c5bdf Document the PerInch unit variant 2026-11-26 21:00:09 -08:00
dotCooCoo c90d84d26a Merge main into feat/craft-gpu-yuv
Expose the GPU YUV provider through the craft facade and keep its feature table consistent with the workspace.
2026-11-26 20:55:24 -08:00
dotCooCoo 1d85617a61 Merge main into feat/unit-text 2026-11-26 20:38:25 -08:00
skylartaylor 404dd9a336 contract-api.md: regenerated (PointerFrame gains click_mods) 2026-11-27 05:15:45 +01:00
skylartaylor 1d57ffaabb Merge remote-tracking branch 'origin/main' into design-port/fw-display-only-bindings 2026-11-27 04:51:03 +01:00
skylartaylor a8786edae3 Merge remote-tracking branch 'origin/main' into design-port/pr-dialog-looks 2026-11-27 04:51:02 +01:00
skylartaylor 3c91dccde5 Merge remote-tracking branch 'origin/main' into design-port/pr-dock-forwarded-keys 2026-11-27 04:51:01 +01:00
skylartaylor 7e85934986 Merge remote-tracking branch 'origin/main' into design-port/pr-input-focus 2026-11-27 04:51:01 +01:00
skylartaylor 789fd5e072 Merge craft-libs main (9524262a, next merged into main): resolve conflicts and regenerate the catalog 2026-11-27 04:50:45 +01:00
skylartaylor 5468d9ffe5 Merge craft-libs main (9524262a, next merged into main): resolve conflicts and regenerate the catalog 2026-11-27 04:50:45 +01: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 aadc602c49 platform-w1: net change of 2 commits
- platform-w1: written by an agent
- platform-w1: review fixes (review-1)
2026-11-27 03:23:17 +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
dotCooCoo 8873320c70 Allow apps to limit wheel edits to the focused field under the pointer 2026-11-26 14:50:50 -08:00
skylartaylor 05345c06d3 Dock windows: the DragBounds summary says both policies and the default
Reviewer finding on #3446: the summary ended at a colon ("How much of a floating
layer stays inside the window when the user moves it, when it is placed at a
position, and ..."), and the catalog lists that line only — a variant's own doc
is never extracted. So the line is now a complete summary: the whole layer
(`Inside`, the default) or a strip of its title, with where the rule holds and
the overlay's own `bounds` in the paragraph under it. The variants keep their
detailed docs for rustdoc.

Regenerated with the branch's own generator; a second run leaves the file byte
for byte as it was. The run also picks up two entries the branch's merges added
without regenerating (`Action::restore`, and `floated`'s doc).
2026-11-26 23:17:50 +01:00
skylartaylor d76d12cb01 Dialog looks: the catalog entries that stopped mid-sentence now end one
Reviewer finding on #3448: entries in `docs/contract-api.md` ended mid-sentence
(`size_ok` at "a `min` that is", `label_decimals`, and the `WindowSpec`,
`pressed_part` and `icon_ink_on` summaries). The generator lists the first line
of each doc comment only, so each of those doc comments now opens with a
complete sentence and keeps the rest below it: `size_ok` says on its second line
that a `min` that is not a number counts as one unit, `label_decimals` keeps its
cases in the paragraph under the summary, and `WindowSpec`'s first line carries
the whole "what it is for, who draws its frame, where it stands and whether it
has a taskbar entry" sentence.

Regenerated with the branch's own generator; a second run leaves the file byte
for byte as it was. Every entry this branch adds or changes now ends in a full
stop. The rest of the file keeps the entries the base leaves truncated (1273 of
4820 entry lines still end mid-sentence, none of them touched here): sweeping
those, or teaching the generator to join a doc's first sentence, is a separate
change.

The regeneration also picks up two entries the branch's merges added without
regenerating (`Action::restore`, and `floated`'s doc).
2026-11-26 23:09:50 +01: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
skylartaylor 18e448b956 Merge remote-tracking branch 'origin/main' into design-port/fw-display-only-bindings 2026-11-26 22:08:40 +01:00
skylartaylor 792efa0f4a Merge remote-tracking branch 'origin/main' into design-port/pr-dialog-looks 2026-11-26 22:08:07 +01:00
skylartaylor 8bc61c8621 Merge remote-tracking branch 'origin/main' into design-port/pr-docking-windows 2026-11-26 22:08:05 +01:00
skylartaylor d254821a27 Merge remote-tracking branch 'origin/main' into design-port/pr-dock-forwarded-keys 2026-11-26 22:08:04 +01:00