Commit Graph
49 Commits
Author SHA1 Message Date
Dylan M. TaylorandClaude 0dfc9d47eb fw sync: the flat note Reply's edge takes the note's colour
Trial a_flat_reply_edge_takes_the_notes_colour.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-23 12:24:54 -05:00
Dylan M. Taylor cd4704b357 Merge branch 'pdf-port/sync' into pdf-port/sync-look 2026-11-23 09:35:58 -05:00
Dylan M. Taylor 02e29c4e56 fw sync: NoteReplyLook::Flat opt-in: the note pop-up's Reply as production's small flat rectangle 2026-11-23 08:56:16 -05:00
Dylan M. Taylor 0eed29dcc2 Merge branch 'pdf-port/sync' into pdf-port/sync-rest 2026-11-23 07:44:04 -05:00
Dylan M. Taylor 090f7c0c23 fw sync: CommentComposer::fixed_rows keeps the card one size
The composer's field grows with its text, but the card is measured before the text wraps, so a card near
the bottom of the window was placed shorter than it laid out and clipped Post. fixed_rows (off by default)
keeps the field at its three rows and scrolls the rest, so the card's buttons stay inside it.
Trial: note_popup::a_composer_with_fixed_rows_keeps_post_inside_its_card_near_the_bottom.
2026-11-23 07:43:54 -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 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 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 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
Dylan M. Taylor baaa53c801 Comments: an edit's button reads Save, a new comment's Post (trials) 2026-11-22 21:04:25 -05:00
Dylan M. Taylor d5b7993417 Note pop-up: the title band runs under Close (trial the_title_band_runs_under_the_close_control) 2026-11-22 18:59:23 -05:00
Dylan M. Taylor 9f852f6ddc Note pop-up: pale note-colour body read in the light palette, small end-aligned Reply/Cancel/Post (trial the_reply_button_sits_at_the_end_edge_of_the_window) 2026-11-22 18:10:28 -05:00
Dylan M. Taylor 11a43e9f1e review: comments look: muted avatars, thread line, text under the name, quiet selected card, compact reply field, empty state, Sort by heading, plain group heading 2026-11-22 02:33:07 -05:00
Dylan M. Taylor 6314fc55b4 review: annotate preview outline heavy, flat grey eraser band, round handles, one callout leader 2026-11-22 02:33:07 -05:00
Dylan M. Taylor fe7647e4d1 Preserve note draft focus through close press 2026-11-21 12:00:08 -05:00
Dylan M. Taylor f2b271c546 Distinguish callout box and leader drags 2026-11-20 16:09:30 -05:00
Dylan M. Taylor 503a71c00e Honor root comment deletion permissions 2026-11-20 15:52:32 -05:00
FredApps 9793d1a452 Merge branch 'next' of https://github.com/storytold/craft-libs into publish/registry-2332
# Conflicts:
#	crates/dialogs/src/lib.rs
#	crates/dialogs/src/ui/mod.rs
#	crates/draw/src/ui/gradient/mod.rs
#	crates/draw/src/ui/gradient/swatch.rs
#	crates/menu/src/shortcuts/view.rs
#	crates/menu/tests/it/main.rs
#	crates/menu/tests/it/shortcuts/mod.rs
#	crates/pages/tests/it/main.rs
#	crates/print/src/lib.rs
#	crates/review/tests/it/main.rs
#	crates/story-render/src/main.rs
#	crates/table/tests/it/main.rs
#	crates/text/tests/it/main.rs
#	crates/ui-canvas/src/canvas/navigate/mod.rs
#	crates/ui-canvas/tests/it/canvas/mod.rs
#	crates/ui-contract/tests/it/access/mod.rs
#	crates/ui-contract/tests/it/fonts/mod.rs
#	crates/ui-contract/tests/it/runtime/mod.rs
#	crates/ui-gallery/src/foundations/mod.rs
#	crates/ui-patterns/src/patterns/preferences/mod.rs
#	crates/ui-patterns/tests/it/docking/mod.rs
#	crates/ui-patterns/tests/it/form_dialogs/mod.rs
#	crates/ui-patterns/tests/it/panels/palette.rs
#	crates/ui-patterns/tests/it/preferences/mod.rs
#	crates/ui-shell/src/shell/mod.rs
#	crates/ui-shell/tests/it/shell/mod.rs
#	crates/ui-widgets/src/tabs/strip.rs
#	crates/ui-widgets/tests/it/bars/mod.rs
#	crates/ui-widgets/tests/it/contract/mod.rs
#	crates/ui-widgets/tests/it/layout/mod.rs
#	crates/ui-widgets/tests/it/main.rs
#	crates/ui-widgets/tests/it/menu/mod.rs
#	crates/ui-widgets/tests/it/pickers/mod.rs
#	crates/ui-widgets/tests/it/text/mod.rs
2026-11-20 15:04:36 +01:00
Dylan M. Taylor 43c6ca52f2 Format merged follow-up changes 2026-11-20 05:49:24 -05:00
Dylan M. Taylor fb244d1950 Framework fwb9-c: port follow-ups (see runs/fwb9-c.md) 2026-11-20 05:48:20 -05:00
Martin BallandClaude Opus 5.5 a9deabd00e design-lint: api, props, contract and exception findings of the port code
- api/non-exhaustive: #[non_exhaustive] on public enums, variants and structs, with constructors for what
  callers built by struct expression (KeytipControl, GroupWidths, RibbonMenuRequest, EdgeLook::sample,
  BalloonItem, CropScope::object, PageBandRoom, WheelSpeed, AltCodePages, GalleryFace, GradientTile).
  GalleryItem, RibbonOutput, LineBreakOptions, AsianTypography and GapEdge join the closed list.
- props/hand-setter: setters that only store become #[prop] fields. Keytips drops its own enabled field
  for Common enabled, and its show becomes show_over.
- contract/no-global-state: constant tables are const, not static.
- contract/egui-import, memory, allocate: LayerId, TreeUpdate, Id::unique, the text scroll memory and
  allocate_space go through runtime::egui.
- contract/overlay-flag: CanvasScrollbars declares overlay; its drag story covers Open.
- Markers and exception entries only where the code is the exception (stories, trials, unit-square
  coordinates, the balloons id scope).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:38:56 +00:00
Martin Ball f77301a76d Merge follow-up: resolve_in takes Reads; the host-key trial gives states through CommandStates; cargo fmt 2026-11-20 00:40:05 +00:00
Dylan M. Taylor 80c1ff2d4a rustfmt framework batch 4 2026-11-19 18:25:32 -05:00
Dylan M. Taylor c9fe3946ec Framework batch 4 d: port follow-ups (see runs/fwb4-d.md) 2026-11-19 18:25:02 -05:00
Martin BallandClaude Opus 5.5 f3fea6f189 fwstub-2: a comment card selected again keeps its own edit draft (select_thread dropped every edit, so a draft the app could not write back went when its balloon was clicked again; S-L100 keeps no second copy in the app), and an inline edit takes the keyboard in the pass it opens, so one click on a balloon is enough to type, as the old WordCraft; trials
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:19:09 +00:00
Dylan M. Taylor d552111634 rustfmt framework batch 3 2026-11-19 15:48:49 -05:00
Dylan M. Taylor 88b867f4dc Framework batch 3 d: port follow-ups (see runs/fwb3-d.md) 2026-11-19 15:48:27 -05:00
FredApps b04d18a735 Select UI suite items through explicit registries 2026-11-19 12:20:08 +01:00
Martin Ball 0bc621b93f fu-canvas: app batch 1 rulings (S-L233, S-L236, S-L238, S-L243, S-L244, S-L247) 2026-11-18 22:47:02 +00:00
Martin Ball a882a3e423 rc-canvas-w7: red round 1 fix (canvas-run-1-fw) 2026-11-18 14:44:12 +00:00
Dylan M. TaylorandClaude Opus 5.5 0d650f4064 red round 3 (fw-apps): fixes for fw-run-4 (runs/fw-run-4/fw-apps.md); committed by the lead
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 09:16:40 -05:00
Dylan M. TaylorandClaude Opus 5.5 818f571687 red round 2 (fw-apps): fixes for fw-run-3 (runs/fw-run-3/fw-apps.md); L-198 applied in fw-lists; committed by the lead
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 09:04:08 -05:00
Martin Ball 80d3e4d440 canvas-w7: net change of 3 commits
- canvas-w7: written by an agent
- canvas-w7: finished by an agent
- canvas-w7: review fixes (review-1)
2026-11-18 14:03:47 +00:00
Dylan M. TaylorandClaude Opus 5.5 5005f557dc red round 1 (fw-apps): fixes for fw-run-2 (see runs/fw-run-2/fw-apps.md); committed by the lead
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 08:49:42 -05:00
Dylan M. TaylorandClaude Opus 5.5 7c04a29b60 combine pdf-forms-workflows-fw: mod note_popup (pdf-comments-w3, lost to -X theirs), sync_views (pdf-workflows-w3), files (pdf-workflows-w4) (R-1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 08:07:20 -05:00
Dylan M. Taylor 031b32dc90 pdf-forms-w1: net change of 4 commits
- pdf-forms-w1: finished by an agent
- pdf-forms-w1: finished by an agent
- pdf-forms-w1: review fixes (review-1)
- pdf-forms-w1: drop_veil stories no longer need ShowContainer (lead applied the refused hunk)
2026-11-18 08:07:07 -05:00
Dylan M. Taylor 1221a396dd pdf-comments-w4: net change of 2 commits
- pdf-comments-w4: written from its sheet
- pdf-comments-w4: review fixes (review-1)
2026-11-18 06:54:15 -05:00
Dylan M. Taylor bac347860e pdf-comments-w3: net change of 3 commits
- pdf-comments-w3: finished by an agent
- pdf-comments-w3: review fixes (review-1)
- pdf-comments-w3: review fixes (review-1b)
2026-11-18 06:54:15 -05:00
Dylan M. Taylor 8faf284b95 pdf-comments-w2: net change of 4 commits
- pdf-comments-w2: finished by an agent
- pdf-comments-w2: review fixes (review-1)
- pdf-comments-w2: review fixes (review-1b)
- pdf-comments-w2: re-export swath and its trial (lead applied the two hunks the Files table refused)
2026-11-18 06:54:15 -05:00
Dylan M. Taylor 33fa6bf023 Contract stubs: craft-print, craft-review, craft-automation, craft-color-ui, craft-dialogs 2026-11-17 23:09:14 -05:00
aiongg 5eefdb88a1 Run the tool host in the canvas body at every caller but tool_story and PageView
Gallery mock panels, ui-bench, review story, doc examples and the test sites run
ToolHost::run on the ToolPass the canvas publishes, after the body's controls and
before the picture, which paints with .picture().
2026-11-16 21:37:38 +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 8735a8b1c5 Document and app crates on the framework: text, pages, table, review, timeline, menu, browse, dialogs, print, font manager, theme store, update, automation 2026-11-12 14:32:38 +00:00