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(inspector-ui): add a reload button #30

Merged
merged 4 commits into from
Feb 19, 2024

Conversation

shouya
Copy link
Owner

@shouya shouya commented Feb 18, 2024

Add a reload button that reloads the config manually.

In the future I may implement this to be automatic, probably with a websocket connection to the backend to detect reload events. For the time being, I think this button is a simple and good enough solution.

In the passing I found a bug with the response in _inspector/config is not being updated when the config is reloaded. I fixed that as well.

@shouya shouya merged commit 82a2162 into master Feb 19, 2024
2 checks passed
@shouya shouya deleted the reload-button-on-inspector-ui branch February 19, 2024 00:27
shouya added a commit that referenced this pull request Feb 19, 2024
Add a reload button that reloads the config manually.

In the future I may implement this to be automatic, probably with a
websocket connection to the backend to detect reload events. For the
time being, I think this button is a simple and good enough solution.

In the passing I found a bug with the response in `_inspector/config` is
not being updated when the config is reloaded. I fixed that as well.

---------

Co-authored-by: Shou Ya <shouya@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.

1 participant