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

未關閉
#2,777 0 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@alex-fedotyev 已經在處理了。

開始於 2026年8月3日。

評估

這個 Issue 還沒有評估資料。

描述

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

主要語言
TypeScript
星號
10.1k
分支
527
平均合併
1 天 20 小時
30 天內合併 PR
186

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ClickHouse/ClickStack 的其他 Issue

查看 ClickHouse/ClickStack 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。