Commit Graph
799 Commits
Author SHA1 Message Date
bflatastic 1eb6a92ade Clear the design-lint findings on main
Mark TransformBox::handle_side and PreferencesWindow::size as point
quantities the host supplies, and make CheckContext #[non_exhaustive].
#3855 and #3738 are reverted above: they read egui memory, raw keys and
pointer clicks outside runtime::egui.
2026-11-27 15:52:38 +07:00
bflatastic b0370f2298 Revert "Merge pull request #3855 from dotCooCoo/fix/web-export-web-shift-state"
This reverts commit e707caf245, reversing
changes made to f66ed91a34.
2026-11-27 15:52:38 +07:00
BFlat f78fca080f Merge pull request #3856 from dotCooCoo/fix/form-row-additional-enable-condition
Forms: let a field require more than one enabled condition
2026-11-27 14:23:50 +07:00
BFlat 7a4e4e4c37 Merge pull request #3753 from dotCooCoo/fix/preset-group-selection
ui-patterns: support opt-in group and preset selection
2026-11-27 14:22:05 +07:00
BFlat e707caf245 Merge pull request #3855 from dotCooCoo/fix/web-export-web-shift-state
Save for Web: show when the selected colors are web-shifted
2026-11-27 14:19:25 +07:00
BFlat da57b151d2 Merge pull request #3772 from dotCooCoo/fix/param-captionless-name
Parameter forms: name fields with hidden side captions
2026-11-27 14:18:20 +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 c8aa3daad4 Merge pull request #3881 from dotCooCoo/feat/preset-toolbar-leading-tools
Let preset host tools lead the toolbar on opt-in
2026-11-27 14:14:33 +07:00
BFlat 822f63ea75 Merge pull request #3643 from dotCooCoo/fix/browser-find-search-name
ui-patterns: the preset browser's Find also matches a row's search name
2026-11-27 14:12:31 +07:00
BFlat 7d4b8e9684 Merge pull request #3468 from dotCooCoo/fix/file-list-picker-short-room
ui-patterns: a FileListPicker in a short room keeps its buttons whole and the rows after it under them
2026-11-27 14:06:19 +07:00
BFlat 730c8a35c7 Merge pull request #3426 from dotCooCoo/fix/prefs-open-size
ui-patterns: PreferencesWindow can open at a size the host gives
2026-11-27 14:06:05 +07:00
dotCooCoo 0fd61ad968 Let preset host tools lead the toolbar on opt-in 2026-11-26 21:48:19 -08:00
dotCooCoo a7c2da8c0b Parameter forms: name fields with hidden side captions 2026-11-26 09:20:29 -08:00
dotCooCoo a810e21237 Apply custom unit labels to length fields 2026-11-26 09:09:35 -08:00
dotCooCoo cc7250e420 ui-patterns: support opt-in group and preset selection 2026-11-26 08:05:30 -08:00
dotCooCoo 7da5e5a5e4 Keep both web palette actions available for mixed selections 2026-11-26 07:58:50 -08:00
dotCooCoo 60626900b7 Merge next into feat/unit-text 2026-11-26 07:42:52 -08:00
dotCooCoo 169fd17da3 Forms: let a field require more than one enabled condition 2026-11-26 07:03:49 -08:00
dotCooCoo cbe89553af Save for Web: show when the selected colors are web-shifted 2026-11-26 06:42:07 -08: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 02bc2f8264 Merge branch 'next' into fix/docked-pane-divider 2026-11-26 10:33:16 +01:00
FredApps 9140bb0b57 Merge remote-tracking branch 'origin/next' into tc14-3510 2026-11-26 16:08:40 +07:00
FredApps e39fd100af Merge remote-tracking branch 'origin/next' into tc14-3475 2026-11-26 16:08:37 +07:00
dotCooCoo e8730f3825 ui-patterns: the preset browser's Find also matches a row's search name
PresetRow::search_name is documented as the name Find also matches, but
shown_rows compared the query with the label only. A host that shows a
translated label and sets the stored name as search_name could not find
the item by its stored name. Find now keeps a preset whose label or
search_name matches.
2026-11-25 21:28:03 -08:00
dotCooCoo 1eeb7baf17 Merge next into feat/unit-text 2026-11-25 20:36:19 -08:00
dotCooCoo 3fab8529b3 Merge next into fix/prefs-open-size 2026-11-25 20:26:17 -08:00
dotCooCoo 9e33be60b4 Merge next into fix/file-list-picker-short-room 2026-11-25 19:50:09 -08: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 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 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 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 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 6e4b0281ce Merge pull request #3539 from dotCooCoo/fix/find-dialog-escape
ui-contract: Escape in a modeless dialog's field closes the dialog
2026-11-26 09:58:45 +07:00
BFlat eb9d439cd5 Merge pull request #3532 from dotCooCoo/fix/list-manager-enter
ui-contract, ui-patterns: Enter in a list manager's name box runs its enabled first action
2026-11-26 09:58:18 +07:00
BFlat e3ceeb4a7f Merge pull request #3521 from dotCooCoo/fix/slider-field-tab-order
ui-widgets: Tab visits an inline slider field's slider before its number field
2026-11-26 09:57:36 +07:00
BFlat acd3892871 Merge pull request #3423 from dotCooCoo/fix/per-inch-typed-suffix
behavior: a typed /in after a count reads as the per-inch unit (40/in)
2026-11-26 09:52:40 +07:00
BFlat 2ccbe14914 Merge pull request #3455 from dotCooCoo/fix/save-for-web-panes-fill-height
ui-patterns: Save for Web's preview panes fill the height beside the settings
2026-11-26 09:52:00 +07:00
BFlat 96d8c7f233 Merge pull request #3420 from dotCooCoo/feat/per-inch-unit
ui-contract: UnitKind::PerInch shows a count per inch after its number (10/in)
2026-11-26 09:49:54 +07:00
dotCooCoo 616429fea0 ui-patterns: the PDF export preset row reads modified while custom flattener options are on
A PDF preset names a flattener preset and never holds custom flattener
options, so while the flattener select shows [Custom] the settings no
longer match the chosen preset. The preset row now reads
"<name> (modified)" while `custom_flattener` is on, as it does for any
changed setting, and shows the preset's name again once it is off.
2026-11-25 16:34:09 -08:00
Martin BallandClaude Opus 5.5 8ba0526fcb ui-contract, ui-patterns: the quiet field's docs name surface.background and link FieldLook::Quiet
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:56:35 +00:00
Martin BallandClaude Opus 5.5 43ae21e05e ui-patterns preview zoom: whole percent from the env's ZoomPrecision, not a per-call flag
Adds the ZoomPrecision env value (Fractional by default, Whole) that Units::zoom_codec follows, so the preview's zoom
row and the zoom field (status bar) show the same decimals. Removes PreviewZoom::whole_percent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:53:48 +00:00
Martin BallandClaude Opus 5.5 ff6de75f02 text field, palette: a FieldLook replaces quiet and muted_placeholder; quiet fill is surface.background
The quiet field's resting fill is surface.background (WordCraft's t.ribbon), the quiet look implies the muted placeholder, and the quiet_field doc link resolves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:42:41 +00:00
David MannandClaude Opus 5.5 b0f72d8dad SectionList: only a framed list sets the columns' gap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 00:13:04 +01:00
Martin Ball d345604815 Merge origin/next 2026-11-25 23:06:18 +00:00
Martin Ball ee4a9c2666 Merge origin/next 2026-11-25 23:03:12 +00:00
David MannandClaude Opus 5.5 f74fe090fc Preferences: an opt-in classic layout with a framed page list, group boxes and Prev/Next
PreferencesLayout::Classic draws the paged body as a desktop preferences dialog does:
the page list in a frame as tall as the page (SectionList::framed) with room before the
page, no heading over the page, and each titled group a GroupBox. The window puts OK,
Cancel, Prev and Next in a column at the end edge (ButtonPlace::Side) and opens at
1030 x 660; Prev and Next step through the listed pages and wrap. Paged and Cards are
unchanged. PreferencesPageOutput::pages lists the page ids the search keeps.

For storytold/photocraft#17014.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:46:32 +01:00
dotCooCoo 6b82d7c4b0 Dock: a floating window placed or restored outside its panels' limits shows within them
FloatingGroup::mount passed the caller's rect to Overlay::placed unchanged
for a window the rect sizes, and a placed rect takes precedence over the
layer's size limits. A window placed by a command or restored from a saved
layout narrower than its panels' least width was drawn at that width. The
window now shows at the rect's place with its size clamped to the frame
limits (the panels' limits with the chrome on top), as an OS window's
placed rect already is. A window whose column's groups are all minimized
takes the clamped width too, and a window drag carries the clamped size, so
a float of the drag does not restore the narrower size. A window already
within its limits keeps its rect.
2026-11-25 11:37:15 -08:00
aiongg 444ba59795 A layer in a popup window remembers what it opened with
A layer opened in a palette window shows in a popup window of its own. Its host asked in the opener's viewport whether the layer appears in this pass, and only the popup's pass recorded that it had, so the layer appeared in every pass and forgot everything in between. The arrow keys never left a menu's first row, a menu hung at the pointer jumped while the pointer was over it, and a scrolled flyout went back to its top. The host now records the appearance in the opener's viewport too (`overlay::note_appeared`, split out of `begin_layer`), so both viewports agree.

With its memory kept, such a layer takes the two rules an in-window layer has: a right-click on its context opener hangs it at the new pointer (`recall_shown`, shared by both hosts), and the press that opened it from another window does not close it when the opener runs a second pass of the opening frame.

The window kit's `send` gives events to one child window, such as a popup's.
2026-11-25 19:11:46 +00:00