Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This uses the server that provides the overlay to also add a couple endpoints to view logs/restart a specific service. There's an extremely minimal UI as well available at the root route, and the overlay js was moved to
/overlay.js
.Screenshot of the very awesome™ UI and the terminal running
architect dev
after clicking the restart button:I also updated the overlay so the logs/restart buttons run the actions directly (logs will open a new window, restart will restart the service immediately).
This may not be the actual desired behavior, but that was my leaping off point - since this is just a draft I left it in for now, want to validate whether there's anything here we want to continue working on before going further. Lots of cleanup and improvements if we do want to go further, like making the server code not a mess, but it's functional for a proof-of-concept 😛
To test this:
architect dev
on anythinglocalhost:60001
and you'll see the UI, click buttons