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 alerts card in all-use case overview page #1073

Merged

Conversation

amsiglan
Copy link
Collaborator

@amsiglan amsiglan commented Sep 4, 2024

Description

Currently when multi data sources is disabled, the card fails to render. Added a check to skip rendering the MDS control.

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Copy link
Collaborator

@AWSHurneyt AWSHurneyt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM. Approving assuming CI passes.

@riysaxen-amzn
Copy link
Collaborator

acknowledge_alerts_modal_spec.js is failing, is this a flaky test?

@amsiglan
Copy link
Collaborator Author

amsiglan commented Sep 5, 2024

acknowledge_alerts_modal_spec.js is failing, is this a flaky test?

Yes

@amsiglan amsiglan merged commit 4edcf05 into opensearch-project:main Sep 5, 2024
8 of 9 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 5, 2024
* check for multi data source enabled

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* added empty state

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

---------

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
(cherry picked from commit 4edcf05)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 5, 2024
* check for multi data source enabled

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* added empty state

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

---------

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
(cherry picked from commit 4edcf05)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AWSHurneyt pushed a commit that referenced this pull request Sep 5, 2024
* check for multi data source enabled



* added empty state



---------


(cherry picked from commit 4edcf05)

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
amsiglan pushed a commit that referenced this pull request Sep 5, 2024
* check for multi data source enabled



* added empty state



---------


(cherry picked from commit 4edcf05)

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AWSHurneyt pushed a commit to AWSHurneyt/alerting-dashboards-plugin that referenced this pull request Sep 19, 2024
* check for multi data source enabled

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* added empty state

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

---------

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
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