perf(app): remove session progress whip bar#275
Conversation
Removes the top progress bar in the session header. The bar used a clip-path infinite animation with `will-change: clip-path`, which forced a permanent compositor layer per active session. Sidebar and header spinners remain as the working indicators.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (2)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (12)
📝 WalkthroughWalkthroughRemoves session progress bar functionality by deleting CSS animations and component styles from the stylesheet, and eliminating progress tracking logic, state management, resize-observer, and related UI rendering from the message-timeline component. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
Remove the whip progress bar at the top of the session header. Sidebar session indicator and header spinner remain as the working indicators.
Why
The whip bar used a
clip-pathinfinite CSS animation withwill-change: clip-path, which forces a permanent compositor layer per active session and keeps GPU work alive whenever a session is in the running state. It is also redundant with the sidebar dot/spinner and the spinner next to the title, so removing it reduces visual noise without losing any signal. Same class of cause as #262 (sustained idle GPU/CPU from infinite session animations).Related Issue
No tracked issue. Follow-up to #262.
How To Verify
Manual check performed:
bun run dev:desktop, opened a session, sent a message that triggered an LLM turn.document.querySelector('[data-component="session-progress"]')returnsnullwhile a session is running.Screenshots or Recordings
Not included. Pure removal of an animated element; verified via DOM check and manual observation.
Checklist
dev, and my PR title and commit messages use Conventional Commits in EnglishSummary by CodeRabbit