Filter grouping support to DataViewFilters
Mantenedores costumam responder em até 2 dias
@katarinazaprazna já está trabalhando nisso.
Desde 20/11/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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)
- Linguagem predominante
- TypeScript
- Estrelas
- 4
- Forks
- 21
- Merge médio
- 4d 9h
- PRs com merge (30d)
- 15
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de patternfly/react-data-view
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
patternfly/react-data-view#692 ·
Mantenedores costumam responder em até 2 dias
-
DataViewFilters: MenuToggle for filter category selector has no accessible nameTalvez já em andamento @aloktomarr assumiu há 117 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
patternfly/react-data-view#680 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
patternfly/react-data-view#662 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
patternfly/react-data-view#676 · 2 comentários ·
Mantenedores costumam responder em até 2 dias
-
Consistency: Add chip toolbar buttons to all DataView filters to match TreeViewFilterTalvez já em andamento @aloktomarr assumiu há 117 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 65/100
patternfly/react-data-view#646 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
Todas as issues de patternfly/react-data-view
Issues semelhantes
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offersAbertacatalog provider provider-compatibility
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
lidge-jun/opencodex#9037 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 62/100
slavakurilyak/awesome-ai-agents#1005 ·
-
kind/bug triage/unresolved
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 60/100
Mantenedores costumam responder em até 1 dia
-
effort:S P3 refactor
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
nightscout/nocturne#3735 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
wpilibsuite/systemcore-blocks-interface#641 ·
Mantenedores costumam responder em até 2 dias