Skip to content
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

[UX] Remove association between an anomaly detector and a visualization #437

Closed
Tracked by #66
xeniatup opened this issue Feb 14, 2023 · 1 comment
Closed
Tracked by #66
Labels
enhancement New feature or request

Comments

@xeniatup
Copy link

xeniatup commented Feb 14, 2023

Is your feature request related to a problem?
As a user who want to manage information density on the dashboards I want to be able to remove some of the associations between anomaly detectors and visualizations.

UX Meta issue

What solution would you like?
opensearch-project/anomaly-detection#521
#400

Initial UX proposal on Anomaly Detection on Dashboards opensearch-project/OpenSearch-Dashboards#1798

User stories

  1. User wants to be able to list all anomaly detectors associated with visualization
  2. User wants to be able to list all visualizations associated with a given anomaly detector
  3. User wants to be able to create/remove an association between a detector and a visualization.

For create association see #436

Unlink anomaly detector from a visualization

Screenshot 2023-02-14 at 11 08 54 AM

unlink-detector.mp4

Screen 1: User selects a visualization on a dashboard and selects "Anomaly detection" from the visualization context menu (OuiContextMenu):

Screenshot 2023-03-14 at 12 55 03 AM

Screen 2: User selects "Associated detectors" from the context menu:

Screenshot 2023-03-14 at 12 55 06 AM

Screen 3a: Selecting "Associated detectors" opens a flyout (OuiFlyout) with the list of all detectors (OuiBasicTable) associated with the visualization.

Screenshot 2023-03-16 at 8 36 57 AM

Screen 4: Selecting "Remove association" button icon from the "Actions" column opens a confirmation modal (OuiModal) dialog.

Screenshot 2023-04-04 at 1 05 13 PM

Screen 5: User selects "Remove association" and the modal dialog closes. User returns to the flyout. The success or fail message appears as a toast (OuiToast ). The list of anomaly detectors is reloaded and updated accordingly.

Screenshot 2023-04-04 at 1 08 09 PM

Screen 6: Detector name in the table points to the detector page in Anomaly Detection plugin.
User scrolls down the page to "Associated visualizations" table, listing all visualizations the detector is associated. If a visualization is incompatible with the plugin augmentation feature, a warning badge (OuiBadges) is displayed in the "Compatibility" column.

Screenshot 2023-04-04 at 1 09 03 PM

Screen 7: Selecting "Remove association" icon button from the "Actions" column triggers a confirmation modal (similar to screen 4).

Screenshot 2023-04-04 at 1 09 38 PM

Screen 8: User selects "Remove association" and returns to the detector page. A toast message appears, and the table is updated.

Screenshot 2023-04-04 at 1 09 56 PM

Additional states for "Associated detectors":

Screen 3b: Empty state for "Associated detectors" flyout (no anomaly detectors is associated with the visualization)

Screenshot 2023-03-16 at 8 38 42 AM

Screen 3c: When the limit of plugin objects per visualization is reached, a warning callout is added to the flyout, and the "Associate detector" button is disabled.

Screenshot 2023-03-16 at 8 39 57 AM

Screen 3d: Permissions error state. When user doesn't have required permissions to read the anomaly detectors associated with the visualization, the system shows "Associated detectors" flyout in empty state. A toast message opens with the security error. "Associate detector" button is hidden.

Screenshot 2023-03-16 at 8 44 33 AM

@xeniatup xeniatup added enhancement New feature or request untriaged labels Feb 14, 2023
@bbarani bbarani transferred this issue from opensearch-project/alerting-dashboards-plugin Feb 23, 2023
@kaituo kaituo removed the untriaged label Mar 14, 2023
@xeniatup
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants