Skip to content

Remove the font picker and the theme colour and font fields - #1626

Merged
quanvu309 merged 1 commit into
mainfrom
t3/remove-workspace-font-controls
Nov 24, 2026
Merged

quanvu309 merged 1 commit into
mainfrom
t3/remove-workspace-font-controls

Conversation

@quanvu309

Copy link
Copy Markdown
Collaborator

Summary

Two human controls go, per the owner's lean-workspace decision (2026-11-24, audit rows 61, 62, 76). An agent keeps both.

 Design panel · Text
   Text style        (a named style: the way a person sets type)
-  Font              (free-text family field + list)
   Weight  Size
   B I U S · align · list

 Slide panel · Template style
-  edit button, hover, dialog { 12 theme colours, heading font, body font }
+  readout: name, colours, heading / body fonts (no box, nothing to open)

Agent path, unchanged: set font, deck colors.<token>, deck fonts.heading|body. A saved font or theme paints exactly as before.

Deleted with them: the text-field control and its kind, the face-fallback hook, the words desc, templateStyle panel section and copy, themeColorWrites, fontNames, the showTemplateColors picker flag, the slider icon, the look states design-theme, design-text-fonts and design-weight-family-switch, the control-text spec. chart-theme-writes now holds only chart data, so it is chart-data-writes. blur, innerShadow and the font and theme fields are declined for a person in agent-values-seen, so the scoreboard's P5 reads 0 still open.

Surfaces touched: design panel (text section, Template style card), agent tools (proved, unchanged), canvas and filmstrip paint (unchanged, saved fonts kept). Not touched: undo and replay, PowerPoint import and export.

Before / after

Annotated before and after: Design panel, text layer; Design panel, slide, Template style

main this PR
main: Design panel, text layer this PR: Design panel, text layer
main: Design panel, slide, Template style this PR: Design panel, slide, Template style

Read as a design: the text section now goes from Text style straight to Weight and Size, with the same row gaps as before and no gap where Font was. The Template style card lost its slider button and its box, because a box with nothing behind it reads as a field. It sits on the same left edge as the controls below it, and the section below moved up by the card's padding only.

Evidence

  • Before: the Design panel had a Font field; Template style opened a dialog with twelve swatches and two font fields.
    After: neither exists. editor-design.spec asserts the card has no button and a click opens no dialog. agent-owns-fonts-and-theme.test.ts proves the agent path:
text panel for a words layer  -> fields include style, weight; not font
agent set font "Georgia"      -> span font Georgia, panel and painter read it back
agent deck colors + fonts     -> theme colours and heading/body change, text styles untouched
layer saved with font Georgia -> still shown as Georgia
  • Unit: apps/web/src, doom, mcp, fonts all pass (277 files). Browser: editor-design, control-*, design-states, design-detectors pass (55). pnpm dead-code 0, pnpm gate passed.
  • Net: 47 files, +139 / -582.

Merge Danger

Door: two-way

A person loses the free-text font field and the theme dialog. An agent still sets both, and saved decks are not rewritten.

Blast Radius: design panel

verify-airdesign before-after fails at its last step when the base run lives in a scratch tree (the stop is refused as foreign). The images came out before it failed; the base and head runs were stopped by hand.

@github-actions github-actions Bot added editor Touches the editor: canvas, slides, export and their screens document Touches edit order, the engine, the catalog or sync verify Touches the verify-airdesign skills or journeys labels Nov 24, 2026
@quanvu309
quanvu309 merged commit e5b01d6 into main Nov 24, 2026
22 checks passed
@quanvu309
quanvu309 deleted the t3/remove-workspace-font-controls branch November 24, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

document Touches edit order, the engine, the catalog or sync editor Touches the editor: canvas, slides, export and their screens verify Touches the verify-airdesign skills or journeys

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant