You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e2fc25d
Browse filesBrowse the repository at this point in the historyBrowse files
## Summary
This is the **first of a few PRs** adding customizable on-click / linking behaviors to dashboard tables. This feature is behind the `NEXT_PUBLIC_IS_DASHBOARD_LINKING_ENABLED`, which has been enabled in the preview environment and for local development.
Tables without a custom on click behavior defined will fall back to the existing on click behavior (which is linking to the search page, with group by columns passed as filters).
### Scope
In this PR:
- Support for defining a custom on click behavior linking a dashboard row to the search page.
- The source and where condition passed to the search page is customizable via handlebars templates, which can reference the column values in the clicked row.
### Not included yet
Future PRs will add:
- Linking to specific sources, without requiring a template, with source mapping during dashboard import
- Linking to dashboards, by templated dashboard name or id (with mapping during dashboard import)
- Passing templated filter values to the destination dashboard or search
- 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
https://github.com/user-attachments/assets/afdd59cf-53bd-4ae5-b4fa-acc565409eb6
## How to test locally or on Vercel
This can be tested in the preview environment
## References
- Linear Issue: Closes HDX-4063
- Related PRs:
0 commit comments