EDM-4156: Add divider to menu footer#693
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (2)
WalkthroughTwo select components now render PatternFly ChangesSelect Menu Divider Separators
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration. Comment |
jkilzi
left a comment
There was a problem hiding this comment.
Simple, correct visual improvement.
Watch — merge conflict with #692: #692 removes the MenuFooter from RepositorySelect.tsx entirely and moves the add action to FormSelect via the addAction prop. If #692 merges first, the RepositorySelect.tsx hunk in this PR becomes obsolete — only the FormSelect.tsx hunk stays relevant. Rebase after #692 and drop the RepositorySelect.tsx change.
Made-with: Cursor
c073ce8 to
18df8aa
Compare
Added divider both to the "Create catalog" and "Create repository"

Summary
Adds visual dividers to the footer action areas of shared select/menu components, improving separation between selectable options and “create” actions.
Areas Affected
libs/ui-components/
libs/ui-components/src/components/form/FormSelect.tsx: WhenaddActionis present, inserts aDividerabove the menu footer/button (e.g., “Create catalog”).libs/ui-components/src/components/form/RepositorySelect.tsx: Inserts aDividerabove the “Create repository” menu footer/button.Cross-Cutting Implications
Changes are isolated to the shared UI components library; no platform-specific app, auth proxy, packaging/container build, E2E tests, or CI configuration changes were made. The updated menu footer rendering applies anywhere these shared select components are used (e.g., across standalone and any other consumers of
libs/ui-components).