Skip to content

fix(mock-server): fix collapsed query params pane in mock response - #8957

Merged
utkarsh-bruno merged 1 commit into
usebruno:mainfrom
gopu-bruno:fix/mock-response-top-pane-height
Aug 13, 2026
Merged

utkarsh-bruno merged 1 commit into
usebruno:mainfrom
gopu-bruno:fix/mock-response-top-pane-height

Conversation

@gopu-bruno

@gopu-bruno gopu-bruno commented Aug 13, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Opening a mock response in vertical layout cut off the Query parameters table so only its title was visible. It now opens with enough height to show the Name/Value headers and first row without resizing.

Ref: BRU-4153

Problem

In vertical layout, the mock response panel didn't have enough room for the Query parameters section. Only the section title was visible, the column headers and rows were clipped, so users had a hard time telling whether the query parameters section exists.

Fix

Increased the minimum height of the top pane from 150px to 210px. Only affects vertical layout, horizontal layout is unchanged.

Screenshots

Before After
image image

Contribution Checklist:

  • I've used AI significantly to create this pull request
  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.
  • I've run the claude code review skill locally.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

Summary by CodeRabbit

  • Style
    • Increased the minimum height of the mock response panel’s top section for improved layout and readability.

@coderabbitai

coderabbitai Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 79ef2de6-6565-416f-a333-26d97d8097bf

📥 Commits

Reviewing files that changed from the base of the PR and between 9bdd81c and 8f9fb4b.

📒 Files selected for processing (1)
  • packages/bruno-app/src/components/MockServer/MockResponse/index.js

Walkthrough

The mock response layout increases the minimum top-pane height from 150px to 210px. This also raises the lower boundary for vertical pane resizing.

Changes

Mock response layout

Layer / File(s) Summary
Increase minimum top-pane height
packages/bruno-app/src/components/MockServer/MockResponse/index.js
MIN_TOP_PANE_HEIGHT increases from 150px to 210px.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Mergeability Score: ⚪ Minimal · up to 8f9fb

This localized UI adjustment gives the Query parameters section enough space in vertical layout without changing horizontal layout or introducing an actionable merge-blocking risk.

Possibly related PRs

Suggested reviewers: naman-bruno

Poem

The top pane rises high,
Two hundred ten pixels touch the sky.
The drag boundary follows in line,
Mock responses resize fine.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the mock response query parameters pane fix, which matches the primary change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@utkarsh-bruno
utkarsh-bruno merged commit e21c41d into usebruno:main Aug 13, 2026
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants