Skip to content

Use full pane width for Collection Settings editor tabs - #9549

Merged
bijin-bruno merged 3 commits into
usebruno:mainfrom
hippi345:bugfix/remove-max-width-constraints-collection-tabs
Nov 3, 2026
Merged

bijin-bruno merged 3 commits into
usebruno:mainfrom
hippi345:bugfix/remove-max-width-constraints-collection-tabs

Conversation

@hippi345

@hippi345 hippi345 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

BRU-4797

Description

Removes the fixed max-width: 800px from the Collection Settings tab wrappers so the editors use the full available pane width, matching the Protobuf tab.

Fixes #9538

Changes

Removed the 800px max-width from the StyledWrapper.js of these Collection Settings tabs:

  • Script
  • Tests
  • Vars
  • Auth
  • Presets
  • Headers

The Client Certificates tab was checked too. It has no max-width constraint; its fixed widths are only on form labels and inputs, which is intentional form layout, so it is unchanged.

CSS-only change (6 files, -10 lines). No behavior changes.

Testing

  • Built and ran a dev build with this change on Windows. Before, the Script and Tests editors wrapped at about 800px; after, they span the full pane width (screenshots below).
  • Vars, Auth, Presets and Headers have the same one-line change but were not checked visually.
  • Lint passes with no new errors. No unit tests added, since this is a styling-only change.

Screenshots

Script, before / after

Before:
bruno-9538-before-script

After:
bruno-9538-after-script

Tests, before / after

Before:
bruno-9538-before-tests

After:
bruno-9538-after-tests

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.

AI disclosure: the code change and this description were generated by a Cursor cloud agent. I reviewed the diff and verified the Script and Tests tabs in a local dev build before opening.

Summary by CodeRabbit

  • Style
    • Collection settings sections for authentication, headers, presets, scripts, tests, and variables no longer have an 800px maximum width. They can now use more of the available screen width.

…ditor width

- Remove 800px max-width from Script, Tests, Vars, Auth, Presets, Headers tabs
- All Collection Settings tabs now use full available pane width
- Provides consistent UI with Protobuf tab (already full width)
- Client Certificates tab already uses full width (no constraint to remove)
- Improves editing experience on wider screens

Fixes usebruno#9538
@coderabbitai

coderabbitai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 666ec9e and 62f90a6.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

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: 72960154-7c51-4a4a-a248-98ae6f668f57
📥 Commits

Reviewing files that changed from the base of the PR and between 23fcb63 and 6a8022c.

📒 Files selected for processing: 6
  • packages/bruno-app/src/components/CollectionSettings/Auth/StyledWrapper.js
  • packages/bruno-app/src/components/CollectionSettings/Headers/StyledWrapper.js
  • packages/bruno-app/src/components/CollectionSettings/Presets/StyledWrapper.js
  • packages/bruno-app/src/components/CollectionSettings/Script/StyledWrapper.js
  • packages/bruno-app/src/components/CollectionSettings/Tests/StyledWrapper.js
  • packages/bruno-app/src/components/CollectionSettings/Vars/StyledWrapper.js
💤 Files with no reviewable changes: 6
  • packages/bruno-app/src/components/CollectionSettings/Auth/StyledWrapper.js
  • packages/bruno-app/src/components/CollectionSettings/Presets/StyledWrapper.js
  • packages/bruno-app/src/components/CollectionSettings/Vars/StyledWrapper.js
  • packages/bruno-app/src/components/CollectionSettings/Headers/StyledWrapper.js
  • packages/bruno-app/src/components/CollectionSettings/Tests/StyledWrapper.js
  • packages/bruno-app/src/components/CollectionSettings/Script/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 pull request removes the max-width: 800px rule from six CollectionSettings styled wrappers: Auth, Headers, Presets, Script, Tests, and Vars. No other code changes appear in the diff.

Changes

CollectionSettings wrapper width

Layer / File(s) Summary
Remove 800px max-width rule
packages/bruno-app/src/components/CollectionSettings/{Auth,Headers,Presets,Script,Tests,Vars}/StyledWrapper.js
Each styled wrapper no longer sets max-width: 800px. No exported declarations change.

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

Change: Bug fix · Severity of issue fixed: Low

Suggested reviewers: helloanoop

Merge Risk: Minimal · previous review 6a802

The Collection Settings tabs can use the available pane width; no issue requiring a fix before merge is identified.

Pre-merge checks: Passed 3 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive The linked issue assessment could not be completed. Retry the assessment when the required review evidence is available.
Out of Scope Changes check Inconclusive The linked issue assessment could not be completed. Retry the assessment when the required review evidence is available.
Passed Passed checks: 3 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 0…
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: Collection Settings editor tabs now use the full available pane width.
Full details: Docstring Coverage

Explanation

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 0 files.

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

Eight hundred pixels, gone today,
The wrappers let the content stray.
Scripts stretch wide across the pane,
No more wrapping, lines remain.
Six small deletions, tidy and neat,
The layout now feels more complete.

@hippi345
hippi345 marked this pull request as ready for review October 15, 2026 03:07
@hippi345
hippi345 requested a review from a team October 15, 2026 03:07
@aditya-bruno

Copy link
Copy Markdown
Collaborator

Hey @hippi345 , thanks for the PR. I tested it and it works as expected. I'll pass it to the engineering team for review and update you here.

@pull-request-size pull-request-size Bot added size/XS and removed size/S labels Nov 2, 2026
@bijin-bruno
bijin-bruno merged commit 154932d into usebruno:main Nov 3, 2026
17 of 19 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.

Make Script, Client Certificates etc tabs use full available editor width

4 participants