Skip to content

chore(web): react-doctor cleanup — remove dead code and permanent will-change#36

Merged
PunGrumpy merged 3 commits into
mainfrom
chore/web-react-doctor-cleanup
Jul 26, 2026
Merged

chore(web): react-doctor cleanup — remove dead code and permanent will-change#36
PunGrumpy merged 3 commits into
mainfrom
chore/web-react-doctor-cleanup

Conversation

@PunGrumpy

Copy link
Copy Markdown
Owner

Summary

Full react-doctor triage pass on apps/web — score went from 84/100 to 100/100 (13 warnings resolved, each verified in code before fixing):

  • Remove 6 unreachable filesClaudeSession was orphaned when TerminalDemo switched to composing the diff/header/thinking/todo-list pieces directly (ae99bc5), taking claude-message, claude-permission, claude-prompt, claude-tool-call, and the unused claude-code icon with it.
  • Make ClaudeLogo internal to claude-header — only rendered inside that file, imported nowhere else.
  • Drop permanent will-change-transform from static badge connectors in hero.tsx / architecture.tsx — the dashed lines and dots never animate, so the GPU-promotion hint only wasted memory. The will-change in nav-buttons.tsx / changelog.tsx pairs with real active:scale transitions and is left untouched.

Test plan

  • npx react-doctor@latest --verbose → 100/100, no issues
  • bun x ultracite check passes
  • Pre-commit pipeline (build, tests, typecheck across all packages) passed on every commit

No changeset — only touches the private apps/web package.

🤖 Generated with Claude Code

PunGrumpy and others added 3 commits July 26, 2026 08:28
ClaudeSession was orphaned when TerminalDemo switched to composing the
diff/header/thinking/todo-list pieces directly, taking its four
sub-components and the unused claude-code icon with it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The component is only rendered inside claude-header itself; no module
imports it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The dashed connector lines and dots under the floating badges never
animate, so the permanent GPU-promotion hint only wasted memory.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docker-doctor Ready Ready Preview, Comment Jul 26, 2026 1:31am

@github-actions

Copy link
Copy Markdown
Contributor

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 791d142.

@PunGrumpy
PunGrumpy merged commit bc2be2d into main Jul 26, 2026
9 checks passed
@PunGrumpy
PunGrumpy deleted the chore/web-react-doctor-cleanup branch July 26, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant