Skip to content

Launch#3

Merged
ConnorNeed merged 4 commits intomainfrom
launch
Oct 13, 2025
Merged

Launch#3
ConnorNeed merged 4 commits intomainfrom
launch

Conversation

@ConnorNeed
Copy link
Copy Markdown
Member

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:

  • Added ContainerCard and ContainerList React 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]
  • Integrated the new container management UI into the app's /launch page using dynamic imports to disable server-side rendering for container components. (src/app/launch/page.tsx)

Service Startup Automation:

  • Added a setup_service.sh script and a start_ui.service systemd 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]
  • Updated start.sh to robustly determine the local IP address before starting, and to set the NEXT_PUBLIC_LAUNCHSERVER environment variable for container communication. (start.sh) [1] [2]

Debugging and Minor Changes:

  • Added console logging in MapView.tsx to aid in debugging environment variable usage. (src/components/panels/MapView.tsx)

@ConnorNeed ConnorNeed requested a review from Copilot September 28, 2025 02:01
@ConnorNeed ConnorNeed self-assigned this Sep 28, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/components/ContainerCard.tsx Outdated
Comment thread src/components/ContainerList.tsx
Comment thread src/app/launch/page.tsx Outdated
Comment thread src/components/panels/MapView.tsx Outdated
Comment thread setup/setup_service.sh Outdated
@ConnorNeed ConnorNeed requested a review from Landwhich October 10, 2025 12:55
@ConnorNeed ConnorNeed merged commit c9abb45 into main Oct 13, 2025
1 check passed
@ConnorNeed ConnorNeed deleted the launch branch October 16, 2025 17:34
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.

2 participants