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

Creating an environment can take a long time and seem unresponsive #4489

Closed
matthewelwell opened this issue Aug 13, 2024 · 1 comment · Fixed by #4812
Closed

Creating an environment can take a long time and seem unresponsive #4489

matthewelwell opened this issue Aug 13, 2024 · 1 comment · Fixed by #4812
Assignees
Labels
front-end Issue related to the React Front End Dashboard improvement Improvement to the existing platform

Comments

@matthewelwell
Copy link
Contributor

Currently, when creating a new environment, it is only possible to do so by cloning from an existing environment. This process can take a long time, so the UI often looks like it's hanging.

There is a PR open on the BE here which asyncs this logic and adds a new is_creating status to the environment which the FE should use to show a UI prompt, and prevent the user from opening the environment until the creation is complete.

@matthewelwell matthewelwell added improvement Improvement to the existing platform front-end Issue related to the React Front End Dashboard labels Aug 13, 2024
@matthewelwell
Copy link
Contributor Author

Instead of making the BE automatically async the cloning of feature states, I have added a new attribute ("clone_feature_states_async": true|false) to the payload on the clone environment endpoint to trigger the async behaviour. Note that the default is false meaning that we should be able to merge the BE without needing the FE changes.

@kyle-ssg kyle-ssg linked a pull request Nov 6, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end Issue related to the React Front End Dashboard improvement Improvement to the existing platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants