Commit Graph
12623 Commits
Author SHA1 Message Date
Dylan M. TaylorandClaude Opus 5.5 e356d38cd3 Text fields: opening at the start is an opt-in (TextField::open_at_start), set by form dialog multi-line rows
94cfd1df0 opened every multi-line field a layer opens on at its start, which broke the comment composer's whole-text selection (review note_popup trial). Only form dialog rows ask for it now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 00:31:09 +00:00
Dylan M. Taylor 6437352362 Merge look-fix3-dialogs framework work
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	crates/ui-widgets/src/tile_grid/tile.rs
2026-11-30 00:06:43 +00:00
Dylan M. TaylorandClaude Opus 5.5 3e6595f4b0 ui-contract: an open part's press mix reads its inputs, not a test on State::Pressed
The design lint's style/match-state rule refuses a look read from a State test (e3614bb25).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 00:01:28 +00:00
Dylan M. TaylorandClaude Opus 5.5 e7d328a278 About: the column layout's credit tabs open as a wide dialog
AboutLayout::Column (DeckCraft's) keeps its About tab as narrow as its
text, and gives the Contributors, Models and Licenses bodies the wide
dialog's least width (LeastWidth::WideDialog), so the contributors
toolbar and the Models table show whole, as production's do. The other
layouts are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:21:57 +00:00
Dylan M. TaylorandClaude Opus 5.5 627ffc26c0 Canvas: ScrollBounds::Fitted keeps a zoomed document over its fitted picture
A view with Overscroll off may scroll as far past each edge as fitting
the whole document edge to edge leaves there (a slide show's letterbox),
so a zoomed slide never leaves its edge inside the picture. The clamp
takes its margin per axis; Document and FitMargin are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:06:15 +00:00
Dylan M. TaylorandClaude Opus 5.5 e5fcc1d03f Tile grid: PictureEdge::Fill shows the selected tile under the selection fill
A named variant: no ring or halo; the selected cell takes the selection
fill (state.selected) with its glyph and name in text.on_selected.
IconPicker::picture_edge passes it to its grid. Gallery story
icon_picker_filled_choice. The default (Open) is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:06:12 +00:00
Dylan M. TaylorandClaude Opus 5.5 5ee97d6766 Find and Replace: the simple dialog's word check box reads Find whole words only
PowerPoint's dialog (word(false)) now says what the type's doc already
promised, through a new word find.findWholeWordsOnly; Word's Search
Options keep Whole words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:06:09 +00:00
Dylan M. TaylorandClaude Opus 5.5 4b872d8672 Form dialogs: a radio row with its options in a row keeps its caption in a shared caption column
Where a document dialog's captions share a column (caption_column), an
options_in_row radio row shows its caption there, before the options,
instead of hiding it (production DeckCraft's Orientation and Apply to).
Only DeckCraft sets caption_column, so other apps are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:06:07 +00:00
Dylan M. TaylorandClaude Opus 5.5 9c997d746e Merge look-fix2-views framework work
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 22:49:09 +00:00
Dylan M. TaylorandClaude Opus 5.5 a9e4511f8a Merge look-fix2-backstage framework work
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 22:48:50 +00:00
Dylan M. TaylorandClaude Opus 5.5 2a3cd86f36 Merge look-fix2-ribbon framework work
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 22:36:25 +00:00
Dylan M. TaylorandClaude Opus 5.5 cfe42f024a Collections: a revealed row is the scroll anchor
A row put back just above the first row in view and revealed in the same pass
sat where that first row had been, so the reveal did not move the offset, and
the anchor rule then kept the earlier first row in place and pushed the
revealed row out above the view. The reveal now names its row as the anchor,
at its place at the offset the pass read. Trial in list.rs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 22:33:06 +00:00
Dylan M. TaylorandClaude Opus 5.5 a309ca99f4 Merge look-fix2-panes framework work
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 22:31:48 +00:00
Dylan M. TaylorandClaude Opus 5.5 a6a70f8d42 Revisions card: the heading elides before the Accept and Reject buttons
The card's heading and buttons sat in two nested rows that a narrow pane
shrank evenly, so Reject was cut to an ellipsis. One row now holds the
change bar, the heading link filling the room the buttons leave and
eliding there, and the buttons at their whole width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 22:08:15 +00:00
Dylan M. TaylorandClaude Opus 5.5 b535e91d90 Ribbon: a scrolling row shows whole groups clear of the chevrons; control menus hang over the control
A group that does not lie wholly inside the row's view, short of an edge
chevron's slot on a side the row overflows, is not drawn and takes no
pointer, so the row ends on whole groups and the chevron stands in clear
space. A control's context menu hangs from its middle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 22:07:45 +00:00
Dylan M. TaylorandClaude Opus 5.5 693ce7da8f Parts whose popup is open show open, faces included
The toggling part's result carries Flags::OPEN while its popup shows, so a
gallery's More face and a split button's arrow draw the pressed plate the
open state counts as.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 22:07:45 +00:00
Dylan M. TaylorandClaude Opus 5.5 e3614bb25b Openers show open while the container they opened shows
A control from which a click, press or held press opened a menu or popover
takes Flags::OPEN while it is open, and OPEN now drives the press blend it
counts as, so the control draws its pressed plate and reports expanded. A
part whose popup is open (a split button's arrow) does the same. Context
menus, hover cards and bound containers leave their host unmarked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:46:40 +00:00
Dylan M. TaylorandClaude Opus 5.5 f37e93403a NumberField: PresetClick::OpensList opens the presets list on a click on the field
A font size box opens its list when its number is clicked, by pointer or by
an accessibility click, and selects the number so typing replaces it. The
default keeps the click for the caret.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:37:10 +00:00
Dylan M. TaylorandClaude Opus 5.5 dc39554e8b Labels: LabelGap env value for a property list's value column
LabelGap::Section sets beside controls a section gap past the label
column, so a readout's value does not run into its name; Inline (the
root) keeps space.gap.inline. Bars keep space.gap.item. Story and trial.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:15:02 +00:00
Dylan M. TaylorandClaude Opus 5.5 9ee16bf740 TileGrid: CaptionType option for a body-size name on bare tiles
CaptionType::Small (default) keeps the muted small print; CaptionType::Body
names a tile that is not a card in body text and the normal ink, and the
caption band grows to hold it. Story and trial.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:14:59 +00:00
Dylan M. TaylorandClaude Opus 5.5 d70ea78c9e RecentList: heading_sections opt-in for a page's own section heading
The list's heading takes the heading strength with no rule above it, as
StartScreen::heading_sections shows its sections (one Page::section for
both). Default unchanged. Story and trial.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:14:57 +00:00
Dylan M. TaylorandClaude Opus 5.5 e1ae5a5ea1 TextField: inline look, type role and wrapping from one line
FieldLook::Inline sets a field in running text: no fill or edge at rest, the
hover fill under the pointer, the field fill and focus edge while focused,
and the muted placeholder. TextField::role sets the type role the text is
drawn in. TextField::wraps makes a multi-line field from one line that wraps
at its width and grows with its text (TextOptions::wraps). Defaults are
unchanged. Gallery story text_field_inline; trials for the wrapping growth
and the inline box.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:06:52 +00:00
Dylan M. TaylorandClaude Opus 5.5 19e28118a0 TableSizePicker: caption reads columns x rows and the word Table
Word and PowerPoint caption the hovered size "4x3 Table", columns first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:58:37 +00:00
Dylan M. TaylorandClaude Opus 5.5 5f2a8442ae Value menus: ValueMark::Fill marks the current value with the selection fill
An app sets ValueMark at its root. The default keeps every row a radio item;
Fill drops the radio marks and their column and fills the current row with
the selection fill and its ink, under the active row's highlight.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:58:33 +00:00
Dylan M. TaylorandClaude Opus 5.5 0f7dff8d63 Merge look-fix2 framework work (slot 4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:44:31 +00:00
Dylan M. TaylorandClaude Opus 5.5 4c276eaa36 Merge look-fix2 framework work (slot 3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:44:31 +00:00
Dylan M. TaylorandClaude Opus 5.5 726175cf17 Merge look-fix2 framework work (slot 2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:44:31 +00:00
Dylan M. TaylorandClaude Opus 5.5 161d75cc27 Merge look-fix2 framework work (slot 1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:44:31 +00:00
Dylan M. TaylorandClaude Opus 5.5 a29c09b416 MediaControls over a picture: the over-picture bar, an accent track and a small dot thumb
MediaControls::over_picture() stands the controls on Bar::over_picture(). An over-picture bar sets
TrackFill::Accent for its members, and a Slider placed over a picture (ControlPlace::OverPicture) draws
its thumb as a small dot in text.on_strong. A trim that keeps the whole clip marks no ends. Gallery story
media_controls_over_picture; trial an_over_picture_bars_track_fills_in_the_accent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:15:56 +00:00
Dylan M. TaylorandClaude Opus 5.5 48f8dad776 ui-contract: a pane's measuring run shows its egui panel under an id of its own
A pane area measured in a room other than the real run's (DeckCraft's notes pane under a deck with no slides, or
over a playing GIF) showed the same egui panel twice in one pass at different rects, and egui drew its
First/Second use of Panel ID warning over the window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:55:58 +00:00
Dylan M. TaylorandClaude Opus 5.5 805c89c6ea About: the contributors count line reads as counted phrases (10 contributors · 41 commits)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:49:41 +00:00
Dylan M. TaylorandClaude Opus 5.5 ec6ec02a64 Update prompt: one sentence names the new version, the head's version line the running one
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:49:39 +00:00
Dylan M. TaylorandClaude Opus 5.5 8b8c934db0 Collections: an empty list that takes its width from its content takes its empty text's width, not the room
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:49:38 +00:00
Dylan M. TaylorandClaude Opus 5.5 ede1c54f56 BoxLook::handle_look: the handle look of a box look for points a host draws beside it
A slide editor draws a connector's sites and a line's ends beside its document-look
box; they take the box handles' rim (line.mark) through this, one place with the
box's own frame and rim ink.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:30:02 +00:00
Dylan M. TaylorandClaude Opus 5.5 e26efdbddf SmartGuides: dash an extension in the theme's dash pattern
An extension was drawn as even dash_gap dashes, which read as dots; it now takes
stroke.dash dashes with stroke.dash_gap gaps, as the guides and Draw::dashes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:29:59 +00:00
Dylan M. TaylorandClaude Opus 5.5 4d1b4434bf Rulers: leave out a tick label that would run into the next labelled tick
A label as long along its strip as the room between labelled ticks (a host table
that labels every unit at a low zoom, or a vertical strip's stacked characters)
is not painted, so no label overlaps the next one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:29:56 +00:00
Dylan M. TaylorandClaude Opus 5.5 b93efe6da4 Icon picker: columns asks a content-sized picker for that many cells across (the grid's card_columns)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:17:37 +00:00
Dylan M. TaylorandClaude Opus 5.5 a15005e4f9 Hyperlink dialog: starting_place selects a place while the link names none, so OK is live in the place mode
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:11:07 +00:00
Dylan M. TaylorandClaude Opus 5.5 94cfd1df00 Form dialogs: RadioLayout::Column heads a document dialog's radio options one per line; full-width text rows span the form and a multi-line field opens at its start, nothing selected
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:05:43 +00:00
Dylan M. TaylorandClaude Opus 5.5 4fe5bbd953 Framework sync: merge craft-libs main (9949e08d6)
Conflicts:
- items/press.rs: the port's cell_press takes the modifiers; it now reads upstream's pick_mods, the release's own.
- run/typed.rs and primitives/record.rs: the face record keeps the port's Name, so a decorative or labelled-by face stays one. Upstream's rule is added: an empty own text falls back to the label.
- Test imports take both sides; menu bar test comments take upstream's wording for its row naming.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 17:02:52 +00:00
Dylan M. TaylorandClaude Opus 5.5 61fc6d2626 update: the UpdateCheckDialog doc link resolves by its label
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 16:28:01 +00:00
aiongg 9949e08d6f Merge pull request #3438 from storytold/design-port/pr-input-focus
Input and focus fixes: wheel over text fields, Scroll Into View on list rows, click modifiers, shown-only chords, face names, right-click outside menus, mixed sliders
2026-11-29 10:52:12 -05:00
Dylan M. Taylor 1f6c3a21f8 feat(nightly): add shared craft-nightly profile isolation crate (#4270)
* feat(nightly): add shared craft-nightly profile isolation crate

* fix(nightly): preserve startup isolation and document profile migration

* feat(craft): expose craft-nightly through facade crate

* fix(nightly): reject misplaced protocol flags and use zero-access Windows metadata query
2026-11-29 10:31:11 -05:00
David Mann bfd8fec34b Merge pull request #4276 from davidmann4/fix/eyedropper-ring-persist
color-ui: an Eyedropper built anew each pass keeps the held sampling ring (photocraft#17931)
2026-11-29 16:26:55 +01:00
Dylan M. Taylor caa0e85b8e Merge branch 'merge-fw/lint' into merge-fw/main 2026-11-29 15:21:38 +00:00
Dylan M. TaylorandClaude Opus 5.5 b2a4cfc26f Clippy: port test code and the cancel response of upstream callers
ToolHost::cancel returns the port's ToolHostResponse (must_use); the fill, liquify, raw develop and vanishing point cancels take it as wide_angle and select_mask do, as their tools request no URLs. Port tests: unused Props import, Id::unique for a fixed id, a one-range Vec from once, as_chunks, Result::inspect, and the dropper trial's hover and sample phases as helpers under the complexity cap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 15:18:56 +00:00
Dylan M. TaylorandClaude Opus 5.5 3562f506fe Side-menu ink trial: the menu stands on Brand; a Chrome rail reads in text contrast
The port's side-menu ink follows the surface it stands on. The trial now stands its menu on SurfaceKind::Brand, as upstream's side menus do, with both assertions kept, and adds the port's case: on a chrome rail, in light and dark, the icon button takes the rows' ink and that ink reaches text contrast on the chrome.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 15:18:56 +00:00
Dylan M. TaylorandClaude Opus 5.5 4259eb1dd7 Design lint: stories, picture and comment row
The gallery story reads clicks with contract::clicked; the fitted picture stories take a documented FIT_ROOM in a scoped child instead of allocate_ui; a centred picture fits at its style height's aspect; the comment card's tile is one Stateful with a selected look.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 15:18:47 +00:00
Dylan M. TaylorandClaude Opus 5.5 c5229798f1 Design lint: ui-contract ids, AccessKit and trial colours through the contract
The container measure id comes from runtime::egui::memory::unique; numeric AccessKit steps from runtime::egui::access::step_move. The flag-mark trial walks its segments by angle and length with a plain ink; the icon trials bind rendered layers outside asserts, and the fixed run's tint is checked to leave colours as drawn instead of against Color32::WHITE, so the marker count matches its exception again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 15:18:47 +00:00
Dylan M. TaylorandClaude Opus 5.5 7bcd2b9464 ui-shell: AppShell::page_kind is a prop; ScreenModeFollow::follow takes FollowBy
page_kind was a hand setter (design lint). follow had eight arguments (clippy too_many_arguments); the window-side inputs are one FollowBy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 15:18:46 +00:00