getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.61k stars 4.13k forks source link

Alert rule "when" condition UI shows misleading placeholder #75700

Open jonstaryuk opened 1 month ago

jonstaryuk commented 1 month ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

We have an alert rule with a condition of the form "The issue is seen more than X times..." where the threshold is 0 (on purpose).

The number input UI shows a placeholder of 100, but in reality the rule is using a value of 0. This placeholder looks very similar to an actual 100 value — just a slightly different shade of purple.

This caused some confusion when our team was debugging alert rules.

Image

Image

Image

Expected Result

Since the alert rule backend uses a default value of 0, the input box should also use a placeholder value of 0.

Actual Result

The input box shows a placeholder value of 100.

Product Area

Alerts

Link

No response

DSN

No response

Version

No response

getsantry[bot] commented 1 month ago

Auto-routing to @getsentry/product-owners-alerts for triage ⏲️

ceorourke commented 1 month ago

Hello, we've already got this in our backlog to address, we'll update this ticket when it's fixed.