Commit Graph
5371 Commits
Author SHA1 Message Date
aiongg 5cb801fb1c Gallery: theme-editor stories behind a gallery feature, like the other domain crates 2026-11-17 16:34:09 +00:00
aiongg 02d069f3e6 Merge branch 'tc/scope' into tc/wave1 2026-11-17 16:26:49 +00:00
aiongg c4a14ef4db ThemeScope: a theme definition, mode, contrast and density for a container and everything it shows
A container's ThemeScope applies at its own env (step 1), so its surface, header,
rules, scroll bars, pads and focus ring resolve in the scope as well as its
regions, body and the layers opened from it; collections honour it too. The
root token cache keeps every entry read in the current frame, drops the least
recently read beyond eight, and moves a value hit onto the caller's Arc so the
next frames hit by pointer. The drag preview paints in the env of the region
the drag started in, a drop mark in its target region's tokens, and canvas
readouts in the asking region's env.
2026-11-17 16:26:20 +00:00
aiongg 6200e20f01 Merge branch 'tc/edit' into tc/wave1 2026-11-17 16:23:52 +00:00
aiongg f03c3f027b craft-theme edit: icon pack 2026-11-17 16:23:44 +00:00
aiongg 4fb896451d Merge branch 'tc/icons' into tc/edit 2026-11-17 16:23:35 +00:00
aiongg 0ba6282f81 Merge branch 'tc/icons' into tc/wave1 2026-11-17 16:23:27 +00:00
aiongg 08dad9c745 Themes name an icon pack; the resolved tokens carry the set every icon draws from
ThemeDef gains icon_pack (IconPackId), read and written as the top-level
icon_pack key of the v1 theme format. UiTokens::of_theme resolves a theme
and takes the icon set its pack names (craft.lucide, craft.phosphor,
craft.carbon, craft.tabler); a pack that is not installed draws the
default set. SvgIcon::of reads the set from the tokens, so IconSpec.set
is removed.
2026-11-17 16:22:58 +00:00
aiongg 031b031081 Edit tests: built-in ids carry the craft. prefix 2026-11-17 16:22:10 +00:00
aiongg 060cd82cad Merge branch 'tc/edit' into tc/wave1 2026-11-17 16:22:10 +00:00
aiongg 29675ad7d7 Merge branches 'tc/edit', 'tc/store' and 'tc/crate' into tc/wave1 2026-11-17 16:20:04 +00:00
aiongg ccfa5fbdac theme-store: save over a library theme
Store::save_theme replaces a library theme under the suite lock when its
file still has the stamp the caller loaded it with (StoreError::Changed
otherwise; built-ins refused) and bumps library_revision, sharing the
import/delete write steps. The disk backend replaces through craft_atomic
with the existing pre-rename guard, which now checks bytes for
selection.json and the stamp for a theme. Op::Save / OpOutput::Saved on
the worker; SuiteClient::save_theme, is_saving and take_saved, one save
in flight. Tests: store save, changed stamp, built-in refusal, client
round trip, and a save child in two_processes.
2026-11-17 16:19:38 +00:00
aiongg 9b758653cf craft-theme: edit operations, diff and per-change revert 2026-11-17 16:14:59 +00:00
aiongg 2267bbdd56 Move the theme panels into the craft-theme-editor crate 2026-11-17 16:13:40 +00:00
aiongg 427c816db0 Merge the Photoshop colour picker arrangement and NumberField unit placement 2026-11-17 16:09:20 +00:00
aiongg 2e6cc11242 Full colour picker: Photoshop arrangement (two groups, short fields, unit column, stacked compare block); NumberField UnitPlacement 2026-11-17 15:56:17 +00:00
aiongg a6b9d9c986 Merge the 17 Nov bug batch follow-ups: colour picker grid cells, tab joins at the layout's top edge, native stepped resize test kit 2026-11-17 15:39:15 +00:00
aiongg 5415aaab72 Colour picker grid: build the radio's hidden side label inside the cell 2026-11-17 15:30:40 +00:00
aiongg cdfa4cefc7 Merge commit 'd87c24a93e'; commit 'cea4209559' into fx/all-1117 2026-11-17 15:26:20 +00:00
aiongg cea4209559 The test kit's child window pass lays out at the window's reported size; drop the FW-280 DIAG prints 2026-11-17 15:26:10 +00:00
aiongg d87c24a93e Picker radio cell is a Row so each channel takes three grid cells 2026-11-17 15:25:45 +00:00
aiongg 3008f7d476 Merge commit '7c04ac596a'; commit 'fc18baf87c' into fx/all-1117 2026-11-17 15:20:44 +00:00
aiongg 7c04ac596a A tab strip takes the drop over a band except near the band's line
Over a tab strip an edge, seam, column-edge or new-dock band takes the drop only
within DockSizes::strip_reach (the least hit size) of its drop line, as
production's STRIP_REACH rule did; the rest of the strip joins its group. A
strip on the layout's top edge takes tab joins again.
2026-11-17 15:20:27 +00:00
aiongg fc18baf87c The stale-pointer trial asserts the group's region mark; DIAG prints for the native stepped resize (FW-280) 2026-11-17 15:19:13 +00:00
aiongg 4c4ebbbbc9 Merge the 17 Nov bug batch: floating tool rail and panels, panel tabs, menu rows, colour picker, navigator, canvas scrollbars, dock drop preview 2026-11-17 15:18:58 +00:00
aiongg dc3be64306 Merge commit '9840ee1b99' into fx/all-1117 2026-11-17 15:18:58 +00:00
aiongg 9840ee1b99 Framework layers fade in by the motion service only: egui's own Area fade-in is off
egui's fade asked for a repaint every frame until its age passed the animation time, a second open
fade beside the presence tween; with the clock still (a trial's frames) it never ended. The menu row
trial counts egui's two frames after input before asserting that the menu asks for none.
2026-11-17 15:18:40 +00:00
aiongg e34be45027 Merge commit '38bcf20e2c'; commit 'befe5b05bc' into fx/all-1117 2026-11-17 15:18:34 +00:00
aiongg befe5b05bc Picker trial finds the field columns by x 2026-11-17 15:17:59 +00:00
aiongg 38bcf20e2c Drop preview trial: the groups under test sit clear of the layout's top edge band 2026-11-17 15:17:26 +00:00
aiongg a749afa844 Colour picker grid: a channel field's edit is its response, not an option 2026-11-17 15:08:02 +00:00
aiongg 5909fadacf Dock placed rect: Node::Dock is non-exhaustive 2026-11-17 15:07:13 +00:00
aiongg b31c8c9adb Merge branch 'fx/tabs' into fx/all-1117
# Conflicts:
#	crates/ui-widgets/src/tabs/tab.rs
2026-11-17 15:06:35 +00:00
aiongg 76758ecfdd Wrap::Clip: one line cut at the room's edge without an ellipsis; panel tab labels use it 2026-11-17 15:00:38 +00:00
aiongg a537a838d6 Merge branch 'fx/dropview' into fx/all-1117 2026-11-17 14:59:50 +00:00
aiongg af12cd1005 Merge branch 'fx/tabs' into fx/all-1117 2026-11-17 14:59:50 +00:00
aiongg ac43942a7e Dock: native::send_to, so it doesn't shadow placement::place 2026-11-17 14:59:50 +00:00
aiongg 320762cb1e Dock drops mark the region the moved panels take
A dock drop's mark is DropMark::Region: the rect the moved panels take once
dropped, laid out from the layout after the drop by the functions the dock
draws with (tree frames, column cells, column group rects) in the room the
dock registered, pruned as the area shows it. A tab join adds its tab line; a
reorder in the own strip marks the line only. The ghost painter washes the
region with the drop rule's colour under the shared band. Region replaces
DropMark::Split; a spot without a placed rect marks a line along its edge.
2026-11-17 14:48:48 +00:00
aiongg f9b87ee8f1 fit test: a zero-width strip reserves no button 2026-11-17 14:48:44 +00:00
aiongg eae5f9b97d Tab label clip: the paint closure returns nothing 2026-11-17 14:48:39 +00:00
aiongg 76974ad2b4 Merge branch 'fx/float' into fx/all-1117
# Conflicts:
#	crates/ui-patterns/tests/it/docking/native.rs
2026-11-17 14:46:20 +00:00
aiongg 21fb984332 Merge branch 'fx/rail' into fx/all-1117 2026-11-17 14:46:03 +00:00
aiongg 86abdbad5b Merge branch 'fx/menu' into fx/all-1117 2026-11-17 14:46:03 +00:00
aiongg 3ab2e3ffdb Merge branch 'fx/scroll' into fx/all-1117 2026-11-17 14:46:03 +00:00
aiongg a49737494c Merge branch 'fx/nav' into fx/all-1117 2026-11-17 14:46:03 +00:00
aiongg 96d93ab89c Merge branch 'fx/picker' into fx/all-1117 2026-11-17 14:46:03 +00:00
aiongg ef59f1d81d Merge branch 'fx/tabs' into fx/all-1117 2026-11-17 14:46:03 +00:00
aiongg 75decedac1 Menu row trial: the frame egui runs after a move changes nothing and asks for none 2026-11-17 14:45:30 +00:00
aiongg dcafabbb10 Menu row trial: a menu that fits, every row 2026-11-17 14:43:08 +00:00
aiongg 924e6a5d55 Menu row trial: the rows the menu shows are those inside the menu's rect 2026-11-17 14:42:27 +00:00