Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Merge PR #1063: UI: Typography opens with its named panel groups and a clear page

aiongg619f9114bdc8
diff --cc ROADMAP.md
index 37afe5f6a,a4d99dca6..175e4ce9f
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@@ -345,16 -343,8 +345,18 @@@ list) · [roadmap.md](docs/roadmap.md)
## Progress log
+- **2026-10-15** · Applying text styles removes matching local formatting so capture sources
+ inherit later edits; real overrides and named character styles remain.
+- **2026-10-15** · Redefine paragraph and character styles from local formatting, including the
+ Styles panel context menu, global updates and one-step undo.
+- **2026-10-15** · Paragraph Styles marks local character overrides and offers Clear Overrides
+ in the style row menu; named character styles and equal local values are not false overrides.
+- **2026-10-15** · Existing paragraph and character styles preview their attribute edits in
+ Style Options; Cancel restores the document and OK records one edit.
+- **2026-10-15** · Paragraph Style Options summarizes captured and pending color, size and
+ paragraph settings relative to the Based On style.
+ - **2026-10-15** · Typography uses named panel groups with the Control panel and restores that
+ arrangement on Reset Workspace, leaving the page clear until a panel is opened.
- **2026-10-13** · Switching between document and parent pages refreshes the canvas immediately, preventing black parent pages and stale document objects when the zoom stays the same. Ordinary edits retain partial repainting. No readiness percentage change.
diff --cc docs/ui-parity.md
index 55d38e9f3,4686426b4..70a4732d9
--- a/docs/ui-parity.md
+++ b/docs/ui-parity.md
@@@ -59,55 -59,14 +59,61 @@@ Counted 2026-10-11: 28 rows, 12 ✓, 1
for real work is lower, ~45%, because threading is missing and three of the ~ rows (copy/paste,
context menus, typing at a caret) are things a layout artist does every minute, and their failures stop work.
+Navigation also supports held Space as Hand and held Cmd+Space as Zoom (Ctrl+Space on
+Windows/Linux), with Alt-click zooming out. Releasing restores the previous tool and its state.
+The temporary Zoom uses the selected Zoom tool's click and horizontal scrubby drag behavior;
+marquee zoom is not implemented. It is suppressed while typing in a document text frame or a
+focused text field, and does not interrupt an existing tool drag. Synthetic canvas input tests
+cover the cursors, click anchors, scrub/release ownership, restoration, typing guards and undo
+history (DC-1).
+
## Remaining effort
+Applying a paragraph or character style now removes local values equal to the applied style,
+so text used to capture a style follows later edits to that style. Different local formatting
+and named character styles stay intact. Paragraph-style application treats selection endpoints
+as exclusive; Clear Overrides removes character formatting only inside a nonempty selection.
+Regressions cover the capture/edit workflow at 2:16 and 6:02 in
+[Jessica Garrity's styles tutorial](https://www.youtube.com/watch?v=pG9JkAPLgs8).
+
+Redefining a character style at a caret also normalizes the sampled source run, so subsequent
+style edits reach that text while different local overrides in adjacent runs remain intact.
+
+The selected style's context menu now offers Redefine Style for paragraph and character styles.
+It incorporates the source text's local changes, updates every use, and removes matching source
+overrides in one undo step. Named character styles remain separate when redefining a paragraph
+style. Commands: `style.paragraph.redefine` and `style.character.redefine` (optional `name`,
+which must match the source). This implements the global color, size and spacing updates at
+about 5:10–6:00 in [Jessica Garrity's styles tutorial](https://www.youtube.com/watch?v=pG9JkAPLgs8).
+
+The Paragraph Styles panel now includes character formatting in its `+` indicator, on both
+the current-style summary and the selected row. The row menu offers Apply "name", Clear
+Overrides through the existing command, retaining named character styles. Selection attribute
+counts compare effective values with their style definitions, so equal local values and named
+character styles alone do not report overrides. This covers the color-override/clear workflow
+at 4:25–5:20 in [Jessica Garrity's styles tutorial](https://www.youtube.com/watch?v=pG9JkAPLgs8).
+
+Style Preview rejects conflicting scalar/nested automation fields without a panic. Replacing a
+previewing dialog through the control channel cancels its transaction, restoring the original
+document and normal undo recording before the replacement opens.
+
+Paragraph and Character Style Options now preview edits to existing styles. Preview updates
+every use, remains outside undo history, and restores the starting document when disabled or
+cancelled. OK applies the final edit once. The color-preview step at about 4:00 in
+[Jessica Garrity's styles tutorial](https://www.youtube.com/watch?v=pG9JkAPLgs8) is reproducible
+offscreen. New-style creation, renaming and export tagging are committed on OK; they are not
+included in the visual preview.
+
+Paragraph Style Options' General pane shows a Style Settings summary of differences from its
+parent, including captured color, size and spacing. Pending edits appear before OK without
+changing the document. Fully captured default attributes do not overwhelm the summary. This
+covers checking the sampled and redefined settings in the styles tutorial (2:45 and 5:15).
+ Typography now starts and resets with the Control panel and named panel groups along the right
+ edge, including Paragraph/Paragraph Styles and Character/Character Styles. It does not open
+ Properties or a Styles flyout over the new page. This matches the available panels at 0:05–0:15
+ in [Jessica Garrity's styles tutorial](https://www.youtube.com/watch?v=pG9JkAPLgs8).
+ CC Libraries and a separate Story panel are absent; these are not needed for the tutorial's
+ style operations. The flyout tabs and detailed controls remain separate UI parity work.
| Work | Opus 5.5 h |
|---|---|