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

Added PolicySettings and DeleteModal components for PolicyDetails UI #50

Merged
merged 7 commits into from
Aug 12, 2021

Conversation

lobdelle
Copy link
Contributor

@lobdelle lobdelle commented Aug 11, 2021

Signed-off-by: Eric Lobdell lobdelle@amazon.com

Description

Adds PolicySettings and DeleteModal components used by the PolicyDetails UI. PolicySettings is the upper render box that shows basic details of the given policy, excluding States display. DeleteModal is responsible for confirming that the user wants to delete the policy.

Screen Shot 2021-08-11 at 5 54 37 PM

Screen Shot 2021-08-11 at 5 23 17 PM

Known Issues

  • interfaces.ts file includes too many changes and may need to be reduced to just relevant changes.

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
  • 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.

@lobdelle lobdelle force-pushed the policydetails-components branch from ef0435b to 862c3c8 Compare August 11, 2021 22:04
models/interfaces.ts Outdated Show resolved Hide resolved
…ettings test

Signed-off-by: Eric Lobdell <lobdelle@amazon.com>
Signed-off-by: Eric Lobdell <lobdelle@amazon.com>
Signed-off-by: Eric Lobdell <lobdelle@amazon.com>
@dbbaughe
Copy link
Contributor

Seems like you have to update snapshot

2021-08-12T01:10:41.8589340Z FAIL public/pages/PolicyDetails/components/PolicySettings/PolicySettings.test.tsx
2021-08-12T01:10:41.8591242Z   ● <PolicySettings /> spec › renders the component
2021-08-12T01:10:41.8591617Z 
2021-08-12T01:10:41.8592212Z     expect(received).toMatchSnapshot()

Signed-off-by: Eric Lobdell <lobdelle@amazon.com>
@lobdelle lobdelle merged commit b9645f1 into opensearch-project:main Aug 12, 2021
bowenlan-amzn added a commit to bowenlan-amzn/index-management-dashboards-plugin that referenced this pull request Sep 23, 2021
bowenlan-amzn added a commit that referenced this pull request Sep 28, 2021
* Revert "Register action hook (#64)"

This reverts commit c1b76de.

* Revert "Added PolicyDetails page (#62)"

This reverts commit 0e173f4.

* Revert "Adds VisualCreatePolicy page, missing backend routes/configs, updates… (#61)"

This reverts commit 69d8fe1.

* Revert "Added PolicySettings and DeleteModal components for PolicyDetails UI (#50)"

This reverts commit b9645f1.

* Revert "Adds create state container and removes unused props from modal and c… (#60)"

This reverts commit ea320d4.

* Revert "Adds modal for choosing between visual and json editor (#58)"

This reverts commit 0f3e89c.

* Revert "Adds create transition container (#59)"

This reverts commit 72c200c.

* Revert "Adds transition component (#57)"

This reverts commit 131becf.

* Revert "Adds create action container shown in flyout (#56)"

This reverts commit 19883f7.

* Revert "Adds ISM Templates UI component (#55)"

This reverts commit a90e65f.

* Revert "Adds State UI component (#54)"

This reverts commit 96ff81c.

* Revert "Adds timeout retry settings component used in action flyout (#52)"

This reverts commit 6142d13.

* Revert "Adds single state UI component (#53)"

This reverts commit a25e3fe.

* Revert "Adds individual ISM template UI component (#51)"

This reverts commit c70a926.

* Revert "Adds UI actions for all the supported ISM actions (#49)"

This reverts commit 0d6b814.

* Revert "Adds draggable transitions and transition content (#48)"

This reverts commit dfca9f4.

* Revert "Adds error notification UI container and updates snapshots (#47)"

This reverts commit 4b6724b.

* Revert "Adds policy info section for new UI (#45)"

This reverts commit 72e4639.

* Revert "Adds new UI for Channel Notification (#44)"

This reverts commit 39df0ae.

* Revert "Adds notification service to make backend call for getting list of channels for Index Management (#46)"

This reverts commit c6fc887.

* Revert "Adds draggable action component (#43)"

This reverts commit 4c25961.

* Revert "Adds legacy notification UI input (#42)"

This reverts commit ff15676.

* Revert "Adds a small Badge component (#39)"

This reverts commit bb691d2.

* Revert "Adds reusable flyout footer (#41)"

This reverts commit c9fefc9.

* Revert "Adds custom label to use with EuiForm component (#40)"

This reverts commit 6299cd0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants