fix: response pane size when devtool open#6380
Conversation
WalkthroughThe changes introduce responsive layout behavior to the request panel. When the DevTools console toggles in vertical layout mode, the top pane height is dynamically managed—stored when opening and restored when closing. Additionally, icon sizing and spacing in the response placeholder adjust based on layout orientation. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)**/*.{js,jsx,ts,tsx}📄 CodeRabbit inference engine (CODING_STANDARDS.md)
Files:
🧬 Code graph analysis (2)packages/bruno-app/src/components/RequestTabPanel/index.js (3)
packages/bruno-app/src/components/ResponsePane/Placeholder/index.js (5)
🪛 Biome (2.1.2)packages/bruno-app/src/components/RequestTabPanel/index.js[error] 55-55: This hook is being called conditionally, but all hooks must be called in the exact same order in every component render. Hooks should not be called after an early return. For React to preserve state between calls, hooks needs to be called unconditionally and always in the same order. (lint/correctness/useHookAtTopLevel) [error] 77-77: This hook is being called conditionally, but all hooks must be called in the exact same order in every component render. Hooks should not be called after an early return. For React to preserve state between calls, hooks needs to be called unconditionally and always in the same order. (lint/correctness/useHookAtTopLevel) [error] 143-143: This hook is being called conditionally, but all hooks must be called in the exact same order in every component render. Hooks should not be called after an early return. For React to preserve state between calls, hooks needs to be called unconditionally and always in the same order. (lint/correctness/useHookAtTopLevel) ⏰ 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). (6)
🔇 Additional comments (1)
Comment |
Description
JIRA
Contribution Checklist:
Screen.Recording.2025-12-11.at.4.27.24.PM.mov
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.