Skip to content

fix(openapi): tweak Create Spec modal dropdown height and active segment - #9529

Merged
bijin-bruno merged 2 commits into
usebruno:mainfrom
adwait-bruno:fix/modalfix2
Oct 14, 2026
Merged

bijin-bruno merged 2 commits into
usebruno:mainfrom
adwait-bruno:fix/modalfix2

Conversation

@adwait-bruno

@adwait-bruno adwait-bruno commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Description

REF:BRU-4750

Problem

The Active segment colour was wrong
The dropdown did not completely overlap the browse button.

Fix

Changed the bg colour to bg.base.
Increased the max height of the dropdown.

Screenshots

Before:
image

After:
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 collection dropdown’s maximum height, allowing more options to appear before scrolling.
    • Updated the active segment’s background to a slightly darker shade of the theme’s base background.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: usebruno/bruno/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3d6f1702-fda1-4715-8d25-a7201b8292cd
📥 Commits

Reviewing files that changed from the base of the PR and between 4d66cbc and c99e789.

📒 Files selected for processing: 1
  • packages/bruno-app/src/components/Sidebar/ApiSpecs/CreateApiSpec/StyledWrapper.js
🚧 Files skipped from review as they are similar to previous changes: 1
  • packages/bruno-app/src/components/Sidebar/ApiSpecs/CreateApiSpec/StyledWrapper.js

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The Create API Spec view now allows a taller collection dropdown. Its active segment uses a slightly darkened version of the base theme background.

Changes

Create API Spec selector updates

Layer / File(s) Summary
Selector presentation
packages/bruno-app/src/components/Sidebar/ApiSpecs/CreateApiSpec/CollectionSourceFields/index.js, packages/bruno-app/src/components/Sidebar/ApiSpecs/CreateApiSpec/StyledWrapper.js
The collection dropdown maximum height changed from max-h-40 to max-h-44. The active segment background now uses the base theme background darkened by 0.03.

Priority: ⬇️ Low

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

Change: Bug fix

Merge Risk: ⚪ Minimal · up to c99e7

No actionable issue is identified that would prevent merging after normal checks.

Pre-merge checks: Passed 5
Passed Passed checks: 5 passed
Check name Status Explanation
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
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.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title accurately and concisely describes both changes: the Create Spec modal dropdown height and the active segment styling.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A taller menu opens wide
A darker shade rests inside
The selector keeps its place
Theme colors set the pace
Small changes shape the view

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

arpit-bruno
arpit-bruno previously approved these changes Oct 13, 2026
@bijin-bruno
bijin-bruno merged commit 6363e36 into usebruno:main Oct 14, 2026
16 of 35 checks passed
sid-bruno pushed a commit that referenced this pull request Oct 22, 2026
…ent (#9529)

* fix(openapi): tweak Create Spec modal dropdown height and active segment

* Update packages/bruno-app/src/components/Sidebar/ApiSpecs/CreateApiSpec/StyledWrapper.js

Co-authored-by: Bijin A B <[email protected]>

---------

Co-authored-by: sachin-thakur-bruno <[email protected]>
Co-authored-by: Bijin A B <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants