Skip to content

feat: Add custom onClick field to external dashboards API#2156

Draft
pulpdrew wants to merge 7 commits intodrew/dashboard-filter-linkingfrom
drew/dashboard-linking-external-api
Draft

feat: Add custom onClick field to external dashboards API#2156
pulpdrew wants to merge 7 commits intodrew/dashboard-filter-linkingfrom
drew/dashboard-linking-external-api

Conversation

@pulpdrew
Copy link
Copy Markdown
Contributor

Summary

This is the fifth in a series of PRs adding customizable on-click / linking behaviors to dashboard tables. This PR extends the custom dashboard table onClick behavior from #2140.

This feature is behind the NEXT_PUBLIC_IS_DASHBOARD_LINKING_ENABLED, which has been enabled in the preview environment and for local development.

Scope

In this PR: The external dashboards API now supports CRUD for dashboards with custom onClick behaviors.

Not included yet

Future PRs will add:

  • Updates to the MCP prompts to support generating dashboards with custom links
  • Updates to the import flow to support importing bundles of linked dashboards at once
  • Support for linking on other visualization types

Screenshots or video

How to test locally or on Vercel

This can be tested in the preview environment

References

  • Linear Issue: Closes HDX-4061
  • Related PRs:

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hyperdx-oss Ready Ready Preview, Comment Apr 23, 2026 1:16pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 23, 2026

🦋 Changeset detected

Latest commit: 4092322

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@hyperdx/common-utils Patch
@hyperdx/api Patch
@hyperdx/app Patch
@hyperdx/otel-collector Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pulpdrew pulpdrew changed the base branch from main to drew/dashboard-filter-linking April 23, 2026 13:11
@pulpdrew pulpdrew changed the title Drew/dashboard linking external api feat: Add custom onClick field to external dashboards API Apr 23, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Knip - Unused Code Analysis

🔴 1 issue found

Unused exports (1)

  • packages/api/src/routers/external-api/v2/utils/dashboards.ts:isSeriesTile

Knip finds unused files, dependencies, and exports in your codebase.
Run yarn knip locally to see full details.

@github-actions
Copy link
Copy Markdown
Contributor

E2E Test Results

All tests passed • 156 passed • 3 skipped • 1162s

Status Count
✅ Passed 156
❌ Failed 0
⚠️ Flaky 7
⏭️ Skipped 3

Tests ran across 4 shards in parallel.

View full report →

@pulpdrew pulpdrew force-pushed the drew/dashboard-filter-linking branch from ca2be83 to de0c501 Compare April 23, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant