8000 fix(alerts): show the interval alert will check by anirudhpillai · Pull Request #33601 · PostHog/posthog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(alerts): show the interval alert will check #33601

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jun 17, 2025

Conversation

anirudhpillai
Copy link
Contributor

Important

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Problem

Users find it confusing that setting alert to run 'hourly' doesn't check the last hour on the trend insight

Changes

Explicitly show the interval alert will check.
image
image

Did you write or update any docs for this change?

How did you test this code?

Tested locally

@anirudhpillai anirudhpillai requested a review from a team June 12, 2025 13:08
@anirudhpillai anirudhpillai enabled auto-merge (squash) June 12, 2025 13:08
Copy link
Contributor
@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Improved alert UI clarity by explicitly showing the interval an alert will check, addressing user confusion around hourly alerts not checking the last hour on trend insights.

  • Added explicit interval display in alert UI to clearly communicate the time period being monitored
  • Screenshots show improved interface making alert check intervals more transparent
  • Change is focused on UI clarity rather than modifying the underlying alert checking logic

No files reviewed, no comments
Edit PR Review Bot Settings | Greptile

8000
@posthog-bot
Copy link
Contributor

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

Copy link
Contributor
github-actions bot commented Jun 12, 2025

Size Change: 0 B

Total Size: 2.57 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 2.57 MB

compressed-size-action

<div>
and check {alertForm?.config.check_ongoing_interval ? 'current' : 'last'}
</div>
<LemonSelect
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: i'd probably use a info-icon instead of a disabled select.

@posthog-bot
Copy link
Contributor

📸 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
Copy link
Contributor

📸 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 7)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

Caution

Detected flapping snapshots

These snapshots have auto-updated more than once since the last human commit:

  • scenes-app-surveys--survey-templates--dark.png (chromium, shard 7)

The flippy-flappies are deadly and must be fixed ASAP. They're productivity killers.
Run pnpm storybook locally and make the fix now.
(Often, the cause is ResizeObserver being used instead of the better CSS container queries.)

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@anirudhpillai anirudhpillai merged commit fc5bac6 into master Jun 17, 2025
100 checks passed
@anirudhpillai anirudhpillai deleted the fix/alert-trend-interval branch June 17, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0