[feat]: Create `<pf-v6-drag-drop>` element
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 30/100
- Tipo de issue
- Funcionalidade
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Pouca atividade
- Stack de tecnologia
- typescript
- Domínio
- accessibility, design, frontend, testing, web-dev
Direção de pesquisa
Start by reading .claude/ADVICE.md and the @patternfly/react-drag-drop reference, then resolve whether this should be an element, controller, mixin, or native drag-and-drop implementation. Define the public API and accessibility behavior before building the demos and tests. Done means visual and feature parity, documented API coverage, accessibility checks, review commands, linting, a changeset, and a PR targeting staging/pfv6.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
Create a <pf-v6-drag-drop> web component implementing the PatternFly v6 Drag and drop component (@patternfly/react-drag-drop).
Drag-and-drop reordering for lists and multi-zone transfers.
Prior Art
| Source | Element | Status |
|---|---|---|
| PFE v4 | -- | -- |
| cem | -- | -- |
| cockpit | -- | -- |
| chickadee | -- | -- |
Notes
Consider whether this should be an element or a controller/directive that enhances existing list elements. The web component approach may differ significantly from the React HOC/context pattern.
Requirements
- MUST implement PFv6 visual designs
- MUST provide end-user feature parity with
@patternfly/react-drag-drop - MAY adjust element API to leverage web platform strengths
- SHOULD maintain CSS custom property theming compatibility
- SHOULD expose useful CSS shadow parts
Element-specific considerations
- React uses
@dnd-kitlibrary; web component may use native HTML5 drag-and-drop or@dnd-kitwrapped in a Lit controller - Architectural decision required: element vs Lit controller/mixin vs native drag events
- Sub-components:
DragDropSort(single list reorder),DraggableObject,DragDropContainer(multi-zone),DroppableObject itemsprop for data-driven approach;onDropevent fires with new order- Keyboard reorder: Space to grab, Arrow keys to move, Space/Enter to drop, Escape to cancel
- ARIA:
aria-grabbed(deprecated but still used),aria-dropeffect; announce position viaaria-live - Dragging visual: ghost element, drop zone highlight
pf-v6-data-listdrag variant can use this controllerprefers-reduced-motion: skip animation, still support keyboard reorder- Touch support:
touchstart/touchmove/touchendor pointer events
Checklist
Implementation
- Architectural decision: element vs controller vs native events
- API per
.claude/ADVICE.md - CSS uses v6 tokens, logical properties, nesting
-
@summaryand JSDoc on element class
Demos
- Demos match patternfly.org naming/structure
- CSS custom properties match computed styles from patternfly.org (Chrome MCP)
- Visual parity verified via Chrome MCP
Tests
- Public API covered (attributes, properties, events, slots)
-
a11ySnapshotassertions
Reviews
-
/review-apipasses -
/review-demospasses -
/review-a11ypasses -
eslintandstylelintpass
Ship
- Add changeset
- PR targets
staging/pfv6(NOTmain)
- Linguagem predominante
- TypeScript
- Estrelas
- 397
- Forks
- 109
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um 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/patternfly-elements
-
[feat]: support non-element `ReactiveControllerHost` in pfe-core controllersTalvez livre de novo @bennypowers assumiu há 30 dias e não há nenhum pull request aberto. Abertabreaking change feature needs discussion
patternfly/patternfly-elements#3166 · 1 responsável ·
-
accessibility feature priority: low
Dificuldade 4/5 1-2 dias Facilidade para iniciantes 57/100
patternfly/patternfly-elements#3165 · 3 comentários ·
-
[bug] ssr-shims.js uses deprecated globalThis.litSsrCallConnectedCallbackTalvez já em andamento @zeroedin assumiu há 106 dias. Abertabug
patternfly/patternfly-elements#3158 · 1 responsável ·
-
chore: evaluate removing isolatedDeclarations from tsconfigTalvez livre de novo @bennypowers assumiu há 196 dias e não há nenhum pull request aberto. Aberta
patternfly/patternfly-elements#3136 · 1 comentário · 1 responsável ·
-
chore: update docs scaffolding for v6 elementsTalvez livre de novo @zeroedin assumiu há 196 dias e não há nenhum pull request aberto. Abertadocs
patternfly/patternfly-elements#3131 · 1 responsável ·
Todas as issues de patternfly/patternfly-elements
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