Commit Graph
2001 Commits
Author SHA1 Message Date
aiongg ee9aaf11eb EditorMock: show_at, and its stories fill a stage as tall as the room offered
A card sizes a filling story from its content, and the window's canvas has none.
EditorMock::show_at shows the window at a rect through AppShell::show_at; both
stories pass a stage of testing::room_height. The gallery's dock preview keeps show.
2026-11-12 14:32:45 +00:00
aiongg f317e50be3 FullWindowCanvas story: the canvas fills a stage as tall as the room it is offered
A filling container in a card sized from its content takes its content height, and
the full-window canvas has none. testing::room_height gives the room a story's card
offers, or the stage height where the room is unbounded; the story shows the canvas
on a stage that tall.
2026-11-12 14:32:45 +00:00
aiongg 56b30b938d Components index lists the round's new components and stories 2026-11-12 14:32:45 +00:00
aiongg a899406d9a Signature pad: a typed name too wide for the pad shrinks to its width instead of wrapping out of sight 2026-11-12 14:32:45 +00:00
aiongg 0c9f998107 Comments panel: drop the Props import the add box no longer uses 2026-11-12 14:32:45 +00:00
aiongg 6b82de8e54 ListRow::below hosts components in a line under the row's text; the version history's delete confirmation asks with Delete and Cancel under the question 2026-11-12 14:32:45 +00:00
aiongg 9ebab52892 Version history: the rows sit on a timeline, a line through the dots with the shown version's dot filled 2026-11-12 14:32:45 +00:00
aiongg 6a81e26d92 Comments panel: Enter posts from the add box, Enter on a card puts the focus in its reply box (RowState::activated_by_key), Cmd+Enter posts a reply or an edit; the kind icon sits on a sunken disc in the annotation colour 2026-11-12 14:32:45 +00:00
aiongg 68e0f52ebc Signature pad: the Type and Image tabs show their signature on the same paper as the Draw tab; the image hint is muted 2026-11-12 14:32:45 +00:00
aiongg 4469c68b92 Revisions panel: each change is a raised card with a bar in its kind's status colour, Accept and Reject at the end edge 2026-11-12 14:32:45 +00:00
aiongg 3d841bfda3 ThreadPopover and Version history put their buttons at the end edge; the thread's Resolve is a check button and its Post buttons are primary 2026-11-12 14:32:45 +00:00
aiongg b753029d14 TableSizePicker: squares draw as sunken wells, the lit ones in the selected fill with an accent outline; Left and Right run on across the rows 2026-11-12 14:32:45 +00:00
aiongg 6918db3e4d Tab: the selected tab draws an accent bar along its top edge in high contrast 2026-11-12 14:32:45 +00:00
aiongg c04d3e656f Tab shows unsaved changes as a * after its last text, never cut, and keeps its close button 2026-11-12 14:32:45 +00:00
aiongg c7362a6790 TabStrip wheel_selects: the wheel over the strip steps the shown tab by the collection's wheel notch; a collection that senses the wheel registers in the item step with its notch; DockConfig::wheel_selects_tabs passes it to dock groups 2026-11-12 14:32:45 +00:00
aiongg 94113ca1d7 DocumentTabs reports a double click on the strip's empty room as EmptyDoubleClick, where the host opens a new document 2026-11-12 14:32:45 +00:00
aiongg 2ff07c7258 JPEG Options drops the Format Options section line: the format radio row titles itself 2026-11-12 14:32:45 +00:00
aiongg 0c31ce2889 Captions as the old dialogs showed them: Text Columns rows show Width and Spacing before their fields and Preview above the page preview; the toolbar drawer keeps a placed tool's shortcut and reports In toolbar as its description 2026-11-12 14:32:45 +00:00
aiongg 1d1f2f2ce1 The colour row shows a swatch of the custom colour beside the list while one is chosen, and a click on it asks the host's picker at that colour, as picking Custom… does 2026-11-12 14:32:45 +00:00
aiongg 6d9381f411 A parameter radio row is its own section titled by the parameter, so its name shows once; Targa drops the section that repeated it 2026-11-12 14:32:45 +00:00
aiongg f9b127a2b7 Side labels can show a short caption in place of the name: LabelKind::Short keeps the text label's column and colon while the label's text names the control; WarpFields shows H and V beside the distortion fields 2026-11-12 14:32:45 +00:00
aiongg c8a092d0b5 EditorMock: the status bar as the old preview had it
The zoom and the chosen readout item, the colour mode, the layer count and the
mock's status message, and the CPU Rendering warning at the end. The message says
which tool was chosen and the size Image Size set, as the old mock's did. Uses
L04's StatusMessage.
2026-11-12 14:32:45 +00:00
aiongg 982734d240 EditorMock: a screen-mode binding and the Full screen story
The old gallery showed the mock app in the Canvas shell in Standard, Full screen,
Revealed and Right to left. Full screen is an EditorMock story over the shell's
screen_mode binding; right to left is the gallery's own direction switch.
2026-11-12 14:32:45 +00:00
aiongg 1e3d9345a0 EditorMock: the title bar as the old preview drew it
An integrated frame of the generic family with every caption at the end, the
hairline under it, and Search in the trailing group.
2026-11-12 14:32:45 +00:00
aiongg 9c78e36602 TitleBar draws its bottom hairline only with separator, as the old bar did
The old app's own bar drew none; the stories set it, as the old stories did.
2026-11-12 14:32:45 +00:00
aiongg 5e11bad614 A container in an embedded shell acts on no OS window; its title bar is a picture of a window
os_window reads the embedded-shell signal (ShellCx::region): inline, pane and window
mounts inside an embedded shell stand for no OS window, so they get no move band or
grips and report nothing to the window. TitleBar reads the same signal: its captions
report their clicks but send no window command, a double click acts on nothing, and
it reads no window state.
2026-11-12 14:32:44 +00:00
aiongg 890a5d9e20 NoticeCenter and ToastStack stories post their notices whenever their window has none, since a story's measuring run posts nothing 2026-11-12 14:32:44 +00:00
aiongg 41560ce3ed Notice: bullet lines start under the row of the icon, title and dismiss button and run the card's whole width, as the old toast's lines 2026-11-12 14:32:44 +00:00
aiongg e69897715f Notice: the elements sit inside the notice's padding, so a card's text and buttons are inset from its edge 2026-11-12 14:32:44 +00:00
aiongg eef17642ba Toasts: one queue per window; each AppShell, embedded ones included, shows its own window's toasts at the end-bottom corner of its body (Anchor::Corner replaces Anchor::Viewport), so nested shells no longer each draw every card at the viewport corner; NoticeCenter posts to its window, and the NoticeCenter and ToastStack stories show three notices in their own area, as the old ones did 2026-11-12 14:32:44 +00:00
aiongg a76f2d964c Notice: a centred notice draws a brand title in the new display type role (38 on 46, semibold) with its byline beside it, or under it when both don't fit; token dumps gain the display role 2026-11-12 14:32:44 +00:00
aiongg 37c11260fe Notice: a centred notice hosts the app's own leaves under its actions, inside its centred column; the hosted-leaf adapter moves from ListRow into the contract (Hosted, Hosting) and serves both 2026-11-12 14:32:44 +00:00
aiongg 0044e52336 Toasts carry bullet lines: a card shows up to eight under its message, then one faint "…and n more" line; NoticeCenter posts the title and its lines instead of joining them into the message 2026-11-12 14:32:44 +00:00
aiongg 2fe0e72ee3 Notice: an announced notice is a live region named by its title and message, so it is announced when it appears and again when its text changes; the first-show memory goes 2026-11-12 14:32:44 +00:00
aiongg 1dc886d82e Notice: a centred notice's first action is the primary button and the others secondary, all as wide as the widest, as the old empty state 2026-11-12 14:32:44 +00:00
aiongg 1f4395278a Collections: the empty text is faint body text at the reading start with a stack gap around it, the old inline empty state; EventList and FindingsList show it instead of a centred notice (WordSet::word names a built-in word as a label) 2026-11-12 14:32:44 +00:00
aiongg 1e1849d4aa Tile: selection is a thick accent ring with a halo outside the picture and hover a thin muted ring, with no cell fill; a selected name keeps the normal ink 2026-11-12 14:32:44 +00:00
aiongg c87a66bef2 TileGrid: stars clicked on a selected tile rate the whole selection, and a selected tile shows its badge bar 2026-11-12 14:32:44 +00:00
aiongg 7165a33796 FindingsList: a click activates a finding, and the summary starts with a status dot in the good or bad tone, as the old list did 2026-11-12 14:32:44 +00:00
aiongg f4d70cee9d DisabledLook is non-exhaustive 2026-11-12 14:32:44 +00:00
aiongg fda1c62572 Disabled stories for the faded components: Tile, Swatch, PointPicker, ColorStrip, ColorArea and PaintChip 2026-11-12 14:32:44 +00:00
aiongg 84639de189 A disabled component that shows data paints its enabled look faded
Component::DISABLED picks how a disabled instance looks: the style's Disabled
state (DisabledLook::States, the default for chrome controls) or its enabled
look at Opacity::DISABLED (DisabledLook::Faded). Step 13 fades the surface,
part layers, paint, faces and paint_over of a faded component; its children
and step 14 paint outside the fade and show their own disabled look. egui
fades a shape as it is added, so a settled region replays the faded paint.

Tile, RowThumb, Swatch, PointPicker, Navigator, PreviewPane, ColorStrip,
ColorArea, PaintChip, PagePicture, PagePictures, ReadingView and DrawPad
declare Faded. The tile's disabled veil and the Disabled entries of the tile
and swatch looks go. Opacity::DISABLED is 0.5, the old disabled fade and the
old knob's disabled share.
2026-11-12 14:32:44 +00:00
aiongg 9a6580c7c5 Tile grid drops an unused import 2026-11-12 14:32:44 +00:00
aiongg 815b6c73c3 FullWindowCanvas: divider rule outside the image edge, as a RasterDisplay option 2026-11-12 14:32:44 +00:00
aiongg eee7a6eddd Navigator: Home on the focused preview centres the document 2026-11-12 14:32:44 +00:00
aiongg 2d4da9a7a6 AddBesideHandles: outline the hot side's ghost of what a click adds 2026-11-12 14:32:44 +00:00
aiongg 756524277b Brush cursor: centre mark and selection badge on the tip circle and outline 2026-11-12 14:32:44 +00:00
aiongg 54845a4a7e ChipField reports a chip's activation and its context menu, puts the chips past max_lines behind a "+N more" menu that removes the chosen one, has Clear All, shows partial chips muted with an asterisk, and gives a chip cut to its line its whole text as tooltip. A context request records the part it was made at: the part under the pointer for a secondary click, the active part for the keys (Cx::context_part). Badge labels elide at their end and take a muted ink 2026-11-12 14:32:44 +00:00
aiongg 85004751e0 TreePicker popup searches: typing lists the items whose path holds every typed word, names starting with the query first, each with its path as the detail line. The popup search field is one helper (pickers/search.rs) shared with Select 2026-11-12 14:32:44 +00:00
aiongg 0897874266 Every component takes one sizing setter: a leaf with Sizing::Content is as wide as its content, without its style's ideal width, and the selects the old gallery fitted to their entries are content-sized 2026-11-12 14:32:44 +00:00