fix:change-version modal ui#8735
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughCollection version styling now uses tighter spacing, explicit flex alignment, full-width sizing, and fixed heights for current-value and new-version input elements. ChangesCollection version layout
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@packages/bruno-app/src/components/Sidebar/Collections/Collection/ChangeCollectionVersion/StyledWrapper.js`:
- Around line 54-58: Update the version container styling in the
ChangeCollectionVersion styled wrapper to use min-height: 28px instead of a
fixed height, allowing long versions wrapped by overflow-wrap: anywhere to
expand vertically without overlapping the preview row.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: b688bd01-e8f2-4aa9-8761-606bac29827c
📒 Files selected for processing (1)
packages/bruno-app/src/components/Sidebar/Collections/Collection/ChangeCollectionVersion/StyledWrapper.js
| display:flex; | ||
| align-items:center; | ||
| justify-content:flex-start; | ||
| width: 100%; | ||
| height:28px; |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Allow long current versions to expand vertically.
overflow-wrap: anywhere allows a long existing version to wrap, but the new fixed height: 28px keeps the container at one line. A long value can therefore overflow into the preview row and create visual overlap. Prefer min-height: 28px (or an explicit truncation strategy) so wrapped values remain readable.
Suggested fix
.current-value {
display: flex;
align-items: center;
justify-content: flex-start;
width: 100%;
- height: 28px;
+ min-height: 28px;📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| display:flex; | |
| align-items:center; | |
| justify-content:flex-start; | |
| width: 100%; | |
| height:28px; | |
| display:flex; | |
| align-items:center; | |
| justify-content:flex-start; | |
| width: 100%; | |
| min-height:28px; |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In
`@packages/bruno-app/src/components/Sidebar/Collections/Collection/ChangeCollectionVersion/StyledWrapper.js`
around lines 54 - 58, Update the version container styling in the
ChangeCollectionVersion styled wrapper to use min-height: 28px instead of a
fixed height, allowing long versions wrapped by overflow-wrap: anywhere to
expand vertically without overlapping the preview row.
Description
UI changes for Change Version Modal
Contribution Checklist:
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.

Before:
After:

Publishing to New Package Managers
Please see here for more information.
Summary by CodeRabbit