Commit Graph
7642 Commits
Author SHA1 Message Date
bflatastic d8dd9d94e3 ui-contract: an accessibility click on an item of a collection that activates on a click activates it, as a pointer click does 2026-11-23 04:08:25 +07:00
bflatastic 5c8ac4b471 ui-widgets: a link in a row's cell is as wide as its text, so a press past it selects or drags the row; Hosted::role 2026-11-23 04:08:24 +07:00
bflatastic 9b89c55e5b ui-canvas: trial that two clicks in one frame reach the tool, the second as a double click 2026-11-23 03:47:17 +07:00
bflatastic f3119648e0 ui-contract: a multi-finger tap allows its own finger drift (MULTI_TAP_SLOP, 16 pt), not a press's slop 2026-11-23 03:47:15 +07:00
bflatastic 54af1b5ab0 font-manager: drop a leftover DIAG line from the picker preview trial 2026-11-23 02:29:01 +07:00
bflatastic 1789a05411 cargo fmt on the merged font-manager files 2026-11-23 02:23:41 +07:00
bflatastic 0f77a22391 ui-contract: the empty-commit IME trial matches EditorInput::Newline by its shift field 2026-11-23 02:23:41 +07:00
bflatastic d467ed3dcd Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/font-catalog/src/tests.rs
#	crates/font-manager/src/picker.rs
#	crates/font-manager/src/picker/rows.rs
#	crates/font-manager/src/picker/stories.rs
#	crates/ui-patterns/src/patterns/panels/palette.rs
#	crates/ui-patterns/src/patterns/presets/browser.rs
#	crates/ui-widgets/src/list/mod.rs
#	crates/ui-widgets/src/list/view.rs
2026-11-23 02:15:44 +07:00
bflatastic 6f69df0e47 docs: regenerate contract-api.md 2026-11-23 02:05:06 +07:00
bflatastic cbe8866177 keymap: CommandRef equality follows its binding key, so no parameters and an empty object are the same command 2026-11-23 02:01:42 +07:00
bflatastic 8a7f01b821 ui-widgets: a Select whose value names no entry reads as the placeholder its face shows 2026-11-23 02:01:38 +07:00
bflatastic a37e402774 ui-contract: a hidden field label, and one drawn inside its control, makes no Label node of its own: it names its control by its text alone (FieldLabel::shown) 2026-11-23 02:01:35 +07:00
bflatastic 73701aca9d ui-contract: a run too large to show (past MAX_EXTENT) declares no parts and is not parted, so its parts read idle, as a canvas on a very wide window reads its background 2026-11-23 02:01:20 +07:00
bflatastic 69751723d5 ui-contract: a clipboard command reaches the focused component in its event's place among the frame's keys and texts, so an editor reads a paste in order with the typing around it 2026-11-23 02:01:10 +07:00
bflatastic 39f86f764c behavior, ui-contract: Enter reaches an editor as EditorInput::Newline { shift }, each routed intent keeping the Shift of the press it came from, so an editor tells Shift+Enter from Enter in the order they came 2026-11-23 02:00:53 +07:00
bflatastic a2ca28d810 automation: ControlClient::connect reads a refusal the server wrote at accept as the sign-in's answer and returns its reason, without sending the sign-in 2026-11-23 02:00:18 +07:00
bflatastic 67b68a6389 ui-contract: a button over a two-state value (a shown bool, a toggle command's checked state) reports pressed off as well as on, so an off ToggleButton says it is not pressed 2026-11-23 02:00:09 +07:00
bflatastic e695aadc6d ui-contract, ui-widgets: a number field's value reads the unit it draws after its number ("160 pt") through Access::unit; trials that read a field's text read its text runs (AccessTree::run_texts_of) 2026-11-23 01:59:53 +07:00
aiongg 27e5af8151 Merge pull request #3064 from aiongg/font-picker-arabic-story
Font picker: one sample per row, in the sample text
2026-11-22 13:19:00 -05:00
bflatastic b3d3c18ba8 ui-contract, ui-canvas: a nudge carries the keys held when its arrow went down, in the order of the frame's events (Intents::nudge_held, ToolKey::Nudge::held) 2026-11-23 00:50:27 +07:00
bflatastic 9c58208bba ui-contract: an Alt+letter the keymap binds to an enabled command runs it instead of opening the menu with that mnemonic 2026-11-23 00:50:14 +07:00
bflatastic f9cbb0a723 ui-contract: a control given selected outside a collection reports it as pressed, so the rail's current tool and the other tools say whether they are the tool 2026-11-23 00:49:50 +07:00
aiongg 3c1c1284d8 FontSample: a face not yet ready reserves the room's width
Without a ready face the sample measured no width, so an unavailable sample
allocated nothing. It reserves the most the ready layout can take, the width it is
offered, at LINE_EM of its size: the band the sample will draw in. A ready face
lays out as before.
2026-11-22 17:01:21 +00:00
aiongg 0f8efcadd9 ListRow: the collection's leaves setting is a pub(crate) prop
The derive writes the setter, as design-lint's props/hand-setter asks.
2026-11-22 17:01:21 +00:00
bflatastic 7e5b603174 ui-contract: trial that files hovering in the pass right after a drop drag and drop on their own 2026-11-22 23:56:36 +07:00
bflatastic 42f8006cc0 font-catalog: Catalog::versions lists a face from every cataloged file that has it, the index still listing it once 2026-11-22 23:48:27 +07:00
bflatastic 0720c236eb docs: regenerate components-index.md from the registrations 2026-11-22 23:33:11 +07:00
bflatastic 03df09a1c3 hayro-interpret: a soft mask's group draws within the forms where the mask was set, so a mask drawing the form it masks is not a form drawing itself 2026-11-22 23:28:59 +07:00
bflatastic 363bc05edd font-catalog: a language the typographic family records leave out keeps its legacy family name in localized_families 2026-11-22 23:28:58 +07:00
aiongg 57c4b23a70 Font picker: the banner shows what the family's row shows
The banner drew the preview text in the current family even when its face lacks the
text's characters (tofu). It takes the rows' sample text, through the same
FamilyInfos::sample_text: the text, else the family's name, else its first glyphs.
2026-11-22 16:10:48 +00:00
aiongg a47b795b1f Font picker: one sample per row, in the sample text
Every row's sample shows the picker's sample text: the host's preview text, else the
sample word. The Arabic second sample and its script check are gone. A face that
lacks the text's characters keeps the existing fallback: its name, else its first
glyphs.

A sample, in a row, the banner or the panel, is laid out and drawn only in its own
face once it is ready. Until then (and for good when the face is unavailable or the
family has none, SampleFace::Missing) it keeps its band, LINE_EM of its size high,
and draws nothing, instead of laying the text out in the interface face, which may
lack its characters.

The Arabic story becomes font_picker_arabic_sample_text: an Arabic preview text over
a catalog with Noto Sans Arabic.
2026-11-22 16:08:54 +00:00
aiongg e8254eb4b4 List rows: a hosted trailing field takes its own height up to its row's
A trailing or optional field was capped at the base row height, so in a taller row
(a large thumbnail) a field that measures taller was cut to one base row and centred,
clipping what it drew outside that band (the font picker's Arabic sample lost its
hamza and dots). It is capped at its slot, the row's height, as cell fields are.
2026-11-22 16:08:54 +00:00
bflatastic 52d1ec7402 menu, dialogs: rustdoc -D warnings clean: no redundant link targets on MenuBar::show; the service docs name the private with_chosen_type without linking it 2026-11-22 22:52:27 +07:00
bflatastic 2dcc5763c9 ui-contract: NodeKey::raw is test-only, as AccessTree::none is, now that the access tree builds without the testing feature 2026-11-22 22:45:13 +07:00
aiongg 5c14a9d042 Font picker: give the Arabic sample story Noto Sans Arabic from the craft fonts set
The story's catalog had no face that maps Arabic, so no row showed the
Arabic sample. craft-font-manager's build script embeds Noto Sans Arabic
with fonts-build's Embed when the suite feature is on and CRAFT_FONTS_DIR
names a craft-fonts checkout; without it the table is empty and the story
shows the other families only.
2026-11-22 15:41:05 +00:00
bflatastic b9144731d0 api-map: ZoomLadder is a removed entry and ZoomScheme its own replaced entry, the shape the codemods read 2026-11-22 22:37:03 +07:00
bflatastic 603697c7a2 automation, draw, imaging, menu: clippy 1.100 clean: no must_use on builders of must_use types; tests return directly, take Copy rows uncloned, name the remembered answers type 2026-11-22 22:36:59 +07:00
bflatastic 0beefd0d71 ui-panels: clippy 1.100 clean tests: collapsed if; the scopes trial drops the id import ruling (c) left unused 2026-11-22 22:36:57 +07:00
bflatastic d017edbad0 ui-canvas: clippy 1.100 clean: no must_use on builders of a must_use type; the task bar's More story drive finds its button without expect 2026-11-22 22:36:55 +07:00
bflatastic c7059b3a34 ui-shell: clippy 1.100 clean: the start screen's app section type named; no must_use on a builder of a must_use type; test types named, slice from_ref 2026-11-22 22:36:52 +07:00
bflatastic e85a6d3fee ui-patterns: clippy 1.100 clean: no must_use on builders of must_use types; collapsed ifs; Copy fields not cloned; the drop builder type named; the PDF export automation trial is two trials 2026-11-22 22:36:50 +07:00
bflatastic 03ef469d99 text: clippy 1.100 clean: the kerning row takes its side label built, as the leading row does; the axis value type named 2026-11-22 22:36:47 +07:00
bflatastic 7577f7a56c color-ui: clippy 1.100 clean: no must_use on builders of must_use types; pixel loops over as_chunks; harmony and pair closure types named; no needless borrow 2026-11-22 22:36:43 +07:00
bflatastic 5ad0e5288c layers: clippy 1.100 clean: the row's eye and lock cells in with_toggles; host drop place and footer types named; no needless borrow 2026-11-22 22:36:12 +07:00
bflatastic 368b3c9300 layers: LayersEvent::Filter boxes its edit, as the other large edit events do, so the event enum stays small 2026-11-22 22:36:09 +07:00
bflatastic f812df100a ui-contract: clippy 1.100 clean: a row unit reports how it leaves as one (cut_first, rank) pair; the items' place_rows takes the detail through ItemCx::take_detail and a cell_width helper; face and whole-paste types named; tests return directly and take the last visibility by reduce 2026-11-22 22:36:07 +07:00
bflatastic 1222194118 behavior, platform: name the history's weigh function and the clipboard's deferred read (LaterRead) for clippy's type_complexity 2026-11-22 22:36:05 +07:00
bflatastic 8faa8a02c3 keymap: clippy 1.100 clean: no needless borrow in the import's tool check; the hold-binding trial is three trials (text form, off and edits, clashes) 2026-11-22 22:36:03 +07:00
bflatastic 0c33c374a5 platform: the browser file service answers Files::pending_pick with the oldest pick it runs, never a sheet 2026-11-22 22:36:00 +07:00
aiongg 315a223e69 Merge pull request #3010 from aiongg/font-picker-port
FontPicker: production's font menu (row layout, aligned names, sample column, banner, separators)
2026-11-22 10:29:58 -05:00