Floating terminal should be at top#9420
Conversation
Raise the floating terminal panel from z-30 to z-45 so it sits above notification cards (z-40) but below the modal layer (z-50), preventing notifications from burying the terminal. Raise the toggle button to z-46 to keep it clickable where it overlaps the panel.
📝 WalkthroughWalkthroughThe floating terminal panel’s stacking class changed from 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
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.
🧹 Nitpick comments (1)
src/renderer/src/components/floating-terminal/FloatingTerminalPanel.test.tsx (1)
803-806: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winCover the toggle’s stacking contract too.
This test protects the panel layer but not the accompanying
z-[46]toggle change; add an assertion for the toggle/menu wrapper so a regression could not make the overlapping control unclickable.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: d3895bce-6001-4ac6-9333-062564ba8adf
📒 Files selected for processing (3)
src/renderer/src/components/floating-terminal/FloatingTerminalPanel.test.tsxsrc/renderer/src/components/floating-terminal/FloatingTerminalPanel.tsxsrc/renderer/src/components/floating-terminal/FloatingTerminalToggleButton.tsx
Summary
Describe the user-visible change.
Screenshots
No visual change.Testing
pnpm lintpnpm typecheckpnpm testpnpm buildAI Review Report
Summarize the code review you ran with your AI coding agent. Include the main risks it checked, what it flagged, and what you changed or verified as a result.
Confirm that the review explicitly checked cross-platform compatibility for macOS, Linux, and Windows, including shortcuts, labels, paths, shell behavior, and any Electron-specific platform differences touched by this PR.
Security Audit
Provide a basic security audit summary from your AI coding agent. Call out any input handling, command execution, path handling, auth, secrets, dependency, or IPC risks that were reviewed, plus any follow-up needed.
Notes
Call out any platform-specific behavior, risks, or follow-up work.