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

Aberta
#2,777 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@alex-fedotyev já está trabalhando nisso.

Desde 3/8/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

#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.

Linguagem predominante
TypeScript
Estrelas
10.1k
Forks
527
Merge médio
1d 20h
PRs com merge (30d)
186

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ClickHouse/ClickStack

Todas as issues de ClickHouse/ClickStack

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.