Commit Graph
660 Commits
Author SHA1 Message Date
bflatastic 897b45faaa ui-patterns: the hosted New Document keeps the details rows' memory and lends it to the dialog (NewDocumentDialog::memory), so a field automation sets is noted where the rows read it, and its preset field applies the saved preset's card 2026-11-23 10:49:22 +07:00
bflatastic 8e05942efb ui-patterns: the hosted Save PDF's automation OK in the preset editor files nothing for an empty name or one the app's check refuses, as the footer's OK is off then 2026-11-23 10:49:22 +07:00
bflatastic 1bd0567df4 ui-patterns: the hosted Save PDF keeps both passwords through an automation write to another setting, which reads the settings back from JSON that never carries them 2026-11-23 10:49:22 +07:00
Dylan M. Taylor cb3101725c sync skeleton: origin/next 118f1d2ff9 into pdf-port/gaps ea77c1676f, markers left
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.
2026-11-22 22:42:09 -05:00
Dylan M. Taylor 83b4245713 Param::beside_previous: rows that share a line in a parameter form (trial) 2026-11-22 22:15:37 -05:00
aiongg b634808ce4 Dock grips on next pass design-lint; the facade table lists main's new crate features
The rail grip takes the press that started its drag from GroupGrip's own
press (GroupGripOutput::drag_origin) instead of reading egui's pointer
state. The grip trials compare with GRIP_ABOVE and the theme's grip
shape instead of literal sizes. crates/craft/Cargo.toml [features] is
regenerated from the member manifests (exr, media-source and tiff
features from main; android-res in order).
2026-11-23 02:30:29 +00:00
Dylan M. Taylor 9f42cd9b81 FloatingGroup::grip / DockConfig::floating_grip: a quick-action strip's title row is a bare grip (trial) 2026-11-22 20:09:56 -05:00
bflatastic 0e9af5befe Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/ui-panels/src/docking/group.rs
2026-11-23 08:00:44 +07:00
bflatastic eaa7808dfd ui-patterns: the preset browser trial toggles the lead with Ctrl+Space, the chord that toggles on macOS too 2026-11-23 07:49:36 +07:00
bflatastic 871d184833 ui-patterns: the row menu shows the host's entries as the entry popup does, so a plain row is a menu item and only a checked one a check box 2026-11-23 06:42:49 +07:00
Dylan M. Taylor b008cd58fa Tabbed document dialog (Document Properties): aligned caption column, controls fill the row (Inspector scheme; trial) 2026-11-22 18:41:23 -05:00
bflatastic b1218a5fb2 ui-patterns: a grid reorder or drop counts the group header rows, so a drop in the left half of a tile under a header lands before it 2026-11-23 06:40:35 +07:00
bflatastic abb4f1e9f0 ui-contract: a click on the sole selected item reports CollectionEvent::Picked, and PresetBrowser reports it as Select 2026-11-23 06:32:58 +07:00
bflatastic 3c9bd2e48e ui-contract: a drag carries any number of extra payloads, one per type; PresetBrowser and SwatchesPanel take a host drag payload beside their own 2026-11-23 06:27:06 +07:00
bflatastic 9a128c770c dock: a group grip reports its drag's press point, which a tool rail's grip puts on the drag instead of reading egui's pointer; the grip trials assert relations to the grip shape 2026-11-23 05:23:41 +07:00
David MannandClaude Opus 5.5 55d3a66134 Dock: a docked tool rail column takes the dock's height; tight-gap dividers (photocraft#16461)
A docked stepped column (a tool rail) was clamped to its content's height, so under a docked
toolbar the window background showed instead of the toolbar's surface. The reference
application keeps the docked toolbar's column surface down to the dock's foot, with the tools
at the top. Docked, a stepped column now takes the dock's height like any column; a floating
stepped window stays as tall as its content.

The dividers between docked columns and between a dock and the document area were the inline
gap (6 px comfortable, 4 compact); the reference application's are 3 px at 100%. They are now
the tight gap (3 px comfortable, 2 compact).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:16 +01:00
bflatastic 534db793a0 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/font-manager/tests/it/picker.rs
#	crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-23 04:35:03 +07:00
bflatastic 89c28d42b1 ui-patterns: the hosted PDF dialog takes the open and permissions passwords as automation fields (never listed), under the rows' standard rule 2026-11-23 04:28:52 +07:00
bflatastic e1632f95fd ui-patterns: HostedParamDialog::can_reset compares with the reset target (opening values with reset_to over them), as reset does 2026-11-23 04:17:27 +07:00
bflatastic 116029a894 ui-patterns: trials that drops on a preset browser reach a tile and the empty notice in the grid view as in the list 2026-11-23 04:08:27 +07:00
Dylan M. Taylor 932e8df74b Preferences: one scrolling page of cards, segmented short choices, a search with its match count (L-311) 2026-11-22 15:58:09 -05:00
aiongg 8d436f486a Merge pull request #3087 from aiongg/dropdown-drives
Dropdowns name the list that takes their opener's keys (font picker Enter after typing)
2026-11-22 15:05:41 -05:00
David Mann 1cb53fbbf4 Merge pull request #3055 from davidmann4/fix/16403-16406-navigator-crop-bar-grip
Navigator drag, Crop move and shield seam, options bar clip, grip ink (photocraft#16403, #16404, #16405, #16406, #16410)
2026-11-22 21:02:29 +01:00
bflatastic d467ed3dcd Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/font-catalog/src/tests.rs
#	crates/font-manager/src/picker.rs
#	crates/font-manager/src/picker/rows.rs
#	crates/font-manager/src/picker/stories.rs
#	crates/ui-patterns/src/patterns/panels/palette.rs
#	crates/ui-patterns/src/patterns/presets/browser.rs
#	crates/ui-widgets/src/list/mod.rs
#	crates/ui-widgets/src/list/view.rs
2026-11-23 02:15:44 +07:00
aiongg fe271bf574 Dropdowns name the list that takes their opener's keys
A dropdown's opener (a picker's field or button) hands Up, Down, Page keys,
Enter and Tab to a collection in its dropdown. The framework took the first
type-ahead collection it found in the layer. The font picker's dropdown holds
the class column before the family list, so with filters shown Enter and the
arrows went to the class column: typing a name and pressing Enter picked
nothing.

Overlay::list (FocusPolicy::list) names the collection instead, and every
dropdown names its list: Select, ComboBox, TreePicker, completions, number
presets, PopupList (new PopupList::list) and the font picker, which names its
family list while it shows one. The type-ahead guess is gone.
2026-11-22 18:59:40 +00:00
David MannandClaude Opus 5.5 8995360551 Docking: a floating tool rail dropped by its grip keeps the grabbed point under the pointer (photocraft#16426)
GroupDrag carries the press a rail's grip started it with; a drop that
moves the floating window it is the whole of moves the window by the
pointer's travel from there (kept inside the float area) and keeps its
size, instead of putting its title row under the pointer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:25:33 +01:00
Dylan M. Taylor 9e8287c5fc DockGroup::titled / DockConfig::titled_headers: a group header shows the shown panel's title, count and a close button in place of the tab strip (trial a_titled_group_shows_the_panel_title_and_a_close_button_instead_of_tabs, seen failing with the flag unwired) 2026-11-22 12:26:21 -05:00
David MannandClaude Opus 5.5 daf0a8d827 Docking: a floating tool rail's grip moves its window (photocraft#16426)
The grip under a tool rail's column bar starts a drag of the rail's group;
released over empty room it floated the group under the pointer, which the
model refuses for a group that floats already, so a floating toolbar's grip
did nothing. A unit that is a whole floating window now moves that window
under the pointer (Action::MoveFloating), as its title row does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:18:21 +01:00
David MannandClaude Opus 5.5 cdde34581e Theme: the dock grips' shape is a theme setting, apart from the reference by default (photocraft#16426)
shape.grip in a theme file sets the grips' marks: ticks or dots, how many,
a tick's length, a mark's width and the gap. Each value is optional and
keeps the default, now eleven ticks five points tall (one more mark and
one point taller than the reference application's ten of four). The
theme editor, the writer (unknown keys kept) and the token dumps carry it;
GripMarks paints from the tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:49:02 +01:00
bflatastic e85a6d3fee ui-patterns: clippy 1.100 clean: no must_use on builders of must_use types; collapsed ifs; Copy fields not cloned; the drop builder type named; the PDF export automation trial is two trials 2026-11-22 22:36:50 +07:00
David MannandClaude Opus 5.5 13d70a400d Theme: a line.grip token for the dock grips' marks, a little apart from the panel
The dock grips drew their marks at 0.83 of the panel colour, as the references do on their lighter
panels; on our dark panels that is #2a2a2a on #323232, almost invisible, and no theme could choose
it. The marks now use a `line.grip` token: by default two steps from the panel (lighter in dark
mode, darker in light mode; Pro dark #474747 on #323232), and a theme can pin its own.

Fixes storytold/photocraft#16406.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:42:58 +01:00
bflatastic b1af55834d ui-patterns: NewDocumentDialog print_resolution and screen_resolution are quantity props again, set over the setup through DocumentSettings::set_resolutions 2026-11-22 21:01:13 +07:00
bflatastic bcce1c9f89 ui-patterns: DockArea::continue_move is a quantity prop taking (panel, grab) 2026-11-22 21:01:12 +07:00
bflatastic b950fb234a ui-patterns: PresetRow::preview with its counted anonymous key goes; callers give a keyed face through preview_face (pattern swatches by texture, contours by their points) 2026-11-22 21:01:09 +07:00
bflatastic e3d43eaf2f framework: button presses read through contract::clicked; the command registry names layers as runtime::egui::areas::LayerKey; Pasteboard declares its overlay (its rename story covers Open); rename_field returns the TextField for callers to show; the tool host's cancel mapping no longer names the pipeline's Gesture; quantities declared on roundness and a field's named number; fixed sample and paste-picture colours from Srgba and the test kit 2026-11-22 20:37:43 +07:00
Dylan M. Taylor fe14ea0bcf TitleRow::icon_ink; a dialog's title icon is drawn in the accent (trial the_title_lock_is_drawn_in_the_accent_colour, seen failing) 2026-11-22 08:33:19 -05:00
bflatastic bd7e55c424 framework: FacePaint and the preset browser's host closures key through the MemoProps and PlainData derives (covered_by, every_pass) instead of hand impls; the Font Height Reference glyphs are consts, and their segment helper no longer shares egui's stroke-taking name line 2026-11-22 20:16:41 +07:00
Dylan M. Taylor f61a28ff00 Dialog::title_icon; the password dialog's lock stands before its title (trial the_lock_icon_stands_by_the_title_not_the_message, seen failing) 2026-11-22 08:14:55 -05:00
bflatastic 35535b7720 ui-patterns: ParamDialog keeps its footer rows' states and pending flip in one session slot (runtime::memory::with_session), not egui temp data; the chord story narrows its room in testing::memory::scoped 2026-11-22 20:11:08 +07:00
bflatastic 9a4b9efb48 framework: setters that only store their argument are #[prop] fields the Props derive writes (TaskBar, FloatingGroup, ToolbarDrawer, CommandPalette, PresetBrowser, PresetPicker, AppShell, Radio, Swatch, Text, ListRow); ToolbarDrawer::mark and reveal take the tool, as ToolRail's do 2026-11-22 20:07:27 +07:00
bflatastic eaa3433662 framework: public enums and records the port added are #[non_exhaustive]; HoldSetting, PopupRegion, ParamPresets, CardSource::preset and WebDocument::vector take constructors for the crates that build them 2026-11-22 20:01:00 +07:00
bflatastic 55512ecf7b ui-patterns: a section list shows its sections at their natural height, so it owns no scroll in a dialog body that scrolls 2026-11-22 19:30:47 +07:00
Dylan M. Taylor d66deae98f PasswordDialog: bare password field (placeholder, no caption column); Open waits for a typed password 2026-11-22 07:08:22 -05:00
Dylan M. Taylor 43b9cf1e05 Document print dialog: compact inline printer rows, caption sections, no repeated radio heading, untitled section 2026-11-22 06:48:27 -05:00
Dylan M. Taylor 3d31bbfbae Document dialogs show a small page picture with its pager and notes beside it (L-304) 2026-11-22 04:33:34 -05:00
Dylan M. Taylor fe7701007c Dialog: Close in place of OK and Cancel while the fields are unchanged (L-307) 2026-11-22 04:18:43 -05:00
Dylan M. Taylor eeb754615b Preview pager is centred under the pane in a stacked or document dialog (L-304) 2026-11-22 03:20:27 -05:00
Dylan M. Taylor dd90a56370 Document dialogs fit a 900 px window: radio captions share their options' line, no zoom row; zoom row under the pane keeps its room before the picture (L-304) 2026-11-22 03:10:41 -05:00
aiongg 8a546e58f1 One separator between option groups: ListRow::rule goes, the preset browser, command palette and brush settings use ListRow::separator, whose height comes from the Divider's SeparatorRule 2026-11-22 06:57:34 +00:00
Dylan M. Taylor 00957212d2 Document dialogs write every decimal place their number rows ask for (L-304) 2026-11-22 01:43:27 -05:00