evidence-dev / evidence

Business intelligence as code: build fast, interactive data visualizations in pure SQL and markdown
https://evidence.dev
MIT License
3.44k stars 167 forks source link

Link support in BigValue #1889

Open justin0mcateer opened 1 month ago

justin0mcateer commented 1 month ago

Feature Description

I would like to be able to define a link to a more detailed page that would be accessed by clicking on a BigValue control.

Goal of Feature

This would allow users to have a dashboard with a high-level set of KPIs then 'dig in' to understand the 'why'.

Current Solution / Workarounds

I believe the best current solution will be to use a LinkButton in combination with the Group element that is part of the experimental Grid control. In this case each BigValue will have a 'Details' button immediately below which provides the 'link' functionality.

Alternatives

Any control that supports linking could be used in place of LinkButton, but it would be much cleaner to just allow clicking the BigValue itself to 'drill down'.