Repository navigation
Version edit modal minor UI fixes - #8549
Conversation
WalkthroughUpdates version text display in Collection Overview Info to detect text overflow and show a tooltip with truncation styling, and revises "Not Set" rendering and styling in ChangeCollectionVersion's current version and preview sections. ChangesCollection version UI updates
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
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/index.js`:
- Line 132: The no-version case in ChangeCollectionVersion is only covered for
the current version label, so extend the existing `shows "Not Set" for a yml
collection that has no version yet` test to also assert the
`change-version-preview` content. Use the `ChangeCollectionVersion` component
and its preview selector so the `(Not Set)` state is verified alongside
`change-version-current`.
🪄 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: a4bfde51-e808-416d-a9a8-8792e2bfe1a5
📒 Files selected for processing (4)
packages/bruno-app/src/components/CollectionSettings/Overview/Info/StyledWrapper.jspackages/bruno-app/src/components/CollectionSettings/Overview/Info/index.jspackages/bruno-app/src/components/Sidebar/Collections/Collection/ChangeCollectionVersion/StyledWrapper.jspackages/bruno-app/src/components/Sidebar/Collections/Collection/ChangeCollectionVersion/index.js
Description
Issues Resolved
When collection version is not set and when I click on change in Overview, in the modal preview, it is displayed as “(none)-> “ instead of “Not Set->”
Collection version is truncated in Overview page when it has more characters.
https://usebruno.atlassian.net/browse/BRU-2545
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.
Publishing to New Package Managers
Please see here for more information.
Summary by CodeRabbit
New Features
Style