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

feat: support deletion in the new enclave manager ui #1646

Merged
merged 4 commits into from
Oct 30, 2023

Conversation

Dartoxian
Copy link
Contributor

@Dartoxian Dartoxian commented Oct 27, 2023

Description:

This PR adds support for enclave deletion to the new enclave manager ui. The delete action is handled in a react router action on the /enclaves path.

This PR also includes a change to the loaders to use defer so that loading states can be displayed with suspense - https://reactrouter.com/en/main/guides/deferred.

Demo

The positioning of the modal is a little off due to my screen size - it is centered on the window

deletion.mp4

Is this change user facing?

NO (this ui is not currently deployed

References (if applicable):

This PR sits on top of #1643

@Dartoxian Dartoxian requested a review from adschwartz October 27, 2023 18:04
## Description:
Add support for creating enclaves in the new EM ui. The major changes in
this PR are:
* Support for reading specified packages from the package indexer
* Support for rendering forms from lists of `PackageArg` values using
`react-hook-form` to manage state, and chakra components for UI.
* Support for executing starlark with fresh enclave configuration.
* Support for dumping the list of cataloged packages into the packages
screen.

### Demo

https://github.com/kurtosis-tech/kurtosis/assets/4419574/ecbfd851-aa82-4c88-80da-19b06be1600e

## Is this change user facing?
NO, the new em ui is not currently used
@Dartoxian Dartoxian merged commit 510e157 into bg/em-indexer-client Oct 30, 2023
@Dartoxian Dartoxian deleted the bg/em-deletion branch October 30, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant