Commit Graph
9288 Commits
Author SHA1 Message Date
Martin BallandClaude Opus 5.5 25d789f348 ui-test-kit: a test can focus or close one of several child windows (C5-8)
Windows::focus, ::close and ::child_facts target one child viewport; the
other children keep their facts and get no close request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
2026-11-26 11:46:14 +00:00
FredApps ea14416aaf Merge pull request #2823 from storytold/fix/7171-scroll-bar-inset
#7171: scroll bodies offer fill-width children the view, not the bar lane
2026-11-26 11:14:50 +01:00
FredApps ecb69983ef Merge pull request #3146 from storytold/fix/docked-pane-divider
dock: a docked pane shows a divider on its inner edge (wordcraft#7317 C7-9)
2026-11-26 11:14:37 +01:00
FredApps cc59357033 Merge pull request #3475 from storytold/fix/wordcraft-7708-print-zoom-whole-percent
ui-contract: a ZoomPrecision env value lets zoom show whole percents (storytold/wordcraft#7708)
2026-11-26 11:14:23 +01:00
FredApps c53066d193 Merge pull request #3481 from storytold/fix/wordcraft-7678-gallery-selected-outline
menu: the ribbon gallery's current tile is an accent fill with an accent edge, not a grey fill (storytold/wordcraft#7678)
2026-11-26 11:14:13 +01:00
FredApps 2956f5009e Merge pull request #3510 from storytold/fix/wordcraft-7682-palette-quiet-search
ui-patterns: a quiet look for an in-place command palette in a bar (storytold/wordcraft#7682)
2026-11-26 11:13:20 +01:00
FredApps 5aa05e74d0 ui-contract: a quiet field keeps its own edge at high contrast and where line.border is the window background
In Artcraft dark, Pro dark and Solarized dark (standard and high contrast), line.border is surface.background, so the quiet field had no edge at rest on a fill of the same colour. At high contrast the field's boundary should show. The test fails without the guard.
2026-11-26 16:40:12 +07:00
FredApps f8b068a404 Merge branch 'next' into fix/7171-scroll-bar-inset 2026-11-26 10:33:21 +01:00
FredApps 02bc2f8264 Merge branch 'next' into fix/docked-pane-divider 2026-11-26 10:33:16 +01:00
FredApps 7e7456955a docs: contract-api lists FieldLook, StyleCx::quiet_field and TextOptions::look
Regenerated with the contract-api bin; only the three entries this PR adds are taken, the file's other drift on next is left alone.
2026-11-26 16:30:14 +07:00
FredApps 9140bb0b57 Merge remote-tracking branch 'origin/next' into tc14-3510 2026-11-26 16:08:40 +07:00
FredApps cb399e16e2 Merge remote-tracking branch 'origin/next' into tc14-3481 2026-11-26 16:08:39 +07:00
FredApps e39fd100af Merge remote-tracking branch 'origin/next' into tc14-3475 2026-11-26 16:08:37 +07:00
BFlat 16b2981d49 Merge pull request #3637 from storytold/fix/next-design-lint 2026-11-26 14:34:33 +07:00
bflatastic 76322b729c menu: the macOS rebuild retry keeps std Instant, allowed and listed
runtime::motion::now returns a web_time Instant, which is not std's on wasm,
so the menu macOS and WASM lint job failed to compile mac.rs. The AppKit
rebuild retry is a native timer outside any pass, so it keeps Instant::now
with a contract/motion marker and its entry in
design/exceptions/craft-menu/crate.toml.
2026-11-26 13:03:37 +07:00
BFlat 9f93f32494 Merge pull request #3638 from dotCooCoo/fix/list-row-closed-toggle 2026-11-26 12:44:29 +07:00
BFlat b2e7113a41 Merge pull request #3509 from dotCooCoo/fix/list-row-toggle-once 2026-11-26 12:44:20 +07:00
BFlat aed392aebf Merge pull request #3501 from dotCooCoo/fix/list-row-cell-bounds 2026-11-26 12:44:11 +07:00
Martin Ballandacebear17 e172271774 ui-contract: keep an app's own text curve for each mode (#3516) (#3615)
The mode sync from #3259 wrote egui's default curve for the resolved mode into both theme styles every pass, so an app's own curve (WordCraft's dark Gamma(0.8)) was lost. Each style's curve is now remembered as the app's own whenever it differs from the one the sync last wrote, and the resolved mode's own curve is written into both styles.

(cherry picked from commit 0f7450e578)

Co-authored-by: acebear17 <121527825+acebear17@users.noreply.github.com>
2026-11-26 04:56:27 +00:00
bflatastic ed7b213d51 design-lint: clear the four findings on next from #3534, #3541 and #3431
craft-design-lint's workspace test fails on next with four findings in code
that landed before the lint became a hard test:

- draw (#3534): the Bezier overlay's read counter is a thread_local in a module
  gated cfg(all(test, feature)); the global-state rule skips cfg(test) modules
  only, so the gate is split into #[cfg(test)] and #[cfg(feature)], which
  compiles the same code.
- menu (#3541): the macOS menu rebuild retry reads the runtime's clock
  (runtime::motion::now) and asks for its frame through
  runtime::frame::request_repaint_after instead of Instant::now and
  Context::request_repaint_after.
- ui-panels (#3431): Prompt::layer_role was a hand-written setter; the field is
  now #[prop(vis = "pub(super)")].
2026-11-26 11:39:35 +07:00
dotCooCoo 3af616be85 ui-widgets: a toggle cell the list does not flip paints disabled
A collection already refuses a press, a sweep and the Space key on a
toggle cell whose source says it does not flip
(`ItemSource::toggle_enabled` false, or a section row), and reports its
node disabled. The row still painted that cell with the normal toggle
ink, brightened it under the pointer and showed the off glyph on hover,
so a locked cell looked clickable.

- `ItemFacts` carries `closed_toggles`, the toggle columns whose cell in
  the item does not flip, filled from `toggle_open`.
- `ListRow` reads them with the other facts and declares such a cell's
  part inactive, so its glyph or check box paints in the Disabled state
  at rest, under the pointer and under a press.
- An off cell there shows no off glyph under the pointer.
2026-11-25 20:34:51 -08:00
dotCooCoo 9a4eea7a1b Merge next into fix/list-row-cell-bounds 2026-11-25 19:39:00 -08:00
BFlat 8f1bb4c460 Merge pull request #2088 from dotCooCoo/fix/color-portal-answer-shape
Screen: the color picker portal's answer of another shape fails the pick without a panic
2026-11-26 10:31:04 +07:00
BFlat 7f93aef96b Merge pull request #2086 from dotCooCoo/fix/portal-current-filter-shape
Dialogs: a Save As goes ahead when the portal answers with a file type of another shape
2026-11-26 10:30:38 +07:00
BFlat 74f875c758 Merge pull request #3080 from dotCooCoo/feat/craft-shared-vec
Add craft-shared-vec: an indexed list whose clones share their blocks
2026-11-26 10:26:09 +07:00
BFlat c41c9433e9 Merge pull request #2969 from dotCooCoo/feat/color-row-alpha
Form dialogs: a color row can carry opacity (ParamKind::color_with_alpha)
2026-11-26 10:25:56 +07:00
BFlat 54cbab4c5e Merge pull request #2964 from dotCooCoo/feat/dialog-confirm-held-refusal
craft-automation: ui.dialog.confirm of a held OK replies with the app's answer, a refusal in English
2026-11-26 10:25:33 +07:00
BFlat 16c41e2f7a Merge pull request #2959 from dotCooCoo/feat/about-licenses-tab
About: a Licenses tab shows the app's third-party license texts
2026-11-26 10:25:20 +07:00
BFlat d9513bc418 Merge pull request #2957 from dotCooCoo/feat/range-param-step
Form dialogs: a Range row can take a step (Param::step) for its slider and field
2026-11-26 10:25:07 +07:00
BFlat c901ddcb79 Merge pull request #2956 from dotCooCoo/feat/automation-ui-drag
craft-automation: ui.drag presses, moves in even steps and releases as one request
2026-11-26 10:24:55 +07:00
BFlat b6ca1de062 Merge pull request #2955 from dotCooCoo/feat/menu-bar-natural-width
Menu bar: the output reports the width every title takes side by side
2026-11-26 10:24:42 +07:00
BFlat 40c4cb3157 Merge pull request #2949 from dotCooCoo/feat/fit-short-order
Fit: items rank their short forms, and late ones shorten after the free items leave
2026-11-26 10:24:19 +07:00
BFlat 634637b2d4 Merge pull request #2943 from dotCooCoo/fix/docx-hide-proofing-errors-next
craft-docx: read and write the hide spelling and grammar errors settings on next
2026-11-26 10:23:52 +07:00
BFlat 7635245a93 Merge pull request #2718 from dotCooCoo/fix/canvas-paste-text
Canvas: the body's tool pass carries the text the editor part pastes
2026-11-26 10:11:20 +07:00
BFlat ba847f6d8a Merge pull request #3534 from dotCooCoo/fix/bezier-selected-anchor-lookup
draw: the Bezier overlay looks each knot up in the selection's anchors gathered once per pass
2026-11-26 10:02:33 +07:00
BFlat af8600b13e Merge pull request #3531 from dotCooCoo/fix/anchored-layer-alignment-in-ltr-axis
ui-contract: a layer opened inside an ltr_axis component aligns to its anchor in the interface's direction
2026-11-26 10:02:21 +07:00
BFlat 3d3f738229 Merge pull request #3605 from dotCooCoo/fix/swatches-panel-document-key
color-ui: SwatchesPanel::document keeps an open rename with its document
2026-11-26 10:02:08 +07:00
BFlat 2e3ef32b8b Merge pull request #3602 from dotCooCoo/fix/pdf-preset-label-flattener
ui-patterns: the PDF export preset row reads modified while custom flattener options are on
2026-11-26 10:01:56 +07:00
BFlat 09dd0b7d98 Merge pull request #3588 from dotCooCoo/fix/divide-slices-axis-names
draw: Divide Slice's Divide By groups and value fields name their axis
2026-11-26 10:01:43 +07:00
BFlat fb46021c51 Merge pull request #3586 from dotCooCoo/fix/shortcuts-tab-strip-names
menu: Keyboard Shortcuts' tab strips have readable names
2026-11-26 10:01:31 +07:00
BFlat 7c5ec6a47d Merge pull request #3584 from dotCooCoo/fix/cursor-follows-zoom-off
ui-contract: with cursor_follows_zoom off, a pointer keeps its size at every interface zoom
2026-11-26 10:01:18 +07:00
BFlat 2bc819b479 Merge pull request #3573 from dotCooCoo/fix/page-list-document
pages: PageList keeps a rename and its scroll per document
2026-11-26 10:01:05 +07:00
BFlat 0c03526c50 Merge pull request #3567 from dotCooCoo/fix/floating-window-least-size
Dock: a floating window placed or restored outside its panels' limits shows within them
2026-11-26 10:00:51 +07:00
BFlat 039e809779 Merge pull request #3566 from dotCooCoo/fix/command-states-index
ui-contract: CommandStates finds a command among the states with its id
2026-11-26 10:00:38 +07:00
BFlat 57ebc5a3ec Merge pull request #3565 from dotCooCoo/fix/macos-save-format-menu
dialogs: macOS Save sheets list the file types in a Format menu
2026-11-26 10:00:26 +07:00
BFlat ff35197753 Merge pull request #3558 from dotCooCoo/fix/screenshot-settle-clock
automation: ControlChannel::settle_at admits a screenshot at the time the app passes
2026-11-26 10:00:13 +07:00
BFlat e4fd69e763 Merge pull request #3553 from dotCooCoo/fix/preview-pane-narrow-room
ui-contract, ui-patterns: a preview in a narrow panel stays inside it
2026-11-26 10:00:00 +07:00
BFlat 00889a3338 Merge pull request #3546 from dotCooCoo/fix/slider-end-labels-apart
ui-widgets: a slider's mark labels sit apart and inside it when they are long
2026-11-26 09:59:47 +07:00
BFlat 982ee712a3 Merge pull request #3545 from dotCooCoo/feat/tab-title-type-role
Tabs: semibold document tab titles draw in craft-fonts' condensed face where the app embeds it
2026-11-26 09:59:35 +07:00
BFlat 2c295e7396 Merge pull request #3543 from dotCooCoo/fix/color-wheel-tab-reaches-square
ui-contract: a folded control focused in an arena reports focus on its owner's node
2026-11-26 09:59:22 +07:00