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

Open
#2,777 0 comments 0 reactions 1 assignee View on GitHub

@alex-fedotyev is already working on this.

Since Aug 3, 2026.

Assessment

This issue has not been assessed yet.

Description

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

Dominant language
TypeScript
Stars
9.9k
Forks
471
Avg merge
2d 4h
Merged PRs (30d)
117

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hyperdxio/hyperdx

All issues in hyperdxio/hyperdx

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.