6 Commits

Author SHA1 Message Date
7e323cf3e1 Fix: resolve 5 bugs found during project onboarding health check
- custom_inference_worker: reuse existing device_group from DeviceController
  to avoid double kp.connect_devices() conflict on same USB port
- custom_inference_worker: add TYPE_CHECKING guard for kp type annotations
  to prevent potential NameError at import time
- utilities_screen: replace missing back_arrow.png with text arrow (←)
- utilities_screen: add set_device_controller() so AppController can inject
  MainWindow's shared DeviceController instance
- main.py: wire UtilitiesScreen to share MainWindow's DeviceController
- video_thread: emit camera_error_signal on failure and max-retry exhaustion
- media_controller: connect camera_error_signal and display error on canvas
- media_panel: fix pause button using wrong delete icon; use video_normal SVG

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 14:33:37 +08:00
17deba3bdb Refactor: Clean up codebase and improve documentation
- Remove unused files (model_controller.py, model_service.py, device_connection_popup.py)
- Clean up commented code in device_service.py, device_popup.py, config.py
- Update docstrings and comments across all modules
- Improve code organization and readability
2025-12-30 16:47:31 +08:00
c8be1db25e Fix: Add timeout mechanisms to prevent blocking on device scan and camera open
- device_service: Add timeout mechanism for device scanning
- video_thread: Add timeout mechanism for camera opening
- device_list: Fix height and hide scrollbars to prevent scroll issues
- mainWindows: Adjust UI startup order, delay device refresh and camera start
- utilities_screen: Temporarily disable auto refresh to prevent blocking
- .gitignore: Add new ignore entries

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 02:37:46 +08:00
2d14543f06 添加 Utilies 中的 upload fw function 2025-04-10 12:41:00 +08:00
527b183576 優化 Inference process, 增加Utilities頁面和功能, 修改UI介面 ( 20250324 in update diary) 2025-03-24 02:55:31 +08:00
d58cec837b Modulize the code structure & add utilites' UI element 2025-03-20 20:51:30 +08:00