posthog icon indicating copy to clipboard operation
posthog copied to clipboard

feat: render hogql insights as a big number

Open aspicer opened this issue 9 months ago â€ĸ 3 comments

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.

image image image

Does this work well for both Cloud and self-hosted?

No Impact

How did you test this code?

Tested manually

aspicer avatar Apr 28 '24 15:04 aspicer

Size Change: 0 B

Total Size: 1.05 MB

ℹī¸ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.05 MB

compressed-size-action

github-actions[bot] avatar Apr 28 '24 15:04 github-actions[bot]

📸 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.

👉 Review this PR's diff of snapshots.

posthog-bot avatar Apr 29 '24 21:04 posthog-bot

📸 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.

👉 Review this PR's diff of snapshots.

posthog-bot avatar Apr 29 '24 21:04 posthog-bot