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

Fix display of detector names #585

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

smortex
Copy link
Contributor

@smortex smortex commented Aug 7, 2023

When starting or stopping detectors, the pop-up window shows the detector names as DETECTOR_NAME /> where "DETECTOR_NAME" is the name of the detector.

The markup seems to have residual /> that are rendered to the user. Remove them to ensure they do not appear between the opening and the closing EuiLink tags.

screenshot of the issue

To reproduce:

  1. Visit https://playground.opensearch.org/app/anomaly-detection-dashboards#/detectors?from=0&size=20&search=&indices=&sortField=name&sortDirection=asc
  2. Check a few detectors
  3. Click on Actions > Stop real-time detectors

When starting or stopping detectors, the pop-up window shows the
detector names as `DETECTOR_NAME />` where "DETECTOR_NAME" is the name
of the detector.

The markup seems to have residual `/>` that are rendered to the user.
Remove them to ensure they do not appear between the opening and the
closing EuiLink tags.

Signed-off-by: Romain Tartière <[email protected]>
@smortex
Copy link
Contributor Author

smortex commented Aug 8, 2023

CI failures seems unrelated 🙄 :

@jackiehanyang jackiehanyang merged commit 3bdcb64 into opensearch-project:main Aug 9, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 9, 2023
When starting or stopping detectors, the pop-up window shows the
detector names as `DETECTOR_NAME />` where "DETECTOR_NAME" is the name
of the detector.

The markup seems to have residual `/>` that are rendered to the user.
Remove them to ensure they do not appear between the opening and the
closing EuiLink tags.

Signed-off-by: Romain Tartière <[email protected]>
(cherry picked from commit 3bdcb64)
@smortex smortex deleted the fix-markup branch August 9, 2023 00:28
jackiehanyang pushed a commit that referenced this pull request Aug 14, 2023
When starting or stopping detectors, the pop-up window shows the
detector names as `DETECTOR_NAME />` where "DETECTOR_NAME" is the name
of the detector.

The markup seems to have residual `/>` that are rendered to the user.
Remove them to ensure they do not appear between the opening and the
closing EuiLink tags.

Signed-off-by: Romain Tartière <[email protected]>
(cherry picked from commit 3bdcb64)

Co-authored-by: Romain Tartière <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants