posthog icon indicating copy to clipboard operation
posthog copied to clipboard

feat: query loading bars

Open aspicer opened this issue 1 year ago â€ĸ 6 comments

Problem

Long running queries confuse users and they don't what's going on. The hedgehog running with no feedback gets frustrating.

Changes

Roll out a beta of a loading bar behind a feature flag

https://github.com/PostHog/posthog/assets/1855120/81fb8425-160d-4383-85a0-d1ecea0d6c30

How did you test this code?

Loading paths tested on local

aspicer avatar May 15 '24 17:05 aspicer

📸 UI snapshots have been updated

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

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

posthog-bot avatar May 15 '24 17:05 posthog-bot

📸 UI snapshots have been updated

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

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

posthog-bot avatar May 15 '24 17:05 posthog-bot

📸 UI snapshots have been updated

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

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

posthog-bot avatar May 15 '24 20:05 posthog-bot

Size Change: +97 B (+0.01%)

Total Size: 1.05 MB

â„šī¸ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 1.05 MB +97 B (+0.01%)

compressed-size-action

github-actions[bot] avatar May 15 '24 20:05 github-actions[bot]

📸 UI snapshots have been updated

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

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

posthog-bot avatar May 15 '24 22:05 posthog-bot

📸 UI snapshots have been updated

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

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

posthog-bot avatar May 15 '24 22:05 posthog-bot

📸 UI snapshots have been updated

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

  • chromium: 0 added, 2 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 May 16 '24 08:05 posthog-bot

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • â€ŧī¸ UnboundLocalError: local variable 'span' referenced before assignment posthog.tasks.tasks.process_query_task View Issue

Did you find this useful? React with a 👍 or 👎

sentry[bot] avatar May 16 '24 09:05 sentry[bot]