Closed ItsSimko closed 2 weeks ago
New dependencies detected. Learn more about Socket for GitHub ↗︎
Package | New capabilities | Transitives | Size | Publisher |
---|---|---|---|---|
pypi/docker@2.0.0 | environment, eval, filesystem, network | 0 |
698 kB | aiordache, ccrone, dev-tooling-team, ...4 more |
This pull request integrates Docker management into the application by adding a ContainerManager class and UI components for managing Docker containers. It enhances the application settings to support Docker configurations and updates the UI to display container statuses and provide start/stop controls. The changes also include the addition of tooltips for better user guidance and an update to the CI workflow to include NSIS script setup.
journey
title User journey for Docker container management
section Access Docker Settings
User opens application: 5: User
User navigates to Docker settings: 4: User
section Manage Docker Containers
User views Docker container statuses: 4: User
User starts LLM container: 3: User
User starts Whisper container: 3: User
User stops LLM container: 3: User
User stops Whisper container: 3: User
section Exit Application
User prompted to close Docker containers: 4: User
User decides to close or keep containers running: 3: User
classDiagram
class ContainerManager {
+DockerClient client
+start_container(container_name)
+stop_container(container_name)
+check_container_status(container_name)
+set_status_icon_color(widget, status)
+check_docker_status_thread(llm_dot, whisper_dot, app_settings)
}
class MainWindow {
+ContainerManager container_manager
+start_LLM_container(widget_name, app_settings)
+stop_LLM_container(widget_name, app_settings)
+start_whisper_container(widget_name, app_settings)
+stop_whisper_container(widget_name, app_settings)
}
MainWindow --> ContainerManager
Change | Details | Files |
---|---|---|
Implement Docker container management |
|
src/FreeScribe.client/ContainerManager.py |
Update main application UI to include Docker status and controls |
|
src/FreeScribe.client/client.py |
Enhance application settings to include Docker configurations |
|
src/FreeScribe.client/ApplicationSettings_client.py |
Implement tooltip functionality |
|
src/FreeScribe.client/Tooltip.py |
Create MainWindow class for centralized UI management |
|
src/FreeScribe.client/UI/MainWindow.py |
Update CI workflow |
|
.github/workflows/release.yml |
I would not merge just yet, I need to notify the user if the containers do not exist or if there are errors. I didn't really think of this until i tested this. Need to remove some unused code sections.
Summary by Sourcery
Add a Docker status bar to the application UI to monitor LLM and Whisper containers. Implement a ContainerManager class to manage Docker containers, including starting, stopping, and checking their status. Enhance the application settings with Docker configuration options and update the release workflow to include NSIS script setup.
New Features:
Enhancements:
CI: