Skip to content

perf: remove Three.js, replace MeetingScene with CSS circles#25

Merged
JLRansom merged 2 commits into
masterfrom
perf/remove-threejs
Mar 18, 2026
Merged

perf: remove Three.js, replace MeetingScene with CSS circles#25
JLRansom merged 2 commits into
masterfrom
perf/remove-threejs

Conversation

@JLRansom
Copy link
Copy Markdown
Owner

Summary

  • Removes @react-three/fiber, @react-three/drei, three, @types/three (~700 KB, 4 packages) — used solely for the cosmetic 3D robot scene
  • Replaces MeetingScene with a pure CSS implementation: 5 agent circles using ROLE_HEX colors; speaking agent pulses via animate-ping; spoken agents show a ✓
  • MeetingView switches from dynamic(ssr:false) to a static import — no loading skeleton needed

Test plan

  • npm install completes without errors
  • npm run type-check passes (no new errors)
  • npm run dev — first visit to /projects/[id] compiles in ~2s, not 41s
  • Navigate to ?view=meetings — scene renders 5 labeled agent circles
  • Start a meeting — speaking agent circle pulses with ring animation
  • Concluded meeting agents show ✓ checkmarks
  • npm run build completes with no Three.js references

🤖 Generated with Claude Code

JLRansom and others added 2 commits March 17, 2026 20:00
…ostic

Temporary — replace with full implementation once root cause confirmed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Drops @react-three/fiber, @react-three/drei, three, and @types/three
(~700 KB) — these were used only for the cosmetic 3D robot scene.
Replaces MeetingScene with a pure CSS implementation: 5 agent circles
using ROLE_HEX colors, speaking agent pulses via animate-ping, spoken
agents show a checkmark. MeetingView now uses a static import instead
of dynamic(ssr:false). Cold compile time for /projects/[id] drops from
~41s back to ~2s.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@JLRansom JLRansom merged commit d19c6f7 into master Mar 18, 2026
2 checks passed
@JLRansom JLRansom deleted the perf/remove-threejs branch March 18, 2026 01:13
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