design: redesign call center and more#331
Conversation
✅ Deploy Preview for hoppdocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📝 WalkthroughWalkthroughThis PR integrates call functionality into the main sidebar, consolidates room link management into CallCenter, and unifies shortcut tooltip display. The backend tray notification is fixed to run on the main thread. Rooms tab is refactored to remove duplicate room-link logic. ChangesCall Tab & Room Management Integration
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
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)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@tauri/src/windows/main-window/tabs/Rooms.tsx`:
- Around line 352-357: The Tailwind v4 deprecation: replace the removed
focus-visible:ring-opacity-20 utility in the Input's className with the
color/opacity slash syntax; update the class string on the Input component (the
element using setSearchQuery and placeholder "Search rooms") to use
focus-visible:ring-blue-300/20 instead of focus-visible:ring-opacity-20 so the
focus ring keeps the same color and opacity.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 16c50f0e-8578-4ef9-b126-ad12bcc9aaa9
📒 Files selected for processing (8)
tauri/src-tauri/src/main.rstauri/src/App.csstauri/src/components/sidebar/Sidebar.tsxtauri/src/components/ui/call-center.tsxtauri/src/components/ui/tooltip.tsxtauri/src/store/store.tstauri/src/windows/main-window/app.tsxtauri/src/windows/main-window/tabs/Rooms.tsx
| <Input | ||
| type="text" | ||
| onChange={(e) => setSearchQuery(e.target.value)} | ||
| placeholder="Search rooms" | ||
| className="pl-8 w-full focus-visible:ring-opacity-20 focus-visible:ring-2 focus-visible:ring-blue-300" | ||
| /> |
There was a problem hiding this comment.
Deprecated ring-opacity-* utility in Tailwind v4.
The focus-visible:ring-opacity-20 class was removed in Tailwind v4. Use the slash syntax on the color utility instead.
Proposed fix
<Input
type="text"
onChange={(e) => setSearchQuery(e.target.value)}
placeholder="Search rooms"
- className="pl-8 w-full focus-visible:ring-opacity-20 focus-visible:ring-2 focus-visible:ring-blue-300"
+ className="pl-8 w-full focus-visible:ring-2 focus-visible:ring-blue-300/20"
/>📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| <Input | |
| type="text" | |
| onChange={(e) => setSearchQuery(e.target.value)} | |
| placeholder="Search rooms" | |
| className="pl-8 w-full focus-visible:ring-opacity-20 focus-visible:ring-2 focus-visible:ring-blue-300" | |
| /> | |
| <Input | |
| type="text" | |
| onChange={(e) => setSearchQuery(e.target.value)} | |
| placeholder="Search rooms" | |
| className="pl-8 w-full focus-visible:ring-2 focus-visible:ring-blue-300/20" | |
| /> |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@tauri/src/windows/main-window/tabs/Rooms.tsx` around lines 352 - 357, The
Tailwind v4 deprecation: replace the removed focus-visible:ring-opacity-20
utility in the Input's className with the color/opacity slash syntax; update the
class string on the Input component (the element using setSearchQuery and
placeholder "Search rooms") to use focus-visible:ring-blue-300/20 instead of
focus-visible:ring-opacity-20 so the focus ring keeps the same color and
opacity.
Redesign call-center, as it was fixed on top and with more participants it was pushing the content down.
Also:
CleanShot.2026-06-11.at.22.18.08.mp4
Summary by CodeRabbit
New Features
Improvements
Style