You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Firewall rules table: use + popup for overflow when there are too many targets/filters #2118
We sort of have that already. We take the first child and show it in the cell and put the rest in the popup. No rest, no popup. I wouldn't want to make it smarter than that because that logic about what to put in cell vs. popup seems pretty specific to each call site.
Activity
benjaminleonard commentedon Apr 8, 2024
Do we want to make this a generic cell component that can handle overflow + popup? We've got it in a few places.
david-crespo commentedon Apr 8, 2024
We sort of have that already. We take the first child and show it in the cell and put the rest in the popup. No rest, no popup. I wouldn't want to make it smarter than that because that logic about what to put in cell vs. popup seems pretty specific to each call site.
console/app/components/ListPlusCell.tsx
Lines 21 to 39 in 7383152