Filter grouping support to DataViewFilters
Maintainer thường phản hồi trong vòng 2 ngày
@katarinazaprazna đang làm issue này rồi.
Từ ngày 20/11/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Overview
Insights Inventory binds filters from multiple backend services (Inventory, Advisor, Vulnerability) in the same toolbar. There's no way to communicate to users which filter belongs to which service when using the flat attribute dropdown. Inventory needs the Menu's titled groups of items functionality to be accessible from data-view
Currently, they're using a custom component of DataViewFilters to work around this. The goal is to get the requested changes merged so Inventory can delete their fork
Proposed API
Proposed API (purely additive - all new props are optional):
interface DataViewFilterGroup {
id: string;
label: React.ReactNode;
filterIds: string[]; // filterIds belonging to this group, in display order
}
// added to DataViewFiltersProps:
groups?: DataViewFilterGroup[];
groupLabelHeadingLevel?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; // default 'h3'
ungroupedPosition?: 'start' | 'end'; // default 'start'
Non-breaking requirement: When groups is omitted, the output must be byte-identical to today. No existing consumer can be affected. This is verifiable against PF's own existing snapshot tests - if a snapshot moves, the patch is wrong.
Reference ticket from Insights Inventory: https://redhat.atlassian.net/browse/RHINENG-34064
Acceptance criteria
- Existing consumers passing no groups see no change in behaviour or DOM
- Attribute menu shows a labelled heading per group, in groups array order
- Dividers render between groups, not before the first
- A group whose filterIds match no children is dropped entirely
- A filterId listed in two groups appears only in the first
- Filters not listed in any group render at ungroupedPosition
- groupLabelHeadingLevel controls the heading element (default h3 — h1 is wrong inside a dropdown)
- Ngôn ngữ chính
- TypeScript
- Star
- 4
- Fork
- 21
- Merge trung bình
- 4 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của patternfly/react-data-view
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
patternfly/react-data-view#692 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
DataViewFilters: MenuToggle for filter category selector has no accessible nameCó thể đã có người làm @aloktomarr đã nhận 117 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
patternfly/react-data-view#680 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
patternfly/react-data-view#662 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
patternfly/react-data-view#676 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Consistency: Add chip toolbar buttons to all DataView filters to match TreeViewFilterCó thể đã có người làm @aloktomarr đã nhận 117 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
patternfly/react-data-view#646 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của patternfly/react-data-view
Issue tương tự
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offersĐang mởcatalog provider provider-compatibility
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
lidge-jun/opencodex#9037 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Project submission: xmcp DocsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
slavakurilyak/awesome-ai-agents#1005 ·
-
kind/bug triage/unresolved
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
Maintainer thường phản hồi trong vòng 1 ngày
-
effort:S P3 refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
nightscout/nocturne#3735 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
wpilibsuite/systemcore-blocks-interface#641 ·
Maintainer thường phản hồi trong vòng 2 ngày