[PR #115] [MERGED] v0.1.6b10 #932

Closed
opened 2026-05-06 12:34:01 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/115
Author: @maziggy
Created: 1/21/2026
Status: Merged
Merged: 1/21/2026
Merged by: @maziggy

Base: mainHead: 0.1.6b10


📝 Commits (10+)

  • 43d167a Changed version
  • 3a8b0b5 Fixed useEffect hook
  • 9bfb969 Added nozzle indicator for multi nozzle printers
  • 494da46 Configure AMS Slot
  • c2048d2 Added sort dropdown to printer file manager with options for:
  • 3c9a03c Add camera view mode setting for window or embedded display
  • 0ac344a - Moved print modal to global function
  • ec66e0a Multi-printer selection for print modal
  • 02f6de4 New Features:
  • cb9b10a Mulitple video streams can now be opened at the same time

📊 Changes

64 files changed (+16351 additions, -11509 deletions)

View changed files

📝 CHANGELOG.md (+86 -0)
📝 Dockerfile (+5 -3)
📝 README.md (+18 -1)
📝 backend/app/api/routes/archives.py (+43 -6)
📝 backend/app/api/routes/library.py (+526 -27)
📝 backend/app/api/routes/print_queue.py (+44 -11)
📝 backend/app/api/routes/printers.py (+163 -0)
📝 backend/app/api/routes/settings.py (+5 -0)
📝 backend/app/api/routes/support.py (+155 -2)
📝 backend/app/core/config.py (+1 -1)
📝 backend/app/core/database.py (+62 -0)
📝 backend/app/main.py (+14 -1)
📝 backend/app/models/print_queue.py (+8 -2)
📝 backend/app/schemas/library.py (+4 -3)
📝 backend/app/schemas/print_queue.py (+8 -3)
📝 backend/app/schemas/settings.py (+13 -0)
📝 backend/app/services/bambu_mqtt.py (+181 -7)
📝 backend/app/services/printer_manager.py (+2 -0)
📝 backend/tests/integration/test_library_api.py (+31 -0)
📝 backend/tests/integration/test_print_queue_api.py (+194 -0)

...and 44 more files

📄 Description

v0.1.6b10

New Features

  • Unified Print Modal - Consolidated three separate modals into one unified component:
    • Single modal handles reprint, add-to-queue, and edit-queue-item operations
    • Consistent UI/UX across all print operations
    • Reduced code duplication (~1300 LOC removed)
  • Multi-Printer Selection - Send prints or queue items to multiple printers at once:
    • Checkbox selection for multiple printers in reprint and add-to-queue modes
    • "Select all" / "Clear" buttons for quick selection
    • Progress indicator during multi-printer submission
    • Ideal for print farms with identical filament configurations
  • Per-Printer AMS Mapping - Configure filament slot mapping individually for each printer:
    • Enable "Custom mapping" checkbox under each selected printer
    • Auto-configure uses RFID data to match filaments automatically
    • Manual override for specific slot assignments
    • Match status indicator shows exact/partial/missing matches
    • Re-read button to refresh printer's loaded filaments
    • New setting in Settings → Filament to expand custom mapping by default
  • Enhanced Add-to-Queue - Now includes plate selection and print options:
    • Configure all print settings upfront instead of editing afterward
    • Filament mapping with manual override capability
  • Print from File Manager - Full print configuration when printing from library files:
    • Plate selection for multi-plate 3MF files with thumbnails
    • Filament slot mapping with comparison to loaded filaments
    • All print options (bed levelling, flow calibration, etc.)
  • File Manager Print Button - Print directly from multi-selection toolbar:
    • "Print" button appears when exactly one sliced file is selected
    • Opens full PrintModal with plate selection and print options
    • "Add to Queue" button now uses Clock icon for clarity
  • Multiple Embedded Camera Viewers - Open camera streams for multiple printers simultaneously in embedded mode:
    • Each viewer has its own remembered position and size
    • New viewers are automatically offset to prevent stacking
    • Printer-specific persistence in localStorage
    • Navigation persistence - Open cameras stay open when navigating away and back to Printers page
  • Application Log Viewer - View and filter application logs in real-time from System Information page:
    • Start/Stop live streaming with 2-second auto-refresh
    • Filter by log level (DEBUG, INFO, WARNING, ERROR)
    • Text search across messages and logger names
    • Clear logs with one click
    • Expandable multi-line log entries (stack traces, etc.)
    • Auto-scroll to follow new entries
  • Deferred archive creation - Queue items from File Manager no longer create archives upfront:
    • Queue items store library_file_id directly
    • Archives are created automatically when prints start
    • Reduces clutter in Archives from unprinted queued files
    • Queue displays library file name, thumbnail, and print time
  • Expandable Color Picker - Configure AMS Slot modal now has an expandable color palette:
    • 8 basic colors shown by default (White, Black, Red, Blue, Green, Yellow, Orange, Gray)
    • Click "+" to expand 24 additional colors (Cyan, Magenta, Purple, Pink, Brown, Beige, Navy, Teal, Lime, Gold, Silver, Maroon, Olive, Coral, Salmon, Turquoise, Violet, Indigo, Chocolate, Tan, Slate, Charcoal, Ivory, Cream)
    • Click "-" to collapse back to basic colors
  • File Manager Sorting - Printer file manager now has sorting options:
    • Sort by name (A-Z or Z-A)
    • Sort by size (smallest or largest first)
    • Sort by date (oldest or newest first)
    • Directories always sorted first
  • Camera View Mode Setting - Choose how camera streams open:
    • "New Window" (default): Opens camera in a separate browser window
    • "Embedded": Shows camera as a floating overlay on the main screen
    • Embedded viewer is draggable and resizable with persistent position/size
    • Configure in Settings → General → Camera section
  • File Manager Rename - Rename files and folders directly in File Manager:
    • Right-click context menu "Rename" option for files and folders
    • Inline rename button in list view
    • Validates filenames (no path separators allowed)
  • File Manager Mobile Accessibility - Improved touch device support:
    • Three-dot menu button always visible on mobile (hover-only on desktop)
    • Selection checkbox always visible on mobile devices
    • Better PWA experience for file management

Changed

  • Edit Queue Item modal - Single printer selection only (reassigns item, doesn't duplicate)
  • Edit Queue Item button - Changed from "Print to X Printers" to "Save"

Fixed

  • File Manager folder navigation - Fixed bug where opening a folder would briefly show files then jump back to root:
    • Removed selectedFolderId from useEffect dependency array that was causing a reset loop
    • Folder navigation now works correctly without resetting
  • Queue items with library files - Fixed 500 errors when listing/updating queue items from File Manager
  • User preset AMS configuration - Fixed user presets (inheriting from Bambu presets) showing empty fields in Bambu Studio after configuration:
    • Now correctly derives tray_info_idx from the preset's base_id when filament_id is null
    • User presets that inherit from Bambu presets (e.g., "# Overture Matte PLA @BBL H2D") now work correctly
  • Faster AMS slot updates - Frontend now updates immediately after configuring AMS slots:
    • Added WebSocket broadcast to AMS change callback for instant UI updates
    • Removed unnecessary delayed refetch that was causing slow updates

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/maziggy/bambuddy/pull/115 **Author:** [@maziggy](https://github.com/maziggy) **Created:** 1/21/2026 **Status:** ✅ Merged **Merged:** 1/21/2026 **Merged by:** [@maziggy](https://github.com/maziggy) **Base:** `main` ← **Head:** `0.1.6b10` --- ### 📝 Commits (10+) - [`43d167a`](https://github.com/maziggy/bambuddy/commit/43d167abd3275d0378d201c2f077de9a4a70e7f9) Changed version - [`3a8b0b5`](https://github.com/maziggy/bambuddy/commit/3a8b0b547134cca1db72b5b6252c6fbb8d6373c7) Fixed useEffect hook - [`9bfb969`](https://github.com/maziggy/bambuddy/commit/9bfb96916994ae03be563788407d08d7b5c2770d) Added nozzle indicator for multi nozzle printers - [`494da46`](https://github.com/maziggy/bambuddy/commit/494da46b09fd29f17476ec6218d03882a061d352) **Configure AMS Slot** - [`c2048d2`](https://github.com/maziggy/bambuddy/commit/c2048d2bab790018ca972cfbec29d97a007a9844) Added sort dropdown to printer file manager with options for: - [`3c9a03c`](https://github.com/maziggy/bambuddy/commit/3c9a03cadc5cdaeb9821f7e9ecee25867e4e4820) Add camera view mode setting for window or embedded display - [`0ac344a`](https://github.com/maziggy/bambuddy/commit/0ac344a7645c6d9675f9aab8ce8d3c13a04fc9b9) - Moved print modal to global function - [`ec66e0a`](https://github.com/maziggy/bambuddy/commit/ec66e0a6651f79679de326899c3f0973936a81d1) Multi-printer selection for print modal - [`02f6de4`](https://github.com/maziggy/bambuddy/commit/02f6de4adc1b57627258bfd86399f12f2ec589bb) New Features: - [`cb9b10a`](https://github.com/maziggy/bambuddy/commit/cb9b10a3b4e846528587bc2e3b6c425a5e53202b) Mulitple video streams can now be opened at the same time ### 📊 Changes **64 files changed** (+16351 additions, -11509 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+86 -0) 📝 `Dockerfile` (+5 -3) 📝 `README.md` (+18 -1) 📝 `backend/app/api/routes/archives.py` (+43 -6) 📝 `backend/app/api/routes/library.py` (+526 -27) 📝 `backend/app/api/routes/print_queue.py` (+44 -11) 📝 `backend/app/api/routes/printers.py` (+163 -0) 📝 `backend/app/api/routes/settings.py` (+5 -0) 📝 `backend/app/api/routes/support.py` (+155 -2) 📝 `backend/app/core/config.py` (+1 -1) 📝 `backend/app/core/database.py` (+62 -0) 📝 `backend/app/main.py` (+14 -1) 📝 `backend/app/models/print_queue.py` (+8 -2) 📝 `backend/app/schemas/library.py` (+4 -3) 📝 `backend/app/schemas/print_queue.py` (+8 -3) 📝 `backend/app/schemas/settings.py` (+13 -0) 📝 `backend/app/services/bambu_mqtt.py` (+181 -7) 📝 `backend/app/services/printer_manager.py` (+2 -0) 📝 `backend/tests/integration/test_library_api.py` (+31 -0) 📝 `backend/tests/integration/test_print_queue_api.py` (+194 -0) _...and 44 more files_ </details> ### 📄 Description v0.1.6b10 ### New Features - **Unified Print Modal** - Consolidated three separate modals into one unified component: - Single modal handles reprint, add-to-queue, and edit-queue-item operations - Consistent UI/UX across all print operations - Reduced code duplication (~1300 LOC removed) - **Multi-Printer Selection** - Send prints or queue items to multiple printers at once: - Checkbox selection for multiple printers in reprint and add-to-queue modes - "Select all" / "Clear" buttons for quick selection - Progress indicator during multi-printer submission - Ideal for print farms with identical filament configurations - **Per-Printer AMS Mapping** - Configure filament slot mapping individually for each printer: - Enable "Custom mapping" checkbox under each selected printer - Auto-configure uses RFID data to match filaments automatically - Manual override for specific slot assignments - Match status indicator shows exact/partial/missing matches - Re-read button to refresh printer's loaded filaments - New setting in Settings → Filament to expand custom mapping by default - **Enhanced Add-to-Queue** - Now includes plate selection and print options: - Configure all print settings upfront instead of editing afterward - Filament mapping with manual override capability - **Print from File Manager** - Full print configuration when printing from library files: - Plate selection for multi-plate 3MF files with thumbnails - Filament slot mapping with comparison to loaded filaments - All print options (bed levelling, flow calibration, etc.) - **File Manager Print Button** - Print directly from multi-selection toolbar: - "Print" button appears when exactly one sliced file is selected - Opens full PrintModal with plate selection and print options - "Add to Queue" button now uses Clock icon for clarity - **Multiple Embedded Camera Viewers** - Open camera streams for multiple printers simultaneously in embedded mode: - Each viewer has its own remembered position and size - New viewers are automatically offset to prevent stacking - Printer-specific persistence in localStorage - **Navigation persistence** - Open cameras stay open when navigating away and back to Printers page - **Application Log Viewer** - View and filter application logs in real-time from System Information page: - Start/Stop live streaming with 2-second auto-refresh - Filter by log level (DEBUG, INFO, WARNING, ERROR) - Text search across messages and logger names - Clear logs with one click - Expandable multi-line log entries (stack traces, etc.) - Auto-scroll to follow new entries - **Deferred archive creation** - Queue items from File Manager no longer create archives upfront: - Queue items store `library_file_id` directly - Archives are created automatically when prints start - Reduces clutter in Archives from unprinted queued files - Queue displays library file name, thumbnail, and print time - **Expandable Color Picker** - Configure AMS Slot modal now has an expandable color palette: - 8 basic colors shown by default (White, Black, Red, Blue, Green, Yellow, Orange, Gray) - Click "+" to expand 24 additional colors (Cyan, Magenta, Purple, Pink, Brown, Beige, Navy, Teal, Lime, Gold, Silver, Maroon, Olive, Coral, Salmon, Turquoise, Violet, Indigo, Chocolate, Tan, Slate, Charcoal, Ivory, Cream) - Click "-" to collapse back to basic colors - **File Manager Sorting** - Printer file manager now has sorting options: - Sort by name (A-Z or Z-A) - Sort by size (smallest or largest first) - Sort by date (oldest or newest first) - Directories always sorted first - **Camera View Mode Setting** - Choose how camera streams open: - "New Window" (default): Opens camera in a separate browser window - "Embedded": Shows camera as a floating overlay on the main screen - Embedded viewer is draggable and resizable with persistent position/size - Configure in Settings → General → Camera section - **File Manager Rename** - Rename files and folders directly in File Manager: - Right-click context menu "Rename" option for files and folders - Inline rename button in list view - Validates filenames (no path separators allowed) - **File Manager Mobile Accessibility** - Improved touch device support: - Three-dot menu button always visible on mobile (hover-only on desktop) - Selection checkbox always visible on mobile devices - Better PWA experience for file management ### Changed - **Edit Queue Item modal** - Single printer selection only (reassigns item, doesn't duplicate) - **Edit Queue Item button** - Changed from "Print to X Printers" to "Save" ### Fixed - **File Manager folder navigation** - Fixed bug where opening a folder would briefly show files then jump back to root: - Removed `selectedFolderId` from useEffect dependency array that was causing a reset loop - Folder navigation now works correctly without resetting - **Queue items with library files** - Fixed 500 errors when listing/updating queue items from File Manager - **User preset AMS configuration** - Fixed user presets (inheriting from Bambu presets) showing empty fields in Bambu Studio after configuration: - Now correctly derives `tray_info_idx` from the preset's `base_id` when `filament_id` is null - User presets that inherit from Bambu presets (e.g., "# Overture Matte PLA @BBL H2D") now work correctly - **Faster AMS slot updates** - Frontend now updates immediately after configuring AMS slots: - Added WebSocket broadcast to AMS change callback for instant UI updates - Removed unnecessary delayed refetch that was causing slow updates --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:34:01 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#932
No description provided.