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: emui optimistic data loading #1771

Merged
merged 5 commits into from Nov 13, 2023
Merged

Conversation

Dartoxian
Copy link
Contributor

Description:

This PR removes the use of react-router data loaders and actions, instead managing this behaviour inside a new EMUIAppContext. This allows us to implement optimistic ui patterns - letting us load the initial enclave list as data become available, and updating it without a backend fetch (on create/delete operations).

Also this PR fixes the issue identified with boolean values not being persisted - in fact the values were read and persisted, just not rendered correctly on subsequent load.

Demo

As this is quite a substantial change, this demo quickly goes over the majority of the data interactions in the emui.

optimistic.mp4

Is this change user facing?

YES

## Description:
* Support subpackages
* Increase size of dict and list input form components

## Is this change user facing?
YES
@adschwartz adschwartz added this pull request to the merge queue Nov 13, 2023
@adschwartz adschwartz removed this pull request from the merge queue due to a manual request Nov 13, 2023
@adschwartz adschwartz added this pull request to the merge queue Nov 13, 2023
Merged via the queue into main with commit f105fa0 Nov 13, 2023
33 checks passed
@adschwartz adschwartz deleted the bgazzard/fix-em-multi-getenclaves branch November 13, 2023 19:05
github-merge-queue bot pushed a commit that referenced this pull request Nov 13, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.85.19](0.85.18...0.85.19)
(2023-11-13)


### Features

* add enclave's flags info in the `kurtosis enclave inspect` CLI command
([#1751](#1751))
([35bad59](35bad59)),
closes [#1363](#1363)


### Bug Fixes

* emui optimistic data loading
([#1771](#1771))
([f105fa0](f105fa0))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
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.

None yet

2 participants