Skip to content

Conversation

@ConnorNeed
Copy link
Member

This pull request introduces a user-friendly way to update Docker images from the UI, adds toast notifications for feedback, and improves button labeling for clarity. The most important changes are grouped below.

Feature Addition: Docker Image Update Workflow

  • Added a new "Update system" button to the SetResetPanel in ContainerList.tsx that triggers pulling the latest versions of three Docker images (cprtsoftware/rover:amd64, cprtsoftware/web-ui:latest, and cprtsoftware/container-launcher:latest) from the backend. The process provides confirmation and feedback to the user. [1] [2]

User Feedback Improvements

  • Integrated react-hot-toast to display real-time notifications for each Docker image pull operation, including loading, success, and error states, as well as a final "All pulls finished" message. [1] [2] [3] [4]

UI/UX Enhancements

  • Updated SetResetPanel to support customizable button names via new props button1Name and button2Name, allowing for more descriptive labels such as "Update system" instead of the generic "Reset". [1] [2] [3]

Copy link

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 PR adds a Docker image update feature to the web UI, allowing users to pull the latest versions of three system images (rover, web-ui, and container-launcher) directly from the interface. It integrates react-hot-toast for real-time feedback and makes the SetResetPanel component more flexible with customizable button labels.

Key Changes:

  • Added a new "Update system" button that triggers parallel Docker image pulls with toast notifications for progress and status
  • Made SetResetPanel button labels configurable via new optional props button1Name and button2Name
  • Integrated react-hot-toast library (v2.6.0) for user feedback with loading, success, and error states

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/components/SetResetPanel.tsx Added optional props for customizable button labels with default values
src/components/ContainerList.tsx Replaced reset functionality with Docker image pull workflow, added toast notifications and confirmation dialog
src/app/launch/page.tsx Added Toaster component to display toast notifications
package.json Added react-hot-toast dependency (^2.6.0)
package-lock.json Added react-hot-toast and goober dependency entries with resolved versions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"integrity": "sha512-b/ZCF6amfAUb7dJM/MxRs7AetQEahYzJ8PtgfrmEdtw6uyGOr+ZSGtgjFm6mfsBkxJ4d2W7kg+Nlqzqvn3Bc0w==",
"license": "MIT"
},
"node_modules/goober": {

Choose a reason for hiding this comment

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

goober

@ConnorNeed ConnorNeed merged commit 6280ae7 into main Nov 19, 2025
1 check passed
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.

3 participants