posthog
posthog copied to clipboard
feat: render hogql insights as a big number
Problem
https://posthog.com/questions/is-it-possible-to-render-a-hogql-insight-as-a-number-in-a-dashboard-instead-of-a-row
People want to write custom queries for dashboards and display them as a big number.
Changes
If you select "Single Value" in the dropdown, we display the first result returned from a SQL query as a Big Number.
Does this work well for both Cloud and self-hosted?
No Impact
How did you test this code?
Tested manually
Size Change: 0 B
Total Size: 1.05 MB
âšī¸ View Unchanged
Filename | Size |
---|---|
frontend/dist/toolbar.js |
1.05 MB |
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
-
chromium
: 0 added, 1 modified, 0 deleted (diff for shard 2) -
webkit
: 0 added, 0 modified, 0 deleted
Triggered by this commit.
đ¸ UI snapshots have been updated
1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
-
chromium
: 0 added, 1 modified, 0 deleted (diff for shard 2) -
webkit
: 0 added, 0 modified, 0 deleted
Triggered by this commit.