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: enclave manager indexer client #1643

Merged
merged 4 commits into from
Oct 30, 2023

Conversation

Dartoxian
Copy link
Contributor

Description:

This PR adds a typed indexer client into the new enclave manager code. This client will be used to generate the forms for configuring enclaves and eventually for listing the catalog.

Additionally this PR:

  • refactors the current kurtosis client into client/enclaveManager.
  • uses the check endpoint in KurtosisClient to perform a basic connectivity check when KurtosisClientContext starts up.

I chose not to extend the KurtosisClient from the KurtosisPackageIndexerClient as whilst that would have been convenient, they have different responsibilities.

Is this change user facing?

NO (the new enclave manager is not live)

References (if applicable):

This PR is based on #1639

## 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_


https://github.com/kurtosis-tech/kurtosis/assets/4419574/905481ea-aeef-4367-a5a1-466de250772c

## Is this change user facing?
NO (this ui is not currently deployed

## References (if applicable):
This PR sits on top of
#1643
@Dartoxian Dartoxian merged commit b0af9d8 into bg/em-design-tweaks Oct 30, 2023
@Dartoxian Dartoxian deleted the bg/em-indexer-client 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