Commit Graph
812 Commits
Author SHA1 Message Date
BFlat 6f37bd839c VectorCraft on the craft UI framework (#8800)
VectorCraft's UI moves onto the shared craft UI framework in storytold/craft-libs (`next`; the framework side is storytold/craft-libs#2809), as PhotoCraft's did. The app keeps its engine, document model, file formats, commands and automation; its windows, panels, bars, dialogs and canvas are now built and driven by the framework: shell, docking and panels, hosted dialogs, keyboard, focus, IME and pointer routing, and theme tokens.

About 264,000 lines of VectorCraft's own egui UI code are removed and about 154,000 added. craft-libs is pinned at bf62d509f (in `next`), the egui fork at f5025284.

Tests that drove the old UI were rewritten against the port where only their premise changed, with their assertions kept. The UI tests still failing at merge, and their follow-ups, are listed in the pull request.
2026-11-24 08:25:24 +07:00
dotCooCoo f2eb016e98 Tests: transform turns about the same pivot with a null or omitted origin
transform_rejects_a_mistyped_reflect_copy_or_origin_before_editing ran
a rotate with a null origin and checked only that the call succeeded.
It now compares the resulting path with the same rotate with origin
left out, so a null origin that moved the pivot would fail the test.
2026-11-20 20:26:14 -08:00
dotCooCoo f9d447b13b Tests: the side widget batch test checks that the batch switches documents
The test found the polygon's document by its uid, so it passed even when
the batch's document.activate step left the active document unchanged. It
now asserts that the batch makes document 0 active and leaves the
polygon's document.
2026-11-20 17:23:00 -08:00
ruchirguitar 0b57d2233b Properties panel: add contextual Quick Actions for text (Create Outlines, Retype, Find and Replace) (#8778)
* Properties panel: add contextual Quick Actions for text (Create Outlines, Retype, Find and Replace)

* Properties panel: address review comments on Retype reveal idempotency, test assertions and parity docs
2026-11-20 23:43:09 +07:00
bflatastic 0810ac5b87 Merge remote-tracking branch 'origin/main' into fix/8001
# Conflicts:
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/menus/ui_commands.rs
#	docs/roadmap.md
2026-11-20 05:47:07 +07:00
bflatastic 864ef2f200 Merge main into #8763
# Conflicts:
#	docs/target-app-parity.md
2026-11-20 05:45:14 +07:00
BFlat fe8bcec1e4 Merge pull request #8716 from storytold/train/carry7112
Image Trace: Edit › Tracing Presets… manages, imports and exports tracing presets (#7112)
2026-11-20 05:38:06 +07:00
BFlat 684b1bf48d Merge pull request #7641 from dotCooCoo/feat/color-wheel-document-colors
Color Wheel: Show Document Colors lists the colors the art uses
2026-11-20 05:32:27 +07:00
BFlat d2cecc63df Merge pull request #8754 from storytold/train/carry8729
HP-GL Options: OK writes nothing after another document became active (#8729)
2026-11-20 05:25:21 +07:00
BFlat f11c8da760 Merge pull request #8746 from storytold/train/carry8494
Shapes: Circle Tool Options set what the Circle tool shows and where its anchors go (#8494)
2026-11-20 05:15:55 +07:00
dotCooCoo f1b498a103 Quick Pen: the toolbar hides for any canvas drag, and Flip Arc returns an error from finishing the pending edit 2026-11-19 13:23:33 -08:00
dotCooCoo e690eecb81 Merge main into feat/color-wheel-document-colors 2026-11-19 13:06:47 -08:00
bflatastic 4758023887 Merge main into #8283
# Conflicts:
#	docs/target-app-parity.md
2026-11-20 03:39:57 +07:00
dotCooCoo 0a049fd447 Merge main into feat/palette-clear-counts 2026-11-19 11:15:15 -08:00
dotCooCoo 1dd87b4799 Merge main into feat/color-wheel-gamut 2026-11-19 11:10:43 -08:00
dotCooCoo eebd3960be Merge main into feat/color-wheel-document-colors 2026-11-19 10:36:07 -08:00
dotCooCoo b423ce5855 Quick Pen: on-canvas toolbar with its actions, Flip Arc and More menu
Selecting the Quick Pen tool shows a toolbar on the canvas. Straight
Line, Continuous Arc and Sharp Corner Arc set the tool's action, Flip
Arc flips the last sharp-corner arc as C does, and More Options has
Hide Toolbar, Pin Toolbar Position and Reset Toolbar Position. The
handle at its left end drags it.

While a path is being drawn, the toolbar sits beside the path's last
point, 24 screen points off it on the side the path heads toward, or on
the other side where that side runs off the canvas. With no path being
drawn, it sits at the bottom center of the canvas. A drag's offset
applies in the kind of place it was made in (beside the drawing or
resting), and not where it would cover the path's last point. Pinned,
it stays at its place in the canvas window. It hides while a press
drags on the canvas, and its controls wrap in a canvas pane narrower
than the toolbar. Hide Toolbar hides it until the tool is selected
again; Window › Quick Pen Toolbar also shows or hides it.

- Tool::drawing_end and Session::tool_drawing_end give the point the
  path goes on from and the direction it arrives in.
- New desktop commands: window.quickPenToolbar, window.quickPenToolbar.pin,
  window.quickPenToolbar.reset and tool.quickPen.flipArc; ui.inspect
  reports quickPenToolbar.
- Labels in every catalog.

Docs: docs/mcp.md, docs/control-protocol.md, ROADMAP, docs/ui-parity.md,
docs/target-app-parity.md. Part of #2660.
2026-11-19 10:04:07 -08:00
BFlat 115790a0b0 Merge pull request #8740 from storytold/train/carry8044
Color Wheel: HSL Sliders edit a color by hue, saturation and lightness (#8044)
2026-11-20 00:54:48 +07:00
bflatastic 6711aad27f Merge remote-tracking branch 'origin/main' into auto/8729 2026-11-20 00:40:00 +07:00
BFlat fcdc7a3308 Merge pull request #8654 from dotCooCoo/feat/task-bar-choose-actions
Contextual Task Bar: choose which actions it shows
2026-11-20 00:33:47 +07:00
bflatastic eee6f40a92 Merge remote-tracking branch 'origin/main' into fix/8044 2026-11-19 23:39:16 +07:00
bflatastic 8f66e605ca Merge main into #7112 2026-11-19 23:38:32 +07:00
dotCooCoo 67879a24a5 Merge main into feat/color-wheel-gamut 2026-11-19 07:57:28 -08:00
dotCooCoo 476bc12da4 Merge main into feat/circle-tool-options 2026-11-19 07:50:29 -08:00
dotCooCoo 9f95dc70dc HP-GL Options: OK writes nothing after another document became active
HP-GL Options stored no document, so OK after `window.nextDocument` or
`file.new` exported the newly active document to the path chosen for
the first one. The dialog now keeps the uid of the document it was
opened for, and OK closes it and writes nothing when another document
is active, as Delete Brush's dialog does.
2026-11-19 07:49:59 -08:00
dotCooCoo 40430c3b72 Merge main into feat/fill-area-tool 2026-11-19 07:35:20 -08:00
BFlat 633e6bb249 Merge pull request #8701 from dotCooCoo/fix/retype-find-more-null
Retype: retype.find's params text says a null more runs a new search
2026-11-19 21:57:43 +07:00
dotCooCoo 19a8d53e58 Merge main into feat/fill-area-tool 2026-11-19 06:56:49 -08:00
bflatastic 6a3db0e842 Merge main into #7977 2026-11-19 21:44:26 +07:00
BFlat aad3ea3bb5 Merge pull request #7674 from dotCooCoo/feat/proof-setup-customize
View: Proof Setup › Customize… opens a dialog for the device to simulate
2026-11-19 21:31:51 +07:00
bflatastic 0ec382f260 Merge remote-tracking branch 'origin/main' into fix/7112
# Conflicts:
#	crates/engine/src/cmd/buildcmds.rs
2026-11-19 21:21:47 +07:00
dotCooCoo c5891dbb06 Merge main into feat/color-wheel-document-colors 2026-11-19 06:11:21 -08:00
dotCooCoo f9b7c9482e Merge main into feat/circle-tool-options 2026-11-19 05:09:36 -08:00
dotCooCoo e16d59661c Contextual Task Bar: Bar Actions names drop a colon and an ellipsis in any order
More Options › Bar Actions now leaves out a final colon and a final
ellipsis ("…" or "...") whichever comes last, with or without a space
between them, so "Name...:" and "Name: ..." are listed as "Name".

window.taskBar.actions treats a `visible` of null as omitted again, so
the action toggles, as docs/mcp.md says for every command's params and
as window.control.options does. Its params text and docs/mcp.md entry
now say that null toggles, and a test covers it.
2026-11-19 05:06:18 -08:00
dotCooCoo dafade6173 Merge main into feat/proof-setup-customize
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
#	crates/ui-egui/src/i18n/tests.rs
2026-11-19 05:04:12 -08:00
dotCooCoo 16de36545c Retype: retype.find's params text says a null more runs a new search
retype.find reads `more` with opt_bool, which treats null as omitted, so
`{more: null}` runs a new search. The params text said any value other
than true or false is an error. The params text, its MCP mirror and
docs/mcp.md now say that false, omitted or null runs a new search and
that a value other than true, false or null is an error. A test checks
that a null more lists the first ten again.
2026-11-19 05:04:10 -08:00
dotCooCoo 50b039cd10 Merge main into feat/color-wheel-hsl-sliders 2026-11-19 05:03:21 -08:00
dotCooCoo 267db08d8a Merge main into fix/followup-8449 2026-11-19 05:00:00 -08:00
dotCooCoo 0b6e670a8d Merge main into feat/edit-tracing-presets 2026-11-19 04:57:23 -08:00
dotCooCoo d26580f002 Merge main into feat/color-wheel-gamut 2026-11-19 04:54:44 -08:00
dotCooCoo 5d8609e881 Merge main into feat/proof-setup-save-load
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
#	crates/ui-egui/src/i18n/tests.rs
2026-11-19 04:47:38 -08:00
dotCooCoo adbf701268 Merge main into feat/palette-clear-counts 2026-11-19 04:45:02 -08:00
bflatastic 69f4559744 Merge main into #8652
# Conflicts:
#	docs/gaps.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:36:41 +07:00
bflatastic 4c22e881fc Merge main into #7668
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:21:28 +07:00
bflatastic 08b01d714c Merge main into #7652
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:20:44 +07:00
BFlat bccb824be6 Merge pull request #8619 from dotCooCoo/feat/retype-matching-fonts
Retype: the Retype panel lists the fonts that match outlined text
2026-11-19 15:18:29 +07:00
BFlat 31c2107b73 Merge pull request #8649 from dotCooCoo/feat/actions-automatic-align-to
Actions: an action can choose Align To when it plays
2026-11-19 15:09:04 +07:00
BFlat cb094669ae Merge pull request #8628 from dotCooCoo/fix/live-paint-bucket-fill-color
Live Paint: a color chosen with the Live Paint Bucket is the color it paints with
2026-11-19 15:06:53 +07:00
BFlat 277dd40567 Merge pull request #8520 from dotCooCoo/feat/width-point-edit-all-selected
Width Point Edit: Side 1 and Side 2 apply to every selected width point
2026-11-19 15:00:49 +07:00
BFlat 0a648aa23e Merge pull request #8497 from dotCooCoo/feat/layers-panel-isolation-list
Layers: isolation mode lists only the isolated art
2026-11-19 15:00:00 +07:00