External API v2 parity for time chart display settings (legend, tooltip, line style)

Abierto
#2,777 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@alex-fedotyev ya está trabajando en esto.

Desde el 3/8/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

#2776 adds three per-tile display settings for line/area time charts (showLegend, tooltipMode, lineInterpolation) on SharedChartSettingsSchema. That PR is app-side only: the v2 external API maps tile config by explicit per-display-type construction in packages/api/src/routers/external-api/v2/utils/dashboards.ts, so the new fields do not reach the external contract or the generated OpenAPI.

This tracks the external API parity follow-up:

  • Add the three fields to the v2 tile config mapping (the per-display-type construction in dashboards.ts) for the line display type.
  • Mirror them in the external API Zod schema (packages/api/src/utils/zod.ts) and the hand-written OpenAPI JSDoc so the generated spec includes them.
  • Add v2 round-trip tests (save then get) covering the three fields.
  • Update the customer-facing dashboard tile docs for the new options.

Depends on #2776.

Lenguaje dominante
TypeScript
Estrellas
10.1k
Forks
527
Merge medio
1 d 20 h
PR fusionados (30 d)
186

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ClickHouse/ClickStack

Todos los issues de ClickHouse/ClickStack

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.