bflatastic
dbcbf55e18
Merge commit '0726c0f87' into sync/next2
2026-11-24 01:52:47 +07:00
bflatastic
57aacff99d
Merge remote-tracking branch 'origin/next' into sync/next2
2026-11-24 01:41:30 +07:00
bflatastic
b78d580c7d
ui-contract: a window-wide drop target (a tab strip's tear-off) yields to a component's target under the pointer in another window, also one that window's running pass registered: a tab dragged out of a document's OS window and released over the main window's strip tore off instead of docking there
2026-11-24 01:37:06 +07:00
bflatastic
dab7d1a115
ui-contract: a shell without Caps::SYSTEM_CURSOR keeps the system pointer under a painted cursor and paints none, nor hands the window an image: a host on Wayland with no cursor theme, where a hidden pointer never comes back, could not keep it
2026-11-24 01:09:28 +07:00
bflatastic
efebc0cdac
color-ui: ColorDisc::stored_as and HarmonyWheel::stored_as take the host's round trip through its own colour model, so a drag whose colour comes back moved by it (CMYK through a profile) is still the drag's; without it the disc keeps its 8-bit echo check: a host storing colours in another model had its own drags cancelled as outside changes
2026-11-24 01:08:34 +07:00
bflatastic
0726c0f87d
ui-contract, ui-canvas: KeyUse::command_keys and Canvas::editor_command_keys: a canvas editor that has the keys leaves chords with the platform's command modifier and function keys to the app's commands under any typing rule, its text editing chords kept; off by default: under TypingRule::AllWait a type tool's editor ran none of the app's Cmd chords or function keys
2026-11-24 00:58:13 +07:00
bflatastic
83b922e633
ui-contract: an Alt chord's text is withheld only when a binding of it in a scope around the focus can run, as the key stage matches the press: a type editor's Alt chord in a scope no focused component is in kept the character a layout types for it (a Blob Brush's [) from reaching anything
2026-11-24 00:58:07 +07:00
bflatastic
85ba69b147
ui-patterns: PaletteOutput::refused names the disabled command Enter was pressed on, from the new CollectionEvent::Refused of a disabled lead's Enter, so an app can close the palette and say why: the palette stayed open and told the app nothing
2026-11-24 00:57:53 +07:00
bflatastic
662ff9264a
ui-contract: with RootEnv::escape_leaves_fields, Escape in a field of a dialog that Escape closes stays the dialog's with nothing typed too: the field took it to give up the focus and the dialog stayed open
2026-11-24 00:57:52 +07:00
bflatastic
4a6ea8a984
ui-contract: a text part asks where the keyboard goes back to only once it held the focus or keeps a selection for a menu, so a part that never held the focus reads no focus in its run: the replay audit found a memoized view whose field read the focus only when another stop had it
2026-11-24 00:57:49 +07:00
Martin Ball and Claude Opus 5.5
126ec28dca
ui-widgets: a painter picture can fill its slot (wordcraft#7317 C3-1) ( #3131 )
...
* ui-widgets: painter pictures take an explicit size (wordcraft#7317 C3-1)
Add PictureSize::Points(u16) and make Picture::painter take a PictureSize,
so a painter no longer falls back silently to the 18 pt icon side.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* ui-widgets: PictureSize doc names the points variant
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* Picture: PictureSize::Fill takes the room its parent gives, replacing Points(u16)
A painter picture can fill a dialog's preview slot at its aspect, with no raw
point size (design-lint props/point-size). painter() keeps its original
signature; callers opt in with .extent(PictureSize::Fill). measure reports the
offered room so a Fill picture never overflows a narrower one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* Picture: a Fill picture in an unbounded room takes the icon side's height
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-23 17:41:18 +00:00
bflatastic
e36d3d0034
ui-contract: RootEnv::escape_leaves_fields lets an app's Escape in a focused text field also give up the focus, with or without typing to revert, as egui's own fields did; off by default: a framework field kept the keys after Escape, so the next Enter stayed the field's
2026-11-23 21:51:05 +07:00
bflatastic
3b17e2b367
behavior: NumberCodec::share_of_start reads a lone percentage (Reader::share) as that share of the value the edit started from, on every pass and on commit only: a size field's 50% could only be read against the value of the moment, which the numbers typed before the % had already applied
2026-11-23 21:37:00 +07:00
bflatastic
dd5da21414
theme: the port theme's token dumps take the values the merge of next changed
2026-11-23 21:30:13 +07:00
bflatastic
6fdb4265ab
Merge remote-tracking branch 'origin/next' into sync/delta11
2026-11-23 21:28:41 +07:00
bflatastic
928e478220
dialogs: Save As onto the document's own file writes the file type the panel picked, also after the changed-on-disk question's Replace: the own-file path dropped the pick
2026-11-23 21:26:11 +07:00
bflatastic
fa1fac17da
ui-contract: a text part keeps its selection while a menu bar or a menu the keyboard goes back to it from has the focus, as it did for its own edit menu: the window's Edit menu showed Copy disabled for a field's selected text
2026-11-23 21:26:10 +07:00
bflatastic
a3b7f774fb
color-ui: trial of a linked harmony wheel drag whose host moves every colour from the drag's start in 8-bit colours: it runs to its release and the other colour turns
2026-11-23 21:26:09 +07:00
bflatastic
b991e3f9c0
ui-panels: a footer's armed buttons wait again for a host's next dialog shown in the same place with the same ids (overlay::running_dialog): a question put in place of another between two frames took the click the one before had armed
2026-11-23 21:26:09 +07:00
bflatastic
1c093cc7e0
color-ui: a click on any swatch reports SwatchesPanelOutput::used, with its colour only where it holds one: gradient, pattern and None swatches reported nothing, where production applied every swatch
2026-11-23 21:26:08 +07:00
bflatastic
fe2d1d09d7
ui-contract: DropTarget::under_modal and WindowDropTarget::under_modal let a target take OS file drops while a modal layer holds input, through the modal's scrim but not its body: a modal refused every drop below it and on the window, where VectorCraft placed files dropped under its alert; off by default
2026-11-23 21:26:08 +07:00
bflatastic
46b9fe002d
ui-contract: Shift or Alt with Escape that the keymap binds to an enabled command runs it: the key stage read every Escape without Cmd or Ctrl as the scope's escape, so a command bound to Shift+Escape never ran; a plain Escape keeps its meaning
2026-11-23 21:26:07 +07:00
aiongg
e3ca63165d
Merge pull request #3167 from aiongg/cl-doctor-split
...
cl doctor after the split UI test kit
2026-11-23 08:55:01 -05:00
Martin Ball and Claude Opus 5.5
db33516bf6
Tests: restore control-connection and X11 clipboard guards lost in WordCraft's port (wordcraft#7317) ( #3115 )
...
* storytold/wordcraft#7317 : restore control-server and clipboard security tests
Port the lost tests onto craft-automation (EOF request, connection limit)
and craft-platform (X11 property read cap).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* storytold/wordcraft#7317 : the EOF trial requires a real close, not a read timeout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* wordcraft#7317: the restored connection-limit test retries when Windows resets a refused connection's write
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-23 13:48:37 +00:00
Martin Ball and Claude Opus 5.5
1c5ad1b85a
Update: a rate-limited check is a typed reason apps can translate ( #3090 ) ( #3098 )
...
* #3090 : craft-update reports a rate-limited check as a typed reason apps can translate
check_for_update now returns CheckError (RateLimited | Failed(String)); Updater gets Status::RateLimited, LatestRelease gets RateLimited, and UpdateWords gets rate_limited. GitHub's own text stays data in Failed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* #3090 : isolate the rate-limit source test's cache path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* #3090 : point the rate-limited word's doc link at updater::Status
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* #3090 : tests that a rate-limited release check is typed and the check dialog words it itself
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-23 13:48:33 +00:00
Martin Ball and Claude Opus 5.5
ee01a2b421
theme: dark-mode accent buttons show a visible hover (wordcraft#7317 C7-14) ( #3124 )
...
* theme: dark-mode accent buttons show a visible hover (wordcraft#7317 C7-14)
accent.strong_hover/pressed offset the rest fill by the ramp distance from accent.solid to
accent.hover/pressed. A light dark-mode seed leaves those ramp steps 0.01 OKLCH-L apart, so the
hover was invisible; and a fill near white or black clamped. The offset now has a floor
(hover 0.06, pressed 0.10) and flips toward the text when there is no room away from it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* theme: explain names the shift's floor and flip
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* wordcraft#7317 C7-14: test that explaining the dark accent hover names its base and its lightness floor
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-23 13:48:29 +00:00
bflatastic
df0b910dcc
Merge branch 'sync/next2' into sync/delta11
2026-11-23 20:31:25 +07:00
bflatastic
eb7fe4ff00
ui-contract: a bare Tab where it would toggle the panels runs the enabled command the keymap binds to it, when that is not a chrome command: an app command that took Tab from Toggle Panels never ran, as the Tab gate only took chrome commands
2026-11-23 20:27:43 +07:00
bflatastic
157714c25a
ui-patterns: in the pass a tab click picks a panel of the focused group, DockAreaOutput::focused names that panel: it named the panel the group drew in that pass, the one before the click
2026-11-23 19:48:27 +07:00
bflatastic
51ad138dd2
ui-contract: a drag of OS files runs in the window under them: the main window's pass, which the OS sends none of a child window's files, ended the session, so files dropped on a native panel window never reached DockAreaOutput::window_files; the test kit's Windows now sends files to one window (FilesOver), as the OS does
2026-11-23 19:42:19 +07:00
bflatastic
ac276c4e92
font-manager: the picker's script trial reads Sarabun from font-subset's test data, so the crate declares that read
2026-11-23 19:38:28 +07:00
bflatastic
f8714b2374
ui-canvas: ToolHost::navigates: a press the host says navigates (a finger once a pen has been seen) runs the momentary Hand, latched for its gesture
2026-11-23 19:35:36 +07:00
bflatastic
95e4ec879e
behavior, ui-canvas: RulerUnits::with_labels(TickLabels::Signed) writes ruler ticks signed with only the decimals they need (-2.5, 0.3, 1), VectorCraft's form; TickLabels::Distance stays the default
2026-11-23 19:35:36 +07:00
bflatastic
24e30ffacb
ui-shell: a document window's raise brings its fallback layer to the front in that pass (overlay::raise), as a press on it does: it only asked an OS window for focus
2026-11-23 19:27:33 +07:00
bflatastic
bbd5eb35d1
ui-contract: a focused text part takes as its edits only the bindings of Cut, Copy, Paste and the rest that are the platform's text-editing chords: an app's alternate key (F4 for Paste) went to the field too, where production left the text alone
2026-11-23 19:27:29 +07:00
bflatastic
0c633a83cd
ui-canvas: a rulers corner drag lands at its release only while its edit is open: after the host cancelled it, the release proposed and committed again and moved the zero point
2026-11-23 18:05:09 +07:00
aiongg
60e39bc320
cl doctor: dev-dependency features across the egui crates
...
The dev-dependency rule covered egui alone; epaint_default_fonts slipped past
it. It now checks the egui crates every framework crate builds on (egui, epaint,
epaint_default_fonts, emath, ecolor): a feature a dev-dependency line asks of one
must also be asked by a normal line, feature-root's included.
2026-11-23 10:55:18 +00:00
aiongg
52d8e207df
feature-root: ask epaint_default_fonts for the monochrome emoji faces
...
craft-ui-contract's tests ask for them as a dev-dependency (their font oracle),
which gave cl test ui-contract its own epaint_default_fonts and so its own
egui and framework build. The feature only adds two byte constants; egui's emoji
fallback is epaint's own feature and stays off.
2026-11-23 10:54:18 +00:00
aiongg
4304f51ff0
cl doctor: rules for the split UI test kit
...
Since #2363 , craft-ui-contract's testing no longer carries snapshot and the
framework crates have a suite feature. Every cl command still resolves one
framework feature set (feature-root brings the gallery's craft-ui suite), so the
three doctor reports were out of date, not second builds:
- drop the pin on craft-ui-contract's testing including snapshot: each framework
crate's suite forwards to the runtime's suite, which cl picks first
- the gallery's must-be-optional rule covers domain crates, not the framework
- the story renderer's lines are compared with the features the gallery's lines
turn on, implied features included (suite implies testing)
CL_DRY_RUN with cl render no longer runs the renderer after printing the command.
2026-11-23 10:54:17 +00:00
bflatastic
503ccd4cd9
Merge branch 'sync/next' into sync/delta11
2026-11-23 17:32:13 +07:00
bflatastic
e433ef83eb
ui-widgets: trial: a grid row holds a field whose label stacks above its control for want of room
2026-11-23 17:28:13 +07:00
bflatastic
3ce58d7cae
ui-patterns: a form dialog's body takes the host's answers, the opening pass and OK only in a real run: the dialog's own measuring run of the body (a re-layout under a child dialog) used them up, so Save for Web's real run reported no palette shift
2026-11-23 17:28:13 +07:00
bflatastic
2e4bf56a88
print: the hosted print dialog's automation preset field takes a row's key or its name in any case and applies that row's key, as production found presets by name ignoring case
2026-11-23 17:28:12 +07:00
bflatastic
b14f3a313d
ui-contract: a component's focus request in a press's pass holds: the press's own focus move at the pass end does not take the focus back, as a layer that appeared in the pass already kept it
2026-11-23 17:28:11 +07:00
bflatastic
2f068b43a0
ui-contract: an injected step whose events the frame it entered held back (behind a real press, H0) stays in flight into the pass that delivers them, which reports injected_pass
2026-11-23 17:28:09 +07:00
bflatastic
77b2d98f66
ui-contract: an open anchored layer keeps the side it took only while its host asks for the same side; asked for another, it takes that side's placement
2026-11-23 17:28:07 +07:00
bflatastic
a7f40c4474
draw: a running TransformFields gesture reads its values against the start box it began with, so a host that moves the start box with the gesture's own values does not cancel it as an outside change
2026-11-23 17:28:06 +07:00
bflatastic
deb9ad9f07
ui-contract: Tab toggles the panels from read-only text a press focused (a selection part, a press-only stop), as from any pressed control; only a text field keeps Tab for the next field
2026-11-23 17:28:05 +07:00
bflatastic
d824d42d25
ui-patterns: a new palette query's active row is its first match, enabled or not, so Enter on a disabled first match runs nothing and the footer says why, rather than Enter running the next match
2026-11-23 17:28:05 +07:00
bflatastic
508faa1eb7
ui-contract: an Alt press an input method types through is typing: the focused text stop that has the IME holds it, so its bound command does not run beside the commit
2026-11-23 17:28:04 +07:00