Skip to content

Remove dead editor controls and use Doom transitions - #1628

Merged
quanvu309 merged 1 commit into
mainfrom
t3/remove-dead-code-decouple-present
Nov 24, 2026
Merged

quanvu309 merged 1 commit into
mainfrom
t3/remove-dead-code-decouple-present

Conversation

@quanvu309

Copy link
Copy Markdown
Collaborator

Summary

Remove the disabled Grid button and the editor controls that had no caller. Present now reads Doom's saved transition directly.

 Editor
 - disabled Grid button, unwired zoom toggles, providerless text-style edit
 Doom
 - slideLayout
 Present
 - PowerPoint transition adapter and playback paths Doom never emits
 + Doom transition kind and duration
 PowerPoint
 - unused package entry-point exports

Evidence

  • The sidebar regression test failed on the base because Grid rendered. It passes with the Home link and deck title still in place.
  • Full Vitest suites for web, Doom and PPTX passed across 377 files. 3,458 tests passed with one expected failure.
  • pnpm gate, pnpm typecheck and pnpm check:boundaries passed. pnpm dead-code found zero dead files and declarations.
  • Playwright passed 65 tests under the browser lock with four workers. Present played Fade, Push and Smart animate over painted slides, including delayed fonts. The design scan reached 250 states with zero findings.

Before / after

Annotated before and after: Editor sidebar

main this PR
main: Editor sidebar this PR: Editor sidebar

Merge Danger

Door · Two-way. Reverting the commit restores the control and exports.

Blast radius · Editor. The diff covers the filmstrip header, the canvas zoom menu, the Design panel's text-style picker, Present playback, and the PPTX package entry point. The removed Doom prop had zero writers.

Skipped

  • The chart-panel work edits editor-copy.ts. The protected PRs and chart work edit the Doom entry point, so the board deck fixture stays where its benchmark and browser test can read it.
  • Verification and browser specs still use the placeholder, toolbar and guide copy. Two document tests still use format.ts. The retained PPTX exports serve tests, scripts or the web copy.
  • PaintFill inlining overlaps design-copy.ts in the protected work. The web PPTX dependency and pack configuration stay in place while that import and the web paint-kind test need them.

@github-actions github-actions Bot added editor Touches the editor: canvas, slides, export and their screens pptx Touches PowerPoint import, export or the PowerPoint check verify Touches the verify-airdesign skills or journeys labels Nov 24, 2026
@quanvu309
quanvu309 merged commit 3391928 into main Nov 24, 2026
22 checks passed
@quanvu309
quanvu309 deleted the t3/remove-dead-code-decouple-present branch November 24, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

editor Touches the editor: canvas, slides, export and their screens pptx Touches PowerPoint import, export or the PowerPoint check verify Touches the verify-airdesign skills or journeys

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant