posthog icon indicating copy to clipboard operation
posthog copied to clipboard

feat(dashboards): Smarter tile sizing with smaller minimums

Open Twixes opened this issue 1 year ago â€ĸ 2 comments

Problem

Olly raised a great point that the minimum sizes of our dashboard tiles can be way too big. I fully agree.

Changes

This revamp of our tiling code makes sizing strictly based on tile and insight type. The minimums are reduced in most cases, most evidently for text tiles (the exceptions are Retention and User Paths, which were previously often clipped at their default and minimum sizes).

Twixes avatar Feb 16 '24 18:02 Twixes

📸 UI snapshots have been updated

3 snapshot changes in total. 0 added, 3 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

posthog-bot avatar Feb 16 '24 18:02 posthog-bot

Size Change: +16 B (0%)

Total Size: 864 kB

â„šī¸ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 864 kB +16 B (0%)

compressed-size-action

github-actions[bot] avatar Feb 16 '24 18:02 github-actions[bot]

📸 UI snapshots have been updated

18 snapshot changes in total. 0 added, 18 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

posthog-bot avatar Feb 20 '24 12:02 posthog-bot

📸 UI snapshots have been updated

7 snapshot changes in total. 0 added, 7 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

posthog-bot avatar Feb 20 '24 13:02 posthog-bot