menu: upstream's memoised bar and English names in the model, with the port's icons/compact
options and disabled submenus. behavior: press keeps both the pointer-left and pass-drag
states; KeyRole gains PartialEq/Eq. automation: agents deps via craft-control, screenshot
params with region, document points with a page. font picker: upstream's column list, kinds,
actions and missing note, with the port's host groups, current host row and mixed label.
theme: wordcraft and pdfcraft app palettes. Cargo.lock: port side; vendor jbig2: upstream.
257 conflicted files staged with their conflict markers (630 hunks). The one
modify/delete, crates/ui-patterns/src/patterns/preferences/body.rs (deleted
upstream, modified by the port), keeps the port's file for its area to carry
into upstream's preferences/page.rs. Plan: landing/fw-sync-plan.md.
A host app that serves the control channel can now run a whole drag
from one request instead of composing ui.click with hold, ui.move steps
and ui.release itself.
- synthetic::Drag reads {from, to, button?, steps?, modifiers}. from and
to are point objects {x?, y?, coordinates?, page?}, each in its own
space; errors inside one name it (from.x ...). steps runs from 1 to
MAX_DRAG_STEPS (200), default DRAG_STEPS (12).
- Drag::inject resolves both points before it queues anything, then
queues the press at from, the moves to to in even steps (the last one
lands on to) and the release at to. The modifiers stay held through
the release and are let go afterwards unless other input stays held,
as after ui.click.
- input_method dispatches ui.drag, so its reply waits for the release.
- The crate README, docs/craft-framework.md and docs/porting.md list it.
Tests: a drag with a document-point end presses at from, makes one move
per step towards to, releases at to and leaves nothing held; a drag
keeps its modifiers while a held key stays down; a drag whose end
cannot be placed queues no press; bad drag params join the refused-input
table.
A dimension that belongs to one component's own drawing is a documented
constant in that component's file; layout sizes stay semantic tokens, and
no size-preset token exists for one component (craft-framework.md 5.4).
- Spec: 5.4 rule 3 reworded; Appendix A, 4.6 (the component-token rung
goes, no such tokens exist), 8.3, porting.md and the theme README agree.
- design-lint: literal-size/* treats a module- or impl-level const with a
doc comment as a named value: a name that resolves to it is not flagged,
and its initializer is its definition. Fn-local and undocumented consts
and call-site literals stay flagged. Nine markers that only covered such
consts are removed.
- Ruler ticks: size.ruler.tick.* leaves the size presets; kit.rs draws
TICK_MID = 6 and TICK_MINOR = 3 points in every density, as the old
library and the apps' rulers do. Comfortable ticks go back to 6 / 3
(from 9 / 4.5); Compact is unchanged.
- size.scroll_fade becomes FADE_LENGTH in scroll_bar.rs, size.notice.width
CARD_WIDTH in notice.rs, and size.story.* multiples of size.control.md
in testing/stage.rs (15, 10 and 30 control heights: today's values in
both densities). pointer_tip, checker, thumb.sample.*, the card gaps and
icon.glyph_md stay tokens: each has more than one user.