influxdata / influxdata/ui

Alerts: Can deactivate notification endpoint in use without warning

Open
#3,644 0 comments 0 reactions 0 assignees View on GitHub
bonitoo kind/bug severity/sev-4 team/automation team/ui team/unity
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

## About the bug

**Steps to reproduce:**
List the minimal actions needed to reproduce the behavior.

In Alerts

1. Create a Threshold Check
2. Create an Endpoint
3. Create a Notification Rule
4. Return to the Endpoint
5. Deactivate it

**Expected behavior:**

Expected that upon attempting to deactivate an Endpoint, that is part of one or more active rules, that there would be a warning that the endpoint is in use. e.g. "This enpdpoint is currently used in N rule(s), do you wish to proceed?" I could then decide to proceed to deactivate it or cancel the deactivation.

**Actual behavior:**

Received no warning or notification that the endpoint is in use.

**Visual Proof:**

![NotifEndpInUseDisabled01](https://user-images.githubusercontent.com/25881301/150312801-c3e9a086-0bec-44b8-a3d0-19ccff583353.gif)

## About your environment

**Environment info:**

Working with remocal a project UI.

Latest commit in UI
```
commit 019ec01d3ca48826c02777043ddd76cb47ac7416
Author: karel-rehor
Date: Wed Jan 19 10:13:01 2022 +0100
```
Latest commit in K8s-IDPE
```
commit ead1db508e2afa1c713e3872b6419b3e8c771be7
Author: Hercules Mango Churchill
Date: Wed Jan 19 09:08:24 2022 +0000
```

**Config:**

**Logs:**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.