Commit Graph
8520 Commits
Author SHA1 Message Date
Dylan M. Taylor aa3ec09edd Keep trailing tab controls visible in narrow rows 2026-11-21 17:53:59 -05:00
aiongg a2cb4687ce Trials: labelled check boxes in scopes in an egui grid cell keep one line and shared rows; an egui grid directly in a right-to-left body or row stays finite and as wide as under left-to-right 2026-11-21 22:46:07 +00:00
aiongg 6ca8b40158 Layout: a control finds an egui grid's cell through the UiStack, with_env is the one scope wrapper, an egui cell is decided at what its row needs
- Env::of sets Scoped::egui_cell when its walk from a Ui to the entry it finds passes an egui::Grid's Ui; scopes that pass the env on keep it, a body or a component's children end it. It replaces Ui::is_grid in the label step and the container hooks.
- In an egui cell the row is decided at what the label and the control at its ideal width need, from the cell's left edge, narrowed as well as widened.
- flow_scope folds into with_env (Overrides::id_salt); the dock group header and the Liquify footer are craft Rows.
- text_edit and the selectable text read the caller's env before they make their child Ui.
- Grid docs: rows after an egui container are placed over it.
2026-11-21 22:46:06 +00:00
aiongg 017ecd683f egui: pin storytold/egui next f5025284, whose Grid marks its Ui as UiKind::Grid and lays out left to right
craft::egui_fork::REV follows the pin.
2026-11-21 22:46:06 +00:00
Dylan M. Taylor cedf9e01b6 Size document tabs to available title bar room 2026-11-21 17:46:00 -05:00
David MannandClaude Opus 5.5 06238616d4 Dialogs: a layer's body leaves its footer room when it fills (photocraft#16326)
A layer's measuring run lays its body out before the footer runs, so a body
that fills the layer's room (a scrolling list, About's Contributors grab bag)
took the footer's height too. The layer came out taller than its room by the
footer, with empty space under the buttons, and in a small window it ran past
the window's bottom edge.

When what a layer with a footer took is taller than its room, the run is now
taken back and the body laid out again beside the footer that run measured,
as a capped inline body already is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:44:58 +01:00
Dylan M. Taylor 3d23eae3dc develop-model: map remaining Camera Raw fields to DevelopSettings (#587) (#2942)
* develop-model: map remaining Camera Raw fields to DevelopSettings (#587)

* test(develop-model): avoid json! macro recursion limit in migration test (#587)
2026-11-21 17:40:58 -05:00
bflatastic 253d76d13f color-ui: the picker dialog's Color Swatches view keeps the buttons' cell; the swatch request test names a swatch no channel shares 2026-11-22 05:36:23 +07:00
David MannandClaude Opus 5.5 9597f188d5 Docking: grips are the reference's upright ticks; a tool rail gets a grip under its column bar (photocraft#16332, photocraft#16333)
The grip above each icon group of a collapsed column was a dotted hairline in a lighter ink than the panel
(7bf0a9b6d, e5e007233). The reference application draws its dock grips as ten upright ticks, one point wide,
four tall and one apart, a little darker than the panel in every interface colour, the same under the pointer.
`GripMarks` paints that row, through the new `Rule::ticks` (the dotted rule is now its square case) and
`Draw::grip_ticks` (exactly `count` marks at every scale).

A tool rail the host shows itself (a panel with a `DockGrid`, taken by `group_view`) now gets a grip strip of
`DockSizes::grip` on top, under its column bar: a `GroupGrip` with the ticks, whose drag moves the rail's group.
The host's view gets the room under it, and the group measures the strip on top of the view's height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:32:50 +01:00
David MannandClaude Opus 5.5 dc89eb1d3a menu bar: Space on a focused title opens no menu (photocraft#16327)
A lone Alt tap or F10 puts the keyboard on the in-window menu bar. The
titles took Space as their activation, so Space opened the lit menu
(File), and a held Space went on to run its first row. In a canvas app
Space is the momentary Hand, and the reference application never opens a
menu with it.

- The titles activate on Enter only; Down opens the menu as before.
  Space goes on to the app's shortcuts, and a shortcut pressed on the bar
  already gives the keyboard back to the stop the bar took it from.
- A bar that takes the keyboard while nothing holds it remembers the
  window's document canvas (the key target then) as that stop, so the
  shortcut and Escape give the keyboard back to the canvas instead of
  leaving the bar lit, where the next tool letter would open a menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:31:58 +01:00
Dylan M. Taylor 1ad61320ac develop-model: map Camera Raw 1-to-1 scalar fields to DevelopSettings (#587) (#2938) 2026-11-21 17:26:48 -05:00
bflatastic 4cbd19c3a7 ui-patterns: the radio rows' closure needs no mut 2026-11-22 05:20:00 +07:00
David MannandClaude Opus 5.5 a10089e3f6 WIP: Dialogs: a floating dialog's body stays inside the window when it grows (photocraft#16326)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:17:43 +01:00
David MannandClaude Opus 5.5 e75b255e63 About: set the About tab's blocks apart and centre the button and links (photocraft#16325)
The centred layout drew the blurb, version, community button, link row and
built-with line in one stack at the row gap, and its rows were only as wide
as their content, so nothing was centred and no block stood apart. The
blocks now sit apart by the section gap, and the body and the About tab
take the dialog's width, so the button and the link row centre in it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:16:23 +01:00
bflatastic 3aba5a108c ColorRequest::on_swatches opens the colour picker on its Color Swatches view 2026-11-22 05:15:08 +07:00
Dylan M. Taylor 249c707303 Size organize tiles for the page grid 2026-11-21 17:13:03 -05:00
bflatastic 7ed64e69cb ui-patterns: HostedListManager, the list manager on the dialog host; take_choice hands over actions that keep it open 2026-11-22 05:11:01 +07:00
David Mann b572143761 WIP: Docking: grips as the reference's upright ticks; a grip under the toolbar's header (photocraft#16332, photocraft#16333) 2026-11-21 23:02:39 +01:00
David MannandClaude Opus 5.5 0712064ab1 Canvas scroll bars: pasteboard range, thumb stays under the pointer (photocraft#16328, photocraft#16329)
With Overscroll on, the bars' range takes in the pasteboard: at either end
of a track 100 screen points of the document stay in view at the opposite
edge, at any zoom and for documents larger or smaller than the window, as
measured in the reference application. Overscroll off is unchanged.

A thumb drag keeps the range the bar had at the press and maps the
pointer's movement from the press onto it, so the thumb stays under the
pointer: past a track's end the view waits, and moving back moves it again
in the same drag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:02:38 +01:00
bflatastic a930e20256 font-catalog: Catalog::set_confined_dirs; a link in a confined folder is followed only inside one 2026-11-22 05:02:04 +07:00
David Mann ca3d21835d WIP: Canvas scroll bars: pasteboard range and a thumb that stays under the pointer (photocraft#16328, photocraft#16329) 2026-11-21 23:00:28 +01:00
bflatastic e2dca317ec ui-patterns: WorkspaceSwitcher::commands replaces the switcher's header menu rows 2026-11-22 05:00:26 +07:00
David Mann c1a34f7d8d WIP: menu bar: Space on the focused bar leaves it and reaches the Hand (photocraft#16327) 2026-11-21 22:58:36 +01:00
FredApps 3de39fd3a5 media-source: play indexed Y4M from bounded byte ranges (#2903)
* media-source: play indexed Y4M from bounded byte ranges

* Preserve Y4M indexing errors and align fractional seek boundaries
2026-11-22 04:58:22 +07:00
bflatastic d059b92889 ui-widgets: Radio::detail shows a muted line after the radio's label through the label step; form radio rows use it 2026-11-22 04:57:37 +07:00
Dylan M. Taylor 188b5ad5d7 Place band tile controls outside the picture 2026-11-21 16:56:57 -05:00
Dylan M. Taylor 3222847bd2 Keep constrained number values visible 2026-11-21 16:54:59 -05:00
aiongg 9d928c7954 Trials: flow facts stop at egui containers, a Lazy keeps the row's line, labels in egui grid cells and narrow horizontals 2026-11-21 21:50:53 +00:00
aiongg f4bd0ae95f Layout: what a body sets up for its children in flow stops at egui containers; labels unbounded only in an egui::Grid cell
Env::of clears the start_room facts (grid cursor, row line and room, shrink step, first line, flow start, fill share,
content column, offered width) when the entry it finds was installed for an ancestor of the Ui, not for the Ui
itself. Copies made from it (with_env, MemoView's counting install, with_item_facts) and the measure keys start from
the cleared facts. Env::installed_for, row_line_of and grid_of go.

Craft code that runs children in a Ui it makes installs its env there: run_sharing and measure_sharing's no-share
block, run_spread's sweeps, Lazy and MemoView, Pages, measure_slot, the levelled unit's probe, a content-height pane at
a caller rect (a room of its own), PaintUi's children. flow_scope is the craft form of ui.scope, push_id and
with_layout around craft content; the dock group header and the Liquify footer use it, and the select search row and
the date popup's Today row are craft Rows. A craft Grid documents that an egui container in it is no cell.

The label step's signal is egui's Ui::is_grid (egui_cell): in an egui::Grid cell a labelled control or container
decides its label at its own width and widens at the cell's right edge in either direction. ui.horizontal keeps
wrapping and stacking at the room's end.
2026-11-21 21:50:53 +00:00
aiongg f6b98be494 egui: pin storytold/egui next efd532a5, which makes Ui::is_grid public 2026-11-21 21:50:53 +00:00
David MannandClaude Opus 5.5 7843e29364 Layers panel: a hidden layer's eye box stays empty under the pointer (photocraft#16321)
A list toggle cell drew its off icon under the pointer, so hiding a layer showed a crossed-out eye in its box until
the pointer left. The reference application leaves a hidden layer's box empty in every state. ToggleCell gains
`empty_off()`, which never draws the off icon, and the Layers panel's layer and sub-row eye cells use it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:50:45 +01:00
David MannandClaude Opus 5.5 d9686ea983 WIP: About: set the About tab's blocks apart and centre the button and links (photocraft#16325)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:49:56 +01:00
bflatastic ecb5efdebd ui-canvas: ToolInput::clicks injects a double or triple click through the window host's click injection 2026-11-22 04:47:22 +07:00
bflatastic a7a3b72eb0 Length fields: LengthUnits::bare_in reads bare numbers in another unit; a length row honours Param::codec 2026-11-22 04:43:11 +07:00
bflatastic 3269303dce ui-panels: StandardPrompt readers for the title, message, paragraphs and buttons it shows under a host 2026-11-22 04:38:26 +07:00
Dylan M. Taylor 0f096d6d69 Remove stale layout design-lint exceptions 2026-11-21 16:37:47 -05:00
bflatastic 2f27abb014 layers: LayersEvent::rename builds a committed rename outside the crate 2026-11-22 04:34:28 +07:00
bflatastic aa44f62c8b ui-patterns: re-export the palette's RESULTS from patterns::panels 2026-11-22 04:33:34 +07:00
bflatastic 9da354739d automation: ActionList::set_options replaces an action's app options 2026-11-22 04:32:42 +07:00
bflatastic f8910e8773 ui-widgets: SearchIndex::for_host builds the command index without a Ui 2026-11-22 04:31:14 +07:00
bflatastic f8176040a0 menu: summary::text_for writes the shortcut summary without a Ui, in the host's language 2026-11-22 04:31:12 +07:00
bflatastic e13c89f2f7 host: Host::words and Host::language_code, the language a scope under the host reads, for code without a Ui 2026-11-22 04:31:10 +07:00
David Mann 6e5490edc3 WIP: Layers panel: a hidden layer's eye box stays empty under the pointer (photocraft#16321) 2026-11-21 22:23:59 +01:00
Dylan M. Taylor 5d5d1922ca Make tile insert targets discoverable 2026-11-21 16:21:26 -05:00
bflatastic d0e5b48039 ui-patterns: a custom row's CustomContext::request_action reaches HostedParamDialog::take_actions 2026-11-22 04:20:30 +07:00
bflatastic 547deb28b6 ui-patterns: Param::on_set runs a custom row's set-time rule; enabled_above, enabled_when_differs and disabled_value 2026-11-22 04:19:48 +07:00
bflatastic a48f67a91f automation: ControlClient::call_until stops waiting when cancelled; connect and replies honour CONNECT_TIMEOUT and MAX_REPLY_BYTES 2026-11-22 04:03:10 +07:00
Dylan M. Taylor 024517d26e Clip transform previews in source space 2026-11-21 16:01:15 -05:00
aiongg f36b912872 Shell trial: reset the rail run counters as two statements 2026-11-21 20:59:54 +00:00
bflatastic 27795829f9 Merge remote-tracking branch 'origin/next' into sync/next 2026-11-22 03:54:10 +07:00