[feat]: Create `<pf-v6-drag-drop>` element
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Tranquilo
- Stack tecnológico
- typescript
- Área
- accessibility, design, frontend, testing, web-dev
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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)
- Lenguaje dominante
- TypeScript
- Estrellas
- 397
- Forks
- 109
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de patternfly/patternfly-elements
-
[feat]: support non-element `ReactiveControllerHost` in pfe-core controllersQuizá libre de nuevo @bennypowers la tomó hace 30 días y no hay ningún pull request abierto. Abiertobreaking change feature needs discussion
patternfly/patternfly-elements#3166 · 1 asignado ·
-
accessibility feature priority: low
Dificultad 4/5 1-2 días Aptitud para principiantes 57/100
patternfly/patternfly-elements#3165 · 3 comentarios ·
-
[bug] ssr-shims.js uses deprecated globalThis.litSsrCallConnectedCallbackPosiblemente ocupada @zeroedin la tomó hace 106 días. Abiertobug
patternfly/patternfly-elements#3158 · 1 asignado ·
-
chore: evaluate removing isolatedDeclarations from tsconfigQuizá libre de nuevo @bennypowers la tomó hace 196 días y no hay ningún pull request abierto. Abierto
patternfly/patternfly-elements#3136 · 1 comentario · 1 asignado ·
-
chore: update docs scaffolding for v6 elementsQuizá libre de nuevo @zeroedin la tomó hace 196 días y no hay ningún pull request abierto. Abiertodocs
patternfly/patternfly-elements#3131 · 1 asignado ·
Todos los issues de patternfly/patternfly-elements
Issues similares
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offersAbiertocatalog provider provider-compatibility
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
lidge-jun/opencodex#9037 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Project submission: xmcp DocsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
slavakurilyak/awesome-ai-agents#1005 ·
-
kind/bug triage/unresolved
Dificultad 2/5 1-3 horas Aptitud para principiantes 60/100
Los mantenedores suelen responder en 1 día
-
effort:S P3 refactor
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nightscout/nocturne#3735 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
wpilibsuite/systemcore-blocks-interface#641 ·
Los mantenedores suelen responder en 2 días