Commit Graph
226 Commits
Author SHA1 Message Date
Dylan M. TaylorandClaude Opus 5.5 48ecb24195 text: TextRuler numbers option; Document counts from a zero ahead of the column across the strip
A slide editor's ruler over a text box numbers from the slide's edge, as the canvas rulers do; the default
keeps a word processor's column numbers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:24:24 +00:00
Dylan M. TaylorandClaude Opus 5.5 8395cdf73f ruler: a double press that drags a stop moves it and asks for no Tabs dialog; only a released double click does
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:02:32 +00:00
Dylan M. TaylorandClaude Opus 5.5 8868c704c2 key stage: a stop may keep plain Tab and let Shift+Tab move the focus out (KeyUse::shift_tab_leaves); the canvas text editor of a host without Tab keys does
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 02:58:56 +00:00
Dylan M. TaylorandClaude Opus 5.5 f4e89d15d5 text editor trial: Shift+Tab leaves the canvas editor for a second editor beside it
Tab order wraps, so with the editor as the window's only stop Shift+Tab would bring
the focus back to it whatever the editor does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 02:29:52 +00:00
Dylan M. TaylorandClaude Opus 5.5 25a6fd365b text editor: the canvas editor keeps Shift+Tab only for a host with its own Tab
The Tab hook moves to TabKeys, which a host hands out from
TextEditorHost::tab_keys. Only then does the canvas editor claim Shift+Tab for
the host; on any other host Shift+Tab moves the focus out of the editor again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:21:55 +00:00
Dylan M. TaylorandClaude Opus 5.5 6151c0add8 cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:02:00 +00:00
Dylan M. TaylorandClaude Opus 5.5 132843e3fe text editor: the host may take Tab, word and paragraph stops, word deletes and Copy's HTML
TextEditorHost gains defaulted hooks: tab (Tab and Shift+Tab, for a list level or the next cell),
caret_stop (Cmd+arrows by word, Ctrl+Up/Down by paragraph off the Mac), delete_word, and
copy_html, offered beside the plain text on Copy and Cut. Hosts without them keep the editor's
own rules. The canvas editor keeps Shift+Tab for its host instead of letting it move focus out of
the session.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:42:41 +00:00
Dylan M. Taylor 0cc1275838 Merge branch 'port/deckcraft/area/app-fw' into port/deckcraft/area/framework 2026-11-27 14:51:05 +00:00
Dylan M. Taylor 213a20a5f9 panels-w7: net change of 2 commits
- panels-w7: written by an agent
- panels-w7: review fixes (review-1)
2026-11-27 14:50:58 +00:00
Dylan M. TaylorandClaude Opus 5.5 97285bdddd WIP fw-app-2: partial framework follow-ups (Codex stopped: usage limit / killed); not reviewed, not merged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 11:17:47 +00:00
Dylan M. TaylorandClaude Opus 5.5 f2e3439ccd red-fw-gallery: SpellingMarks stories use the framework's text layout; TextEditor story on the panel surface
Written by a Codex red fixer; committed by the lead (gallery gate).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 07:32:54 +00:00
Dylan M. TaylorandClaude Opus 5.5 f7a7c736cc red-fw-1: framework batch trial fixes
Written by a Codex red fixer; committed by the lead (see runs/codex/red-fw-1.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 06:01:14 +00:00
Dylan M. TaylorandClaude Opus 5.5 662673018b framework batch: cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 04:00:17 +00:00
Dylan M. Taylor 1a8d771ea0 panels-w1: net change of 2 commits
- panels-w1: written by an agent
- panels-w1: review fixes (review-1)
2026-11-27 03:23:17 +00:00
Dylan M. Taylor 3d95ee04cc ribbon-w2: net change of 3 commits
- ribbon-w2: written by an agent
- ribbon-w2: review fixes (review-1)
- ribbon-w2: review fixes (review-2)
2026-11-27 03:23:17 +00:00
Dylan M. Taylor e6dbf86f8f dialogs-w3: net change of 5 commits
- dialogs-w3: written by an agent
- dialogs-w3: finished by an agent
- dialogs-w3: finished by an agent
- dialogs-w3: finished by an agent
- dialogs-w3: review fixes (review-1)
2026-11-27 03:23:16 +00:00
Dylan M. Taylor cd10d14e59 dialogs-w2: net change of 2 commits
- dialogs-w2: written by an agent
- dialogs-w2: review fixes (review-1)
2026-11-27 03:23:16 +00:00
Dylan M. Taylor 03ba4ae515 canvas-w3: net change of 3 commits
- canvas-w3: written by an agent
- canvas-w3: review fixes (review-1)
- canvas-w3: review fixes (review-1)
2026-11-27 03:23:16 +00:00
Dylan M. Taylor 6246aef736 Contract stubs: stage p4-fw ()
Written by a Codex stage agent; committed by bin/codex-stubs (the sandbox keeps .git read-only).
2026-11-26 18:35:33 +00:00
Dylan M. TaylorandClaude Opus 5.5 5db1d1f2f2 Contract stubs: craft-text craft-pages craft-review craft
Written by a Codex stage agent; committed by the lead (the sandbox keeps .git read-only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 15:17:31 +00:00
aiongg dd46094cb8 Merge storytold next into rc-character-align 2026-11-24 13:26:57 +00:00
aiongg 0bf0a39d79 text: the Character panel's fields fill their columns
Kerning, tracking and the plain number fields fill their grid cell, as the
length fields do, and kerning shows its mark inside its box. Family, style,
font height, anti-aliasing and language span the panel. The row helpers take
the select's sizing from the caller, so the type bar keeps its widths; Format
Text and Style Options fill their cells as well.
2026-11-24 04:28:26 +00:00
aiongg 3b200f43d6 text: a one-line field pastes each line ending as a space again; the editor's step loop is its own function
The merge of next (b138b533fe) dropped one_line from the paste when it took the step loop. Moving the loop out of
TextEditor::update keeps the update under clippy's cognitive complexity limit.
2026-11-24 03:28:05 +00:00
bflatastic 68a41a9e81 text: Format Text's font row names the font_picker prop without a link the font-picker feature gates 2026-11-24 09:17:56 +07:00
Dylan M. Taylor b138b533fe Merge remote-tracking branch 'upstream/next' into pr-2809-merge
# Conflicts:
#	crates/automation/Cargo.toml
#	crates/automation/src/access.rs
#	crates/automation/src/synthetic.rs
#	crates/automation/tests/it/access.rs
#	crates/automation/tests/it/synthetic.rs
#	crates/behavior/src/codec.rs
#	crates/behavior/src/edit_history.rs
#	crates/behavior/src/lib.rs
#	crates/behavior/src/wheel.rs
#	crates/color-ui/src/ui/paint_chip.rs
#	crates/color-ui/src/ui/pair.rs
#	crates/color-ui/src/ui/palette.rs
#	crates/color-ui/src/ui/palette/stories.rs
#	crates/dialogs/src/service.rs
#	crates/draw/src/ui/transform/transform_box.rs
#	crates/draw/src/ui/transform/transform_box/stories.rs
#	crates/draw/tests/it/transform_box.rs
#	crates/font-manager/src/glyphs.rs
#	crates/font-manager/src/picker.rs
#	crates/font-manager/src/picker/rank.rs
#	crates/font-manager/src/picker/rows.rs
#	crates/font-manager/src/picker/stories.rs
#	crates/font-manager/tests/it/picker.rs
#	crates/host/src/lib.rs
#	crates/menu/src/context.rs
#	crates/menu/src/mac.rs
#	crates/menu/src/model.rs
#	crates/pages/src/ui/view.rs
#	crates/platform/README.md
#	crates/platform/src/browser_files.rs
#	crates/print/src/ui/dialog.rs
#	crates/print/src/ui/mod.rs
#	crates/print/src/ui/panel.rs
#	crates/print/src/ui/stories.rs
#	crates/print/tests/it/dialog.rs
#	crates/text/src/ui/character.rs
#	crates/text/src/ui/character/rows.rs
#	crates/text/src/ui/editor.rs
#	crates/text/tests/it/editor.rs
#	crates/text/tests/it/main.rs
#	crates/ui-canvas/src/canvas/mod.rs
#	crates/ui-canvas/src/canvas/split/stories.rs
#	crates/ui-canvas/src/canvas/tool_host.rs
#	crates/ui-canvas/src/canvas_controls/outline/mod.rs
#	crates/ui-canvas/src/canvas_controls/task_bar.rs
#	crates/ui-canvas/src/canvas_controls/task_bar/stories.rs
#	crates/ui-canvas/tests/it/canvas/navigate.rs
#	crates/ui-canvas/tests/it/canvas/tool_keys.rs
#	crates/ui-canvas/tests/it/canvas_controls/task_bar.rs
#	crates/ui-contract/src/contract/collection/props.rs
#	crates/ui-contract/src/contract/cx/pointer.rs
#	crates/ui-contract/src/contract/items/access.rs
#	crates/ui-contract/src/contract/items/drag.rs
#	crates/ui-contract/src/contract/items/lead.rs
#	crates/ui-contract/src/contract/label.rs
#	crates/ui-contract/src/contract/mod.rs
#	crates/ui-contract/src/contract/run.rs
#	crates/ui-contract/src/contract/steps/report.rs
#	crates/ui-contract/src/contract/steps/update.rs
#	crates/ui-contract/src/primitives/mod.rs
#	crates/ui-contract/src/primitives/sensing.rs
#	crates/ui-contract/src/primitives/text_adapter.rs
#	crates/ui-contract/src/primitives/text_input.rs
#	crates/ui-contract/src/runtime/access/emit.rs
#	crates/ui-contract/src/runtime/access/text.rs
#	crates/ui-contract/src/runtime/commands/board.rs
#	crates/ui-contract/src/runtime/commands/mod.rs
#	crates/ui-contract/src/runtime/drag.rs
#	crates/ui-contract/src/runtime/egui/access.rs
#	crates/ui-contract/src/runtime/egui/access/tree.rs
#	crates/ui-contract/src/runtime/egui/input.rs
#	crates/ui-contract/src/runtime/env.rs
#	crates/ui-contract/src/runtime/focus/nav.rs
#	crates/ui-contract/src/runtime/frame.rs
#	crates/ui-contract/src/runtime/keys.rs
#	crates/ui-contract/src/runtime/keys/claims.rs
#	crates/ui-contract/src/runtime/keys/input.rs
#	crates/ui-contract/src/runtime/keys/route.rs
#	crates/ui-contract/src/runtime/pointer.rs
#	crates/ui-contract/src/runtime/windows.rs
#	crates/ui-contract/src/testing/fixture.rs
#	crates/ui-contract/src/testing/host_key_trials.rs
#	crates/ui-contract/tests/it/collection/rows.rs
#	crates/ui-contract/tests/it/drag/mod.rs
#	crates/ui-contract/tests/it/runtime/wheel.rs
#	crates/ui-macros/src/props.rs
#	crates/ui-panels/src/dialog/mod.rs
#	crates/ui-panels/src/dialog/prompts.rs
#	crates/ui-panels/src/dialog/recovery.rs
#	crates/ui-panels/src/dialog/trials.rs
#	crates/ui-panels/src/dialog/words.rs
#	crates/ui-panels/src/rails/drawer.rs
#	crates/ui-panels/src/rails/drawer/stories.rs
#	crates/ui-panels/src/rails/tool/trials.rs
#	crates/ui-panels/src/sections/footer.rs
#	crates/ui-panels/tests/it/rails/drawer.rs
#	crates/ui-patterns/src/patterns/dock/area.rs
#	crates/ui-patterns/src/patterns/form_dialogs/about.rs
#	crates/ui-patterns/src/patterns/form_dialogs/dialog.rs
#	crates/ui-patterns/src/patterns/form_dialogs/dialog/stories.rs
#	crates/ui-patterns/src/patterns/form_dialogs/host_requests.rs
#	crates/ui-patterns/src/patterns/form_dialogs/mod.rs
#	crates/ui-patterns/src/patterns/form_dialogs/param.rs
#	crates/ui-patterns/src/patterns/form_dialogs/properties.rs
#	crates/ui-patterns/src/patterns/form_dialogs/properties/stories.rs
#	crates/ui-patterns/src/patterns/form_dialogs/rows.rs
#	crates/ui-patterns/src/patterns/form_dialogs/rows/stories.rs
#	crates/ui-patterns/src/patterns/panels/history.rs
#	crates/ui-patterns/src/patterns/preferences/document/model.rs
#	crates/ui-patterns/src/patterns/preferences/model.rs
#	crates/ui-patterns/src/patterns/preferences/page.rs
#	crates/ui-patterns/src/patterns/preferences/rows.rs
#	crates/ui-patterns/src/patterns/preferences/window.rs
#	crates/ui-patterns/src/patterns/preferences/window/stories.rs
#	crates/ui-patterns/src/patterns/presets/browser.rs
#	crates/ui-patterns/tests/it/docking/group_view.rs
#	crates/ui-patterns/tests/it/form_dialogs/dialog.rs
#	crates/ui-patterns/tests/it/form_dialogs/params.rs
#	crates/ui-patterns/tests/it/preferences/model.rs
#	crates/ui-shell/src/shell/start.rs
#	crates/ui-shell/src/shell/start/stories.rs
#	crates/ui-widgets/src/buttons/icon_button.rs
#	crates/ui-widgets/src/buttons/mod.rs
#	crates/ui-widgets/src/buttons/stories.rs
#	crates/ui-widgets/src/choice/swatch.rs
#	crates/ui-widgets/src/choice/swatch_table.rs
#	crates/ui-widgets/src/display/text.rs
#	crates/ui-widgets/src/form/slider_field.rs
#	crates/ui-widgets/src/layout_components/mod.rs
#	crates/ui-widgets/src/list/mod.rs
#	crates/ui-widgets/src/list/row/paint.rs
#	crates/ui-widgets/src/list/row/show.rs
#	crates/ui-widgets/src/list/stories.rs
#	crates/ui-widgets/src/list/view.rs
#	crates/ui-widgets/src/list/view_stories.rs
#	crates/ui-widgets/src/menu/mod.rs
#	crates/ui-widgets/src/menu/stories.rs
#	crates/ui-widgets/src/pickers/select.rs
#	crates/ui-widgets/src/tabs/document.rs
#	crates/ui-widgets/src/text/number.rs
#	crates/ui-widgets/src/text/zoom_field.rs
#	crates/ui-widgets/src/tile_grid/grid.rs
#	crates/ui-widgets/src/tile_grid/grid/stories.rs
#	crates/ui-widgets/src/tile_grid/mod.rs
#	crates/ui-widgets/tests/it/label/tooltip.rs
#	crates/ui-widgets/tests/it/popover/popup.rs
#	crates/ui-widgets/tests/it/tabs.rs
#	crates/ui-widgets/tests/it/text/mod.rs
#	crates/ui-widgets/tests/it/text/number.rs
#	crates/ui-widgets/tests/it/tile_grid/grid.rs
#	crates/window/Cargo.toml
#	docs/components-index.md
#	docs/porting.md
2026-11-23 19:01:32 -05:00
Dylan M. TaylorandClaude 7c0ae3e639 fw sync: merge craft-libs next e3ca63165 (149 commits) into pdf-port/sync
Conflicts resolved (upstream's design and defaults win; the port's opt-ins stay):
- ui-contract fonts: upstream's served-faces provider, catalog job queue and byte budget;
  the port's FaceBytes::chain (Word subset siblings, F-8) re-done on the provider: a served
  face lists its served chain faces before the interface faces, a sibling landing after its
  owner remakes egui's fonts once, drawing a face marks its chain drawn. The port's chain
  trial moves onto upstream's rig, plus a late-sibling trial.
- text editor HostCx follows FacesCx's job-based document_face and document_face_bytes.
- ui-widgets Swatch: upstream's SwatchFill (split, spectrum, image, empty) with the port's
  Swatch::optional / SwatchFace::optional (new SwatchFill::None, the "no colour" diagonal)
  and Swatch::icon (glyph on the empty well) on top; both word sets kept.
- draw PaintBar: upstream's MixerLoad fill.
- font-manager: upstream's sample band; host rows (port) use it too.
- ui-panels / ui-patterns dock grips: upstream's drag_origin and named slack.
- platform clipboard tests: both trials kept.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-23 12:54:08 -05:00
Dylan M. Taylor 9850b031cf fw sync: FormatText paragraph_spacing_presets and paragraph_spacing_range (default stays the Paragraph dialog's 0-1296 pt); trial paragraph_spacing_takes_the_hosts_presets_and_range_on_the_line_spacing_row 2026-11-23 08:27:17 -05:00
Dylan M. Taylor 10c2dc7ced fw sync: F-P3: TextEditor Shift-clicks after a double press extend from the whole word both ways, a key move or Select All ends the word anchor; trials a_double_press_on_a_one_letter_word_selects_only_that_word, shift_clicks_after_a_word_selection_extend_from_the_whole_word, a_key_move_ends_the_word_anchor (production 439401188) 2026-11-23 08:27:17 -05:00
Dylan M. Taylor d132f01012 fw sync: TextEditor::returns_focus (on by default): an editor its caller opens from a part can leave the opener alone
Upstream's editor runs in a restoring focus scope (FocusPolicy::TAB_LAYER), so an ended
session hands focus back to the stop it came from. A form field's editor takes focus
from the field's own page part, and focus arriving back there opens the field again:
Esc, Enter and picks no longer closed PdfCraft's fields. Component::focus_scope (default
FOCUS_SCOPE) lets an instance choose its scope; returns_focus(false) opens none.
Upstream's default is unchanged. Trial: an_editor_that_does_not_return_focus_leaves_its_opener_alone.
2026-11-23 07:12:37 -05:00
Dylan M. Taylor 5abaa7360e fw sync: clippy clean over the merged sync (all targets, all features)
Real fixes, no allows: split long functions (portal first reads, canvas wheel read, text editor input pass, list row toggle parts, notice action rows, thumbnails grid aspect and edit rules, comments row entries), boxed the large Entry item row, type aliases for complex types, a StatusMeasure for the status cell's measures, double #[must_use] removed where the type is #[must_use], Copy clones and useless conversions dropped, struct-update syntax in place of field reassignment, a split press-pass test.
2026-11-23 03:42:16 -05:00
Dylan M. Taylor 173d63d915 fw sync: cargo fmt --all (including drift that predates the sync) 2026-11-23 03:04:16 -05:00
Dylan M. Taylor 6a89835982 fw sync: design lint clean (107 findings to 0): non_exhaustive or closed list, #[prop] setters, layer imports moved down (begin hook, line-break chord, scroll move targets), session memory, story consts, marker exceptions with reasons 2026-11-23 02:10:46 -05:00
Dylan M. Taylor 438ae3da78 fw sync: review/pages/draw/text compile: comment selection and status fields, note popup scope, story binds, memoized-view preview trial, trials registered 2026-11-22 23:31:49 -05:00
Dylan M. Taylor a297595c4a fw sync: automation dock_method takes PanelSpecs; platform BrowserFiles writes to an embedding page (page_saves) before downloading, web-host's page_save feeds it (L-317); compile fixes in canvas/patterns trials 2026-11-22 23:30:13 -05:00
Dylan M. Taylor a48cd842f4 fw sync: apply the areas' owed lines (platform/web-host files, clipboard cfg, tooltip, canvas, stories gating, balloons selection, recent list, specimen, preferences re-export) 2026-11-22 23:13:52 -05:00
Dylan M. Taylor fd94fad305 fw-pages-review: merge origin/next into the port's pages, review and text editor
Pages: the port's page view keeps its pass (pre-draw tool callback, pager, GoTo, its picture stores) and takes
upstream's editor and inactive edits, snap and tool regions, rulers strips, picture reach with resident counts,
the zoom anchor and non-easing reflow, the thumb tip and Go To placement; PlacedPage::new takes upstream's
four arguments with showing() for the picture; page spacing is the theme insets for Creative and upstream's for
Productivity. Review: comment rows keep badges, lead and submit key beside upstream's balloon actions, body rows
and push buttons; a new lead keeps its own edit draft. Text: editor keeps holds_drafts with upstream's focus
scope. Module lists, stories and trials are the union.
2026-11-22 23:05:47 -05:00
Dylan M. Taylor cb3101725c sync skeleton: origin/next 118f1d2ff9 into pdf-port/gaps ea77c1676f, markers left
257 conflicted files staged with their conflict markers (630 hunks). The one
modify/delete, crates/ui-patterns/src/patterns/preferences/body.rs (deleted
upstream, modified by the port), keeps the port's file for its area to carry
into upstream's preferences/page.rs. Plan: landing/fw-sync-plan.md.
2026-11-22 22:42:09 -05:00
bflatastic fb939c5c7f text: the text editor takes its inputs and commands in arrival order with editor_steps, so typing after a commit's chord is not the session's 2026-11-23 10:11:24 +07:00
Dylan M. Taylor 276161b92b Shortcuts reference opens at a moderate fixed height; FindBar options icon is the adjustments glyph (trial) 2026-11-22 21:18:48 -05:00
Dylan M. Taylor d02b071002 FindBar: a plain integrated field (no clear button) and a sliders options icon; TextField::clear_button (trial) 2026-11-22 21:04:25 -05:00
bflatastic a2dbb57952 text: CharacterControls names its axes button Variable Font, the word made for it 2026-11-23 06:43:36 +07:00
Dylan M. Taylor 35a14126a5 FormatText: the size field carries no glyph label, as production, so a narrow pane keeps room for its value 2026-11-22 17:24:58 -05:00
Dylan M. Taylor 09d4ef7062 NumberField mixed_word: a mixed field can read 'Mixed'; FormatText size reads it; colour well stays content-sized so it takes no share (trials a_mixed_number_field_can_read_mixed, ..._reads_mixed_in_a_272_point_pane) 2026-11-22 17:15:43 -05:00
Dylan M. Taylor 7668530eca FormatText: the size, colour, list and alignment row uses the tight gap so the size field reads its value in a 272-point pane (trials: ..._reads_its_value_in_a_272_point_pane, ..._reads_mixed_...; fail with 38.5 pt on the old gap) 2026-11-22 17:03:57 -05: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
Dylan M. Taylor 32300bf1be FormatText: narrow-panel size field regression trial (passes in isolation; the app's clip is not reproduced here) 2026-11-22 13:08:16 -05: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 bd7e55c424 framework: FacePaint and the preset browser's host closures key through the MemoProps and PlainData derives (covered_by, every_pass) instead of hand impls; the Font Height Reference glyphs are consts, and their segment helper no longer shares egui's stroke-taking name line 2026-11-22 20:16:41 +07:00
bflatastic 4e76008c1e Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/font-manager/src/picker.rs
#	crates/ui-canvas/src/canvas/mod.rs
2026-11-22 14:20:34 +07:00
aiongg d40340cd42 text: the editor's I-beam request in its own function (cognitive complexity) 2026-11-22 05:55:54 +00:00