Skip to content

feat: Add filter templating to custom dashboard on-click#2146

Draft
pulpdrew wants to merge 3 commits intodrew/dashboard-dashboard-linkingfrom
drew/dashboard-filter-linking
Draft

feat: Add filter templating to custom dashboard on-click#2146
pulpdrew wants to merge 3 commits intodrew/dashboard-dashboard-linkingfrom
drew/dashboard-filter-linking

Conversation

@pulpdrew
Copy link
Copy Markdown
Contributor

@pulpdrew pulpdrew commented Apr 22, 2026

Summary

This is the third 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:

  • Links can now include templated filter values, to set filters on the target dashboard or search page.
  • The dashboard page now has a warning banner when the URL contains a filter expression which is ignored because there is no corresponding filter defined on the dashboard.

Not included yet

Future PRs will add:

  • Update dashboard import to support link source and dashboard ID mappings
  • Updates to the external API to support the new onClick fields
  • 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

Screen.Recording.2026-04-23.at.4.58.18.PM.mov

How to test locally or on Vercel

This can be tested in the preview environment

References

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

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 22, 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 8:44pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 22, 2026

🦋 Changeset detected

Latest commit: de0c501

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/app Patch
@hyperdx/api 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

enableMapSet();

describe('searchFilters', () => {
describe('filtersToQuery', () => {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

filtersToQuery and its tests have been moved to common-utils

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