[feat]: Create `<pf-v6-slider>` element
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- html, react, typescript
- Área
- accessibility, design, frontend, testing
Línea de trabajo
Start with .claude/ADVICE.md and the @patternfly/react-core Slider API, then compare the PatternFly v6 Slider reference with the listed FACE and ARIA requirements. Done means the element, demos, public API and accessibility tests are complete, form submission works, reviews and linters pass, and a changeset is added for staging/pfv6.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
Create `` to implement the PatternFly v6 Slider component.
Range slider input with optional discrete steps, custom labels, and value display.
Prior Art
| Source | Element | Status |
|---|---|---|
| PFE v4 | -- | -- |
| cem | -- | -- |
| cockpit | -- | -- |
| chickadee | `` | Exists |
Notes
- Implement as a Form-Associated Custom Element (FACE) using `ElementInternals`
- Use ARIA IDL attributes for cross-root ARIA (Baseline 2025)
Requirements
- MUST implement PFv6 visual designs
- MUST provide end-user feature parity with `@patternfly/react-core` Slider
- MUST participate in native form submission via FACE
- 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 `value`, `min`, `max`, `step` - map to standard range attributes
- React `isDisabled` - map to `disabled` attribute
- React `isInputVisible` - shows a numeric input alongside the slider for precise value entry; map to `show-input` attribute
- React `inputAriaLabel` - accessible label for the numeric input
- React `hasTooltipOverThumb` - shows current value tooltip above the drag handle; map to `show-tooltip` attribute
- React `SliderStepObject`: `{ value, label, isLabelHidden, tick }` - custom step marks; consider `steps` JSON attribute or `` sub-elements
- React `areCustomStepsContinuous` - whether slider snaps to defined steps or is continuous between them
- Use native `` as the FACE element; FACE wraps for form participation
- Custom thumb and track styling via CSS custom properties and shadow parts (native range is hard to style uniformly)
Checklist
Implementation
- API per `.claude/ADVICE.md`
- CSS uses v6 tokens, logical properties, nesting
- `@summary` and JSDoc on element class
- `formAssociated = true` and `ElementInternals` for form participation
- Form submission tested
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)
- `a11ySnapshot` assertions
- Form submission test
Reviews
- `/review-api` passes
- `/review-demos` passes
- `/review-a11y` passes
- `eslint` and `stylelint` pass
Ship
- Add changeset
- PR targets `staging/pfv6` (NOT `main`)
- 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