Launch#3
Merged
ConnorNeed merged 4 commits intomainfrom Oct 13, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This pull request introduces a Docker container management UI with systemd service automation for the web application. The changes enable users to monitor, start, and stop Docker containers through a web interface with real-time log streaming and status updates.
- Added React components for container management with live log streaming via WebSockets and real-time status updates via Server-Sent Events
- Implemented systemd service configuration and setup scripts for automatic UI startup
- Enhanced the startup script to properly detect local IP address and configure container communication
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/components/ContainerList.tsx | Main container management component with SSE event handling and container operations |
| src/components/ContainerCard.tsx | Individual container display component with WebSocket log streaming |
| src/app/launch/page.tsx | Launch page that dynamically imports container components with SSR disabled |
| start.sh | Enhanced startup script with robust IP detection and launch server configuration |
| src/components/panels/MapView.tsx | Added debug console logging for environment variables |
| setup/start_ui.service | Systemd service unit file for UI automation |
| setup/setup_service.sh | Service setup script with user detection and permissions configuration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 pull request introduces a new Docker container management UI to the project and adds supporting infrastructure for automatic service startup via systemd. The main changes include new React components for listing and controlling containers, live log streaming, and event handling, as well as scripts and configuration for setting up the UI as a systemd service. Additionally, minor improvements and debugging aids are added.
Container Management UI:
ContainerCardandContainerListReact components to provide a user interface for listing, starting, stopping, and viewing live logs of Docker containers, with real-time updates via Server-Sent Events (SSE) and WebSockets. (src/components/ContainerCard.tsx,src/components/ContainerList.tsx) [1] [2]/launchpage using dynamic imports to disable server-side rendering for container components. (src/app/launch/page.tsx)Service Startup Automation:
setup_service.shscript and astart_ui.servicesystemd unit file to automate running the UI as a service, including user detection, permissions setup, and symbolic linking for easy startup. (setup/setup_service.sh,setup/start_ui.service) [1] [2]start.shto robustly determine the local IP address before starting, and to set theNEXT_PUBLIC_LAUNCHSERVERenvironment variable for container communication. (start.sh) [1] [2]Debugging and Minor Changes:
MapView.tsxto aid in debugging environment variable usage. (src/components/panels/MapView.tsx)