feat: [data-view] forward popup position props and Search leadingIcon - #931
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 23 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (11)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughSearch now accepts a custom leading icon or Sequence Diagram(s)sequenceDiagram
participant Caller
participant DisplayControls
participant PopoverContent
participant Positioner
Caller->>DisplayControls: Set align, side, and sideOffset
DisplayControls->>PopoverContent: Forward positioning props
PopoverContent->>Positioner: Pass sideOffset and remaining props
Suggested reviewers: Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to This change adds optional positioning props to DataView Filters and DisplayControls and a leadingIcon option to Search, with existing defaults preserved. No merge-blocking risk is evident. Security Architecture ReviewSecurity architecture risk: ⚪ Minimal · up to The changes expose presentation options through existing UI components. The inspected changes preserve state-update behavior and popup controls, with no material security risk introduced or worsened. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
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 |
commit: |
…-props # Conflicts: # packages/raystack/components/data-view/__tests__/data-view.test.tsx
Summary
DataView.Filtersacceptsalign,side, andsideOffsetand passes them to the add-filterMenu.Content. The defaults are unchanged (start,bottom, 4px).DataView.DisplayControlsaccepts the same three props and passes them to itsPopover.Content.alignstill defaults toend.SearchacceptsleadingIcon. A node replaces the search icon, andnullhides it.DataView.SearchandDataTable.Searchget the prop throughSearchProps.DataView.Filtersprops table, the position props onDataView.DisplayControls, and a "Leading icon" section with a demo on the Search page.Closes #848