Commit Graph
29 Commits
Author SHA1 Message Date
aiongg 2151ca4cd4 canvas-widgets-w11: net change of 12 commits
- canvas-widgets-w11: partly written (run interrupted)
- canvas-widgets-w11: partly written (run interrupted)
- canvas-widgets-w11: partly written (run interrupted)
- canvas-widgets-w11: written by an agent
- canvas-widgets-w11: review fixes (review-1)
- canvas-widgets-w11: a root's response reports the presses on every part of its own, whatever egui widget took them; the part results say which part (fwcw round 3)
- canvas-widgets-w11: a press keeps focus only on the framework's focused stop, so a press on the canvas background focuses the canvas while a body member holds the stop (fwcw round 3)
- Integration: ui-widgets exports TextWords for Alert::range (dialogs-w4, cw.N6)
- canvas-widgets-w11: the held edit-menu selection drives the text part's keys and survives the pass focus takes to come back (top run round)
- canvas-widgets-w11: a root's own background is a hover candidate below its parts, and the root's response hovers by the framework's resolve wherever its arena is under the pointer; the press fallback to the background folds into the same shape (top run round)
- canvas-widgets-w11: an activation closes only the layers its walk out of the layer it ran in crosses, so a pick in a field's edit menu inside Help leaves Help open (top run round)
- Integration: overlay pass keeps framework-01-w9's layer spaces beside the activation's closed layers
2026-11-15 04:46:05 +00:00
aiongg deeb91802f Lints: doc links, test lint allowances, struct update in tests, wildcard imports, dead code 2026-11-14 02:35:35 +00:00
aiongg 8378864db3 Lints: gate test-only items, simplify types, struct literals, doc link 2026-11-14 01:25:10 +00:00
aiongg a17171af48 Lints: drop the workspace missing_docs lint and warn on it in the framework crates that document every public item 2026-11-14 00:15:29 +00:00
aiongg f7f75c178f Sizing::FillWidth makes a leaf fill its row's leftover room
Component::fills defaults to the width when the caller set Sizing::FillWidth,
and the sizing stays on the component after step 1 so the layout hooks read
it. Button, TextField and Slider lose their fill_width props and Swatch and
GradientSwatch their fill flags; callers set Sizing::FillWidth. The blend
select in BlendRows takes the room before Opacity, as in PhotoCraft.

A contract trial checks that a FillWidth leaf takes the row's room and a
Content leaf does not.
2026-11-12 15:12:10 +00:00
aiongg 76883fa5df Compare: the rule between the two panes
ComparePair::divider gives the segment in the middle of the gap between the panes, as LightCraft's Compare view draws
a line there; the pair story shows a vertical Divider on it.
2026-11-12 14:52:13 +00:00
aiongg 935613c4f7 Columns place their text as their spec says: rows take each column's alignment and tabular figures from the collection, and an end-aligned column's header ends at its cell's end; ListRow::columns goes 2026-11-12 14:32:49 +00:00
aiongg 76aaa21b4f ComparePair story: active pane readout, spacing from tokens 2026-11-12 14:32:49 +00:00
aiongg 13221fd697 Collections take their width from content where their column gives none, and honour their pad
A collection that fills the width (Fill or FillWidth) follows the rule a
container does: where the enclosing body does not give its width (sized
from content, or a content column), a measuring run takes the width from
its content (header least width, else its largest row, at least its
ideal_width) and the column holds it across the width it settles on. A
FillWidth TabStrip or list in a dialog's column no longer sets the
column to the screen's width. Env::gives_width names the rule for both.

Collections honour ContainerProps::pad as containers do: the items hook
reports it (ShapeHooks::pad), the pass carries it in Resolved::pad, and
step 5, the measure view's room and step 7's content rect read the
padding through steps::padding. The header, rows, scroll bar and empty
text sit inside it; the surface covers the whole rect. #[container]
forwards pad, so Panel's own copy goes.

The spelling, file list and glyph wells are a List or TileGrid with
surface(Sunken).pad(Control); RelinkDialog's table is FillWidth.
2026-11-12 14:32:48 +00:00
aiongg 26c435698f MediaBin: the search field fills the row before the count
TextField::fill_width takes the room its row leaves, as Button's does. The
row starts at the start edge: an end-aligned row overflowed in a bin held
at its column's width.
2026-11-12 14:32:48 +00:00
aiongg 56c097289d LinkList: the page on the name's line; the story's info names the lead link's path 2026-11-12 14:32:48 +00:00
aiongg 50dbd02e42 MediaBin story: List view rows with thumbnails 2026-11-12 14:32:48 +00:00
aiongg 4d9b800029 MediaBin: the List view shows glyph badges and names an item's status
A glyph badge follows the name as an icon. An offline, unreadable or
failed item shows the Icon view's glyph and words after its name, beside
the failure colour, so the status never reads as colour alone.
2026-11-12 14:32:48 +00:00
aiongg c58abdd4a5 MediaBin: the search and the count on a row under the title 2026-11-12 14:32:48 +00:00
aiongg 8703a667ba FooterBar: lay panel actions out from the reading end
The first action given sits at the end edge, as the old PanelFooter and
Photoshop's panel footers place them; a start group keeps its order.
Callers give their actions from the end edge: Layers, Channels,
Actions, Pages, the styles panel, the preset footer and MediaBin.
The filter gallery keeps Move Up and Move Down at the start edge.
LinkList's actions read as in the old: the menu at the start edge,
Relink at the end edge.
2026-11-12 14:32:48 +00:00
aiongg 83622a18e4 RelinkDialog: the missing-clips table shows its four columns across the dialog
The table was sized from its content with only fill columns, so it took
its least width and cut every header. It takes the collection default
(Fill): under the dialog's content-sized body it measures from its content,
never sets the dialog's width and shows across it, its columns sharing that
width; its height stays its rows'. The rows take the collection's cell rects
(`cells`), so File Name, File Path and Status show in their columns.
2026-11-12 14:32:47 +00:00
aiongg 87034bb56b CompareTile: the well takes the picture's aspect with the caption under it; ring and veil on that well; compact read-only stars, marks dropped when they do not fit 2026-11-12 14:32:47 +00:00
aiongg 265688684a rustfmt after the L14 and L05 merge 2026-11-12 14:32:46 +00:00
aiongg e6c3f8400c MediaBin: trial that a foreign drop on an item or the background of the List and Icon views goes into the shown bin 2026-11-12 14:32:46 +00:00
aiongg f53077aa67 CompareTile: the picture stays under a Rendering or Render failed pill 2026-11-12 14:32:46 +00:00
aiongg 4c915c4039 LinkList: status badges as solid status shapes with their marks 2026-11-12 14:32:46 +00:00
aiongg a57ce62843 RelinkDialog: the table's column order, widths and sort as a RelinkLayout the host keeps 2026-11-12 14:32:46 +00:00
aiongg 8626371303 PlacesTree: a double click opens and closes a folder; a click on the hidden-places row opens their menu 2026-11-12 14:32:46 +00:00
aiongg f87381d129 PlacesTree takes a drop onto a folder row the host accepts and reports it as Dropped with the folder and the payload; its story drags a Photo 7 chip onto the Photos folders 2026-11-12 14:32:43 +00:00
aiongg 316ac6fa21 Collections take drops through drop kinds: a payload of any type, between items or onto an item, reported as one Dropped event with its place and payload; accept_from and the same-key foreign drop go 2026-11-12 14:32:43 +00:00
aiongg d8ae35a263 PlacesTree trial: the disclosure triangle opens a folder and closes it again 2026-11-12 14:32:42 +00:00
aiongg 476602d4a3 A filling story's card is as tall as its content, and content taller than the room shares it
Along a height its parent sizes from its content, a container that fills takes its content height, at most the
room it is offered. When the content is taller, the measuring run is taken back and the container is laid out as
given the room, so its list and the bar under it share it; a record of the content height lets later runs and kept
transcripts lay it out the same. room_height only offers a finite room inside a scroll: a gallery card is as tall as
its story's content, at most the view, as the old gallery's tiles were.

layout_memory::draft runs a measuring run whose hand-forwards can be taken back once its result is seen: records,
kept transcripts, the open transcript's items, leaves and inputs, and each contribution (Contribution::undo for
column widths, label control minimums and reads). steps::id::draft takes the Auto id ordinals back with it. The
shrinking row's least probe is a draft taken back that reads nothing from outside.

A scrolling collection that fills keeps to its measured height in the real run under a body sized from its content,
so a footer under it stays below its rows. The PlacesTree story keeps the old 380 pt box.
2026-11-12 14:32:40 +00:00
aiongg 0e9ca32073 Story readouts: a line under the story in the old stories' words
StoryOutput::readout is a line a story words about what it shows or what last happened in it;
the gallery card shows it, muted, under the story in every layout. StoryData::note keeps what a
readout needs (last event, click count) outside the story's values, so drives and Reset compare
values only. The old readout lines come back for ColorWheel, ColorPicker, SwatchPalette and
SwatchTable, GradientPalette, TipEllipse, the symmetry canvas stories, LutPicker, ColorChoice,
Swatch, LayersPanel, MediaBin, ChannelsPanel, ToolRail, StrokeEditor and StrokeButton.
2026-11-12 14:32:40 +00:00
aiongg 8735a8b1c5 Document and app crates on the framework: text, pages, table, review, timeline, menu, browse, dialogs, print, font manager, theme store, update, automation 2026-11-12 14:32:38 +00:00