[Feature] brushX: a transient drag-range mode
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- data-visualization
Línea de trabajo
Start in packages/charts-core/src/interaction-brush.ts: the controlled range option (around lines 56-66), the always-built start and end handles (lines 216 and 226), and the blank-click zero-width commit (lines 408-421). The new opt-in mode needs a design decision first, since the option shape and its interaction with pending PR #162 are unsettled. Done means preview events fire during drag, one commit fires on release, and the range resets on pointer leave or cancel.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
A line or area chart should keep hover tooltip and crosshair, and also let the user press-drag to get an unsnapped x range. The range should exist only while the button is held. brushX cannot do this: its range is persistent and has handles.
rangeis a controlled value with no option to make it transient (interaction-brush.ts:56-66).- Start and end handles are always built (interaction-brush.ts:216, interaction-brush.ts:226).
- A blank click commits a zero-width range (interaction-brush.ts:408-421).
Expected
An opt-in mode such as { persistent: false, handles: false }: preview events while dragging, one commit on release, then the range resets (also on pointer leave or cancel). Idle hover can use hover: 'passthrough' once #162 lands.
The docs could also link the existing application-owned route (pointer: false with interaction.resolvePointer and setControlledFocus) from the brush docs (interactions-and-selections.md:447-451, interactions-and-selections.md:370-374).
Related
PR #162 fixes hover focus being cleared while brushX is mounted. Nothing covers the transient mode.
- Lenguaje dominante
- TypeScript
- Estrellas
- 819
- Forks
- 49
- Merge medio
- 12 h 9 min
- PR fusionados (30 d)
- 6
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 TanStack/charts
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Renderer treats a sub-pixel width difference as a resize, which cancels the `motion()` entranceAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
TanStack/charts#182 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
brushX with `values` can shorten the selection range when it’s dragged to the plot edgePosiblemente ocupada @andersk la tomó hace 6 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 42/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 57/100
Los mantenedores suelen responder en 1 día
Todos los issues de TanStack/charts
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
area:cowork area:desktop documentation enhancement platform:macos
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
anthropics/claude-code#101720 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
apache/rocketmq-dashboard#6610 ·
Los mantenedores suelen responder en 3 días
-
Add: MS NOWAbiertocheck:passed streams:add
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Global update drops overrideAccess, so Local API updateGlobal fails filterOptions validation (3.90 regression)Posiblemente ocupada @PINYOPATTANAWASANPORN la tomó hoy. Abiertoarea: core Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
payloadcms/payload#18674 · 1 comentario ·
Los mantenedores suelen responder en 1 día