21 Commits
Author SHA1 Message Date
aiongg f1f0333a5b Merge storytold next into the framework branch 2026-11-16 01:01:38 +00:00
aiongg 81a0a9f36b Header-menu and edit-menu stories: return when the target is missing instead of expect 2026-11-14 05:54:09 +00:00
aiongg 31e032d5df Menu clippy on wasm32, header-menu and edit-menu stories
The wasm32 clippy step of the Menu job: craft-atomic drops files that have no drop glue there, the crash-log clock helper is native only, and one lint expectation holds on 64-bit targets only. Table and AltTextField declare their overlay and get a story that opens it.
2026-11-14 05:25:25 +00:00
aiongg 2b5de84828 Design lint: layer the env values, route egui access through the adapter, derive setters, token and relation checks in tests
The gate's design-lint test finds nothing. Env value types (pane edge, column align, row pressed, in-bar), band fill and span live in the layer that uses them; the cursor image and inside label are read back by the higher layer. Hand setters become derived props, tests assert relations, and the remaining sites are listed exceptions with reasons. The shortcut chord chip's sample is built only for screen tests.
2026-11-14 05:05:04 +00:00
aiongg 3c509c6227 Contract stubs: craft-ui-macros, craft-ui-widgets, craft-ui-panels 2026-11-14 01:46:34 +00:00
aiongg fb3962ce5d ListRow: a group header reads in the body weight, section_heading for a table's strong section rows; TileGrid: a leading group header sits at the top edge 2026-11-13 17:44:43 +00:00
aiongg 46061c8e44 A stack's header and footer are spaced from its body by the stack's gap
The header is the stack's first row and the footer its last, so the gap
between the stack's children also separates them from the body. A gap set
after the header or footer keeps them in step; footer_gap still sets the
footer's own.
2026-11-12 15:53:56 +00:00
aiongg ac9dd13cdc Toggle columns: one width from the toggle-column mechanism, a control and the inline gap (ColumnWidth::Toggle, ColumnSpec::toggle) 2026-11-12 15:42:15 +00:00
aiongg dbcd0978db MetadataTable: the header leaves the search text in the stack's memory for the body, as the command palette passes its query 2026-11-12 14:32:50 +00:00
aiongg 8b364c53b7 MetadataTable: the search field sits in the header region of the table's Stack, inset at its sides only, so the first group starts under the field; the rows are text rows; Stack::header_inset sets a header's side padding 2026-11-12 14:32:50 +00:00
aiongg eab5b32afa Collection row height: CollectionProps::row_height picks control-high or text rows, one resolver for the item layouts, the min_rows fill and ListRow's least height, which each ListRow collection sets in dress 2026-11-12 14:32:50 +00:00
aiongg b525e8b28a Table story: the name column as wide as its names up to a third of the table, Modified as wide as its dates 2026-11-12 14:32:49 +00:00
aiongg 679e17cab0 Table story as the old card: padded report names, Modified and Warnings columns, the first row selected 2026-11-12 14:32:49 +00:00
aiongg dcaf0f0244 Table header: the header menu (Columns checks, Reset Columns, the column commands) on a secondary click on a header or the empty header, hidden columns kept in the header's memory and reported, and Ctrl or Cmd with Left or Right moving the focused column 2026-11-12 14:32:47 +00:00
aiongg 868c3ca47a Table columns: a Content column is as wide as its widest cell, which rows report from their measure; a double click on a column's edge fits it to its widest cell in view; MetadataTable's name column fits its names up to a third of the table 2026-11-12 14:32:47 +00:00
aiongg de12633142 OS files drop on a collection through a drop kind of OsFiles; takes_files, FilesDropped and the pending files drop go 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 1ae7661643 Rename draft: a collection gives the text a rename field opens with (List and Table rename_draft); PageList opens it empty with several rows picked and starts a rename from the app's command 2026-11-12 14:32:41 +00:00
aiongg 4d6ff42eb7 Selection parts: read-only text any component can make selectable
PartsCx::selectable_text declares a run as a selection part with a press-only
stop in no group; step 8b gives the focused one Select All and Copy; and
PaintUi::selectable_text shows it through the text widget with the run's own
galley, in the state's colours. Notice title and message, MetadataTable values
(ListRow::cell_selectable) and SelectableText use it. SelectableText loses its
Bind and Input::Text path and becomes a label whose value is its text. The
suite presses the focus registration's press-only stops when Tab reaches
nothing, instead of guessing from Input::Text and a read-only node.
2026-11-12 14:32:41 +00:00
aiongg 939a80c85a Collection keys: type-ahead is a collection setting, off for lists
CollectionProps::type_ahead decides whether typed letters move the lead; the key role
reads it instead of turning type-ahead on for every collection, so a focused list leaves
single-letter tool keys to the app. Popup option lists, the hyperlink place list and the
gallery's component and token lists turn it on. The suite's type-ahead case runs where
the focused stop takes type-ahead.
2026-11-12 14:32:39 +00:00
aiongg a2676b8eac Framework UI crates: widgets, panels, canvas, patterns, shell and the craft-ui facade 2026-11-12 14:09:32 +00:00