Commit Graph
7770 Commits
Author SHA1 Message Date
Dylan M. Taylor 874efb4576 fw sync: F-P4: PrintPanel/PrintDialog/HostedPrint printer_search opt-in (Search printers field, No printers match., Save as PDF kept, 430 pt list); Select search_label, no_matches, search_kept, list_width; trials printer_picker_filters_a_large_fleet_without_changing_the_selection, printer_picker_keeps_save_as_pdf_available_when_the_filter_matches_nothing, printer_picker_scrolls_long_names_without_losing_the_search_or_pdf_choice 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 fb99ed9076 fw sync: F-P2 / L-315: macOS title bar follows the traffic lights at the right (craft-window reads windowTitlebarLayoutDirection; MacInset::lights_right; the lights' room moves to their side; AppShell::title_follows_lights mirrors the title slot's flow, tabs and overflow included; Overrides::flow); trials a_title_that_follows_the_lights_mirrors_when_they_are_at_the_right, the_lights_room_follows_the_lights_without_mirroring_the_bar (production 4448ee940) 2026-11-23 08:27:17 -05:00
Dylan M. Taylor 238d922e15 fw sync: L-316: copied files are a Files primary in the clipboard offer plan (arboard's file list); trial a_file_list_is_written_as_files 2026-11-23 07:42:32 -05:00
Dylan M. Taylor 84216d12cb Merge branch 'pdf-port/sync-forms' into pdf-port/sync 2026-11-23 07:13:06 -05:00
Dylan M. Taylor cfd3adbe6c fw sync: L-321: MiddleAutoscrollFeel::Reader opt-in (production's speed, short-hold latch, ends on canvas blur)
NavigationOptions::middle_autoscroll, Edge (upstream's Autoscroll::step on the offset
past the dead zone, a release after a drag ends the run) by default. Reader is the
port's MiddleScroll feel PdfCraft's production tests pin: speed |d|^2.2 x 0.04 pt/s
from the whole distance, a release ends the run only after two stepped held passes past
the dead zone, and the run ends when the canvas loses the focus with the button up.
Trial: a_reader_autoscroll_keeps_a_short_hold_and_speeds_up_with_the_whole_distance.
2026-11-23 07:12:37 -05:00
Dylan M. Taylor f2e83cd928 fw sync: a focus request for a part waits for that part instead of landing on a sibling
A component's stops register after update, so a part first declared in the pass its
owner asks for it (PdfCraft's Tab onto a field on a page just scrolled in) was not
found, and the request fell back to the component's first stop: Tab reached the first
field. A Part request now lands on its part or awaits it (the stop that registers later
in the pass takes the focus); an Id request keeps the fallback.
Trial: a_part_asked_for_in_the_pass_it_appears_takes_the_focus_not_a_sibling.
2026-11-23 07:12:37 -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 6e619265e0 fw sync: cargo fmt (review note_popup trial from fbd0bd096) 2026-11-23 07:02:55 -05:00
Dylan M. Taylor fbd0bd096c fw sync: an edit comment composer opens with the caret after the text (TextField::keep_caret_on_open)
Upstream's photocraft#15540 selects a text field's whole text when a layer opens on it, so the
port's edit composer (ComposerDraft::Edit / EditVerbatim, port-only kinds) replaced the comment
being edited with the first key typed; production appends ("Original" + " edited").
TextOptions::keep_caret_on_open (TextField::keep_caret_on_open, off by default) leaves the codec's
caret on open; the composer sets it for edits only, so a new comment and every other field keep
upstream's rule. The popover call landed with 5abaa7360; this adds the option it uses.
Trial: note_popup::an_edit_composer_opens_with_the_caret_after_the_text (New still selects all).
2026-11-23 03:49:07 -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 32fae648a6 Merge branch 'pdf-port/sync-beh1' into pdf-port/sync-int 2026-11-23 02:57:51 -05:00
Dylan M. Taylor 3b78a10197 Merge branch 'pdf-port/sync-optin' into pdf-port/sync-int
# Conflicts:
#	crates/pages/src/ui/view/pictures.rs
#	crates/review/src/ui/comments.rs
#	crates/review/src/ui/comments/row.rs
2026-11-23 02:57:51 -05:00
Dylan M. Taylor 08e5ee8ebf fw sync: L-324/L-314: PageInsets::Theme (the port's inset spacing, opt-in; the theme side-margin trial opts in), PageView::go_to_place(GoToPlace::GapAbove) for production's Go To, PageView::fill_screen for full screen edge to edge 2026-11-23 02:57:02 -05:00
Dylan M. Taylor 85659945c3 fw sync: L-323: StandardPrompt::alternate_role (production's order), DialogButtonLook::Quiet (ghost Cancel and Don't Save), StartScreen::heading_sections and pinned_first, ToolbarDrawer::grouped_tools_drag opt-in; tab marks resolve outside the memoized tab row and join its key; a grip floating window keeps no title-rule band 2026-11-23 02:57:02 -05:00
Dylan M. Taylor e9d0bb0267 fw sync: L-322: the filled dropdown triangle (DropdownArrow::Triangle) and PdfCraft's document tabs (DocumentTabLook::Shrinking: shrink, inline gap, marker dot for modified, 22-digit name cap) become opt-in env values; upstream's chevron, whole touching tabs and '*' stay the default 2026-11-23 02:57:02 -05:00
Dylan M. Taylor bfe51c7622 fw sync: L-320: parts_group takes the nested case: a part group registered under the body group keeps its own group, for the header's hosted cells as for the parts 2026-11-23 02:57:01 -05:00
Dylan M. Taylor cd72739407 fw sync: a key whose bindings are all disabled is still declined to the app
Upstream passes a disabled binding's chord to the next binding (Matcher::press_where),
so a press whose only binding is state-disabled matched nothing and the port's decline
(FrameOutput::declined) never ran. Both kept: with no enabled binding the board matches
the press once more without the filter and declines that command when only the app's
own state disables it (gate, modal rule and instance state still not declined).
2026-11-23 02:56:08 -05:00
Dylan M. Taylor 5d812cfefb fw sync: command-search story chord off Cmd+K, which upstream's menu-row trial binds
The port's story command set (registered with the stories in the test binary) bound
Cmd+K, so the trial's Find command lost its chord and its row showed none. The story's
chord moves to Cmd+Shift+F; the trial is upstream's and unchanged.
2026-11-23 02:49:50 -05:00
Dylan M. Taylor ed7d648f69 Merge branch 'pdf-port/sync' into pdf-port/sync-int
# Conflicts:
#	crates/review/src/ui/comments.rs
2026-11-23 02:47:55 -05:00
Dylan M. Taylor 6a748831cb Merge branch 'pdf-port/sync-beh2' into pdf-port/sync-int
# Conflicts:
#	crates/review/src/ui/comments.rs
#	crates/review/src/ui/comments/row.rs
2026-11-23 02:43:38 -05:00
Dylan M. Taylor dd35b1e887 fw sync: resting-pointer popup trial names its list (upstream's PopupList::list)
Upstream routes an opener's list keys only to the list the popup names
(PopupList::list / Overlay::list); the port found the first type-ahead stop in the
layer. Upstream's mechanism wins; the trial's fixture names its list, its check stands.
2026-11-23 02:42:51 -05:00
Dylan M. Taylor 33d7e8d65e fw sync: unsaved question long-text trial finds the question as an alert dialog
Upstream made the unsaved question Role::ALERT_DIALOG; the port trial looked it up as
Role::DIALOG. Only the lookup changes; the check that the text stays inside stands.
2026-11-23 02:42:51 -05:00
Dylan M. Taylor a0035430e5 fw sync: L-72 hint-alone tooltip becomes opt-in (CommandState::hint_alone)
Upstream shows a hinted command's label and chord over the hint even when the label
shows whole; the port showed the hint alone (L-72). Upstream's default kept; the port's
look is the opt-in CommandState::hint_alone(true), carried as ResolvedCommand::hint_alone.
The trial asserts both.
2026-11-23 02:42:50 -05:00
Dylan M. Taylor 24f40451a8 fw sync: L-318: Escape over a draft in a modeless window reverts the field first
Upstream's one-Escape dialog cancel (focus::escape_closes_dialog) now counts modal
dialogs only, as the port's focus_in_modal_dialog does: a modeless window's edits belong
to the app, so Escape ends one thing at a time (field, then window). Modal dialogs keep
upstream's one Escape.
2026-11-23 02:42:50 -05:00
Dylan M. Taylor ea9e4e3bea fw sync: L-321: the merged middle autoscroll ends on the window's blur event
The port's latch ended on PassPointer::focus_lost and a PointerGone event; upstream's
MiddleAutoscroll read egui's focus flag only, which a blur event does not change in its
pass. The port's addition kept on top of upstream's autoscroll (L-321).
2026-11-23 02:42:50 -05:00
Dylan M. Taylor 6a7488ad73 fw sync: task bar writes its place from the drop's Commit (upstream wins)
Upstream reports a layer move once, on the Commit, at the rect the layer already shows
at; the port's filter that dropped a move ending where the bar shows threw that report
away, so a drag never wrote the place. A click reports no move upstream, so the filter
is redundant: removed. Fixes the three task bar trials.
2026-11-23 02:42:50 -05:00
Dylan M. Taylor df81ec186a fw sync: L-324 Creative page spacing back to upstream's default (section gap, roomy margin, rail side); the port's inset spacing is left for the opt-in variant (fwg-optin), whose trial a_page_fitted_to_the_width_keeps_the_theme_side_margin must opt in 2026-11-23 02:40:33 -05:00
Dylan M. Taylor 9c2d4522b7 fw sync: L-324 comment rows keep upstream's one editor-focus mechanism (EditShown); each card menu opens once per pass (duplicate stage ids) 2026-11-23 02:40:33 -05:00
Dylan M. Taylor 321dbe667e fw sync: L-324 Creative page spacing back to upstream's default (section gap, roomy margin, rail side); the port's inset spacing is left for the opt-in variant (fwg-optin), whose trial a_page_fitted_to_the_width_keeps_the_theme_side_margin must opt in 2026-11-23 02:39:55 -05:00
Dylan M. Taylor 4db8b37820 fw sync: docs: components index regenerated by its generator; api-map shape (new setters name old = new, password_strength as a call rewrite) 2026-11-23 02:35:10 -05:00
Dylan M. Taylor 76be9d70a4 fw sync: L-324 comment rows keep upstream's one editor-focus mechanism (EditShown); each card menu opens once per pass (duplicate stage ids) 2026-11-23 02:34:53 -05:00
Dylan M. Taylor a2760e0c01 fw sync: test frames stamp held modifiers on generated pointer buttons (F-144 press modifiers vs upstream's held-modifier presses; imaging pins/lasso/vanishing pass) 2026-11-23 02:34:52 -05:00
Dylan M. Taylor 49646c7942 fw sync: the comments panel's lead card names its message menus once a pass (a row built twice opened two menus on one id) 2026-11-23 02:11: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 f9d38c866f fw sync: L-319: moves a region passes its fallback collection stay its keys (page and end included); the rows' own scroll moves page 2026-11-22 23:34:24 -05:00
Dylan M. Taylor 99ea0489a0 fw sync: workspace check --all-features clean (review panel state literals, unused results and imports) 2026-11-22 23:32:28 -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 8a620b3d6e fw sync: ui-canvas and ui-patterns libs compile: WheelScheme::Document arm, one scroll-bar same_value (both tolerances), region drop mark for a split, memo props on env values, story binds, unused imports 2026-11-22 23:26:27 -05:00
Dylan M. Taylor 975ccce6c8 fw sync: ui-panels compiles: one Dialog::least_width (the container prop), story commands on CommandStates, tracked rail slots in a trial 2026-11-22 23:24:47 -05:00
Dylan M. Taylor ccbd4283ba fw sync: ui-widgets compiles: FaceSpec fields, story binds, registry-visible story modules, text_x, deprecations 2026-11-22 23:23:20 -05:00
Dylan M. Taylor 7f53dfd8b7 fw sync: ui-contract compiles: one AccessKit tree store (upstream's settled tree, the port's view over it), journal calls on upstream's signature, Span strikethrough, filtered Source borrows; the settled-region rename trial on a memoized view 2026-11-22 23:19:58 -05:00
Dylan M. Taylor 308478fe00 fw sync: restore platform's appearance and browser features; resolve Cargo.lock 2026-11-22 23:14:53 -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 1cae51b2cb Merge branch 'pdf-port/sync-fw-patterns' into pdf-port/sync 2026-11-22 23:09:41 -05:00
Dylan M. Taylor daae7fcd5c fw-patterns: resolve the origin/next sync for ui-patterns dock area, form dialogs, preferences, preset browser and their trials
Dock area: upstream's specs/Arc workspace/memo rewrite with the port's top inset, rail footer,
IconicMode::Rail widths, group view room and title count/caption/command re-applied.
Form dialogs: upstream's held answer, preset sources and button place with the port's tabs,
read-only, Document layout, host notes, one action channel and preview pager; both
beside_previous and beside_next rows in one section_rows; SetOrClear carried into
PasswordFields as an opt-in clearable.
Preferences (L-312): upstream's PreferencesPage structure with a PreferencesLayout option,
Paged by default, Cards carrying the port's scrolling cards, segmented short choices and
match count; body.rs removed.
2026-11-22 23:09:08 -05:00
Dylan M. Taylor cfa8f1a520 Merge branch 'pdf-port/sync-fw-pages-review' into pdf-port/sync 2026-11-22 23:06:23 -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