influxdata / influxdata/influxdb
Zero alert threshold value is hidden
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.
1. Add new Alert Check / edit the existing one
2. Set Threshold to `When value is outside the range` `0 to 0` (workaround for #21903)
3. Save, Close, Reopen
__Expected behavior:__

__Actual behavior:__

__Environment info:__
* System info: Linux 4.9.0-16-amd64 x86_64
* InfluxDB version: InfluxDB 2.0.7 (git: 2a45f0c037) build_date: 2021-06-04T19:17:40Z
__Config:__
default
Contributor guide
Research direction
Start with the Alert Check editor described in the reproduction steps and inspect how a threshold of `0 to 0` is restored after saving, closing, and reopening. Confirm the behavior against the expected and actual screenshots; done means both zero threshold values remain visible after reopening.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100