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

Integrations: Update delete modal to support custom verify prompt #1567

Merged
merged 3 commits into from
Mar 19, 2024

Conversation

Swiddis
Copy link
Collaborator

@Swiddis Swiddis commented Mar 19, 2024

Description

Per UX: the delete modal uses in general should be using some variable text instead of a fixed "delete". This PR updates the DeleteModal component with an optional prompt that's used for deletion (defaulting back to "delete"), and activates this prompt within Integrations.

image

Issues Resolved

N/A

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc 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.

Copy link

codecov bot commented Mar 19, 2024

Codecov Report

Attention: Patch coverage is 63.63636% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 57.83%. Comparing base (6f75c96) to head (4ad0d8a).

Files Patch % Lines
...ents/integrations/components/added_integration.tsx 62.50% 3 Missing ⚠️
...ntegrations/components/added_integration_table.tsx 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1567      +/-   ##
==========================================
- Coverage   57.83%   57.83%   -0.01%     
==========================================
  Files         366      366              
  Lines       13666    13668       +2     
  Branches     3573     3574       +1     
==========================================
+ Hits         7904     7905       +1     
- Misses       5700     5701       +1     
  Partials       62       62              
Flag Coverage Δ
dashboards-observability 57.83% <63.63%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Swiddis Swiddis merged commit 46c23ee into opensearch-project:main Mar 19, 2024
17 of 22 checks passed
@Swiddis Swiddis deleted the delete-with-name branch March 19, 2024 19:31
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 19, 2024
)

* Update delete modal to support custom verify prompt

Signed-off-by: Simeon Widdis <[email protected]>

* Update cypress for new delete flow

Signed-off-by: Simeon Widdis <[email protected]>

---------

Signed-off-by: Simeon Widdis <[email protected]>
(cherry picked from commit 46c23ee)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ps48 pushed a commit that referenced this pull request Mar 19, 2024
) (#1570)

* Update delete modal to support custom verify prompt



* Update cypress for new delete flow



---------


(cherry picked from commit 46c23ee)

Signed-off-by: Simeon Widdis <[email protected]>
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>
Co-authored-by: Simeon Widdis <[email protected]>
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
…ensearch-project#1567) (opensearch-project#1570)

* Update delete modal to support custom verify prompt

* Update cypress for new delete flow

---------

(cherry picked from commit 46c23ee)

Signed-off-by: Simeon Widdis <[email protected]>
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>
Co-authored-by: Simeon Widdis <[email protected]>
(cherry picked from commit cb78382)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants