1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[PR #101] [CLOSED] v0.1.6b9 #931

Closed
opened 2026-05-07 00:15:02 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/101
Author: @maziggy
Created: 1/19/2026
Status: Closed

Base: mainHead: 0.1.6-final


📝 Commits (10+)

  • 554ccd9 Root cause: Frontend was firing multiple concurrent PUT requests when toggling MQTT, causing SQLite "database is locked" errors after 6-second timeout.
  • 33829f9 Add Fusion 360 (.f3d) design file attachments to archives
  • c5cb66b Add Home Assistant smart plug integration
  • a52bc2c Minor improvements for HA smart plug module
  • abbcb65 Fix multi-plate 3MF metadata extraction (Issue #92)
  • 63c42ad Add multi-plate 3MF plate selection for reprinting (Issue #93)
  • 7e0cfdd Frontend ESLint Warnings (8 fixed)
  • 8e92b89 Add File Manager and enhanced Queue features
  • 5c351a5 Added missing frontend tests
  • 76fdc1f Changed version; Updated CHANGELOG

📊 Changes

86 files changed (+19544 additions, -9861 deletions)

View changed files

📝 CHANGELOG.md (+175 -652)
📝 README.md (+2 -2)
📝 backend/app/api/routes/archives.py (+361 -36)
backend/app/api/routes/library.py (+1168 -0)
📝 backend/app/api/routes/notification_templates.py (+1 -0)
📝 backend/app/api/routes/print_queue.py (+14 -0)
📝 backend/app/api/routes/settings.py (+55 -5)
📝 backend/app/api/routes/smart_plugs.py (+59 -6)
📝 backend/app/api/routes/webhook.py (+6 -2)
📝 backend/app/core/config.py (+1 -1)
📝 backend/app/core/database.py (+130 -0)
📝 backend/app/main.py (+6 -2)
📝 backend/app/models/__init__.py (+3 -0)
📝 backend/app/models/archive.py (+1 -0)
backend/app/models/library.py (+86 -0)
📝 backend/app/models/print_queue.py (+11 -0)
📝 backend/app/models/smart_plug.py (+7 -2)
📝 backend/app/schemas/archive.py (+5 -0)
backend/app/schemas/library.py (+236 -0)
📝 backend/app/schemas/print_queue.py (+25 -0)

...and 66 more files

📄 Description

v0.1.6b9

New Features

  • Add to Queue from File Manager - Queue sliced files directly from File Manager:
    • New "Add to Queue" toolbar button appears when sliced files are selected
    • Context menu and list view button options for individual files
    • Supports multiple file selection for batch queueing
    • Only accepts sliced files (.gcode or .gcode.3mf)
    • Creates archive and queue item in one action
  • Print Queue plate selection and options - Full print configuration in queue edit modal:
    • Plate selection grid with thumbnails for multi-plate 3MF files
    • Print options section (bed levelling, flow calibration, vibration calibration, layer inspect, timelapse, use AMS)
    • Options saved with queue item and used when print starts
  • Multi-plate 3MF plate selection - When reprinting multi-plate 3MF files (exported with "All sliced file"), users can now select which plate to print:
    • Plate selection grid with thumbnails, names, and print times
    • Filament requirements filtered to show only selected plate's filaments
    • Prevents incorrect filament mapping across plates
    • Closes #93
  • Home Assistant smart plug integration - Control any Home Assistant switch/light entity as a smart plug:
    • Configure HA connection (URL + Long-Lived Access Token) in Settings → Network
    • Add HA-controlled plugs via Settings → Plugs → Add Smart Plug → Home Assistant tab
    • Entity dropdown shows all available switch/light/input_boolean entities
    • Full automation support: auto-on, auto-off, scheduling, power alerts
    • Works alongside existing Tasmota plugs
    • Closes #91
  • Fusion 360 design file attachments - Attach F3D files to archives for complete design tracking:
    • Upload F3D files via archive context menu ("Upload F3D" / "Replace F3D")
    • Cyan badge on archive card indicates attached F3D file (next to source 3MF badge)
    • Click badge to download, or use "Download F3D" in context menu
    • F3D files included in backup/restore
    • API tests for F3D endpoints

Fixed

  • Multi-plate 3MF metadata extraction - Single-plate exports from multi-plate projects now show correct thumbnail and name:
    • Extracts plate index from slice_info.config metadata
    • Uses correct plate thumbnail (e.g., plate_5.png instead of plate_1.png)
    • Appends "Plate N" to print name for plates > 1
    • Closes #92

🔄 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/101 **Author:** [@maziggy](https://github.com/maziggy) **Created:** 1/19/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `0.1.6-final` --- ### 📝 Commits (10+) - [`554ccd9`](https://github.com/maziggy/bambuddy/commit/554ccd9fdddc66229e5023682053a8cd4d7ef7de) Root cause: Frontend was firing multiple concurrent PUT requests when toggling MQTT, causing SQLite "database is locked" errors after 6-second timeout. - [`33829f9`](https://github.com/maziggy/bambuddy/commit/33829f975fcb3fd0205860f24075c563acf27fe7) Add Fusion 360 (.f3d) design file attachments to archives - [`c5cb66b`](https://github.com/maziggy/bambuddy/commit/c5cb66b7730b5a0bb286acf8102f0e0b8d2cb0ff) Add Home Assistant smart plug integration - [`a52bc2c`](https://github.com/maziggy/bambuddy/commit/a52bc2c97374a5805adabb736149ad573ce46c4c) Minor improvements for HA smart plug module - [`abbcb65`](https://github.com/maziggy/bambuddy/commit/abbcb65fb6c313a1144dcdac125a81829e67b45c) Fix multi-plate 3MF metadata extraction (Issue #92) - [`63c42ad`](https://github.com/maziggy/bambuddy/commit/63c42ad11363febc81d651bd3ffbb8aca5adfca2) Add multi-plate 3MF plate selection for reprinting (Issue #93) - [`7e0cfdd`](https://github.com/maziggy/bambuddy/commit/7e0cfdda14031e749caf5ad4214709876f99385f) Frontend ESLint Warnings (8 fixed) - [`8e92b89`](https://github.com/maziggy/bambuddy/commit/8e92b89d3e36635a6a4b646059abed5d99f17436) Add File Manager and enhanced Queue features - [`5c351a5`](https://github.com/maziggy/bambuddy/commit/5c351a563334eabdd43932abc51157170f08e0f9) Added missing frontend tests - [`76fdc1f`](https://github.com/maziggy/bambuddy/commit/76fdc1f79a80fe5a74875072fdb0e71f78eb1e53) Changed version; Updated CHANGELOG ### 📊 Changes **86 files changed** (+19544 additions, -9861 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+175 -652) 📝 `README.md` (+2 -2) 📝 `backend/app/api/routes/archives.py` (+361 -36) ➕ `backend/app/api/routes/library.py` (+1168 -0) 📝 `backend/app/api/routes/notification_templates.py` (+1 -0) 📝 `backend/app/api/routes/print_queue.py` (+14 -0) 📝 `backend/app/api/routes/settings.py` (+55 -5) 📝 `backend/app/api/routes/smart_plugs.py` (+59 -6) 📝 `backend/app/api/routes/webhook.py` (+6 -2) 📝 `backend/app/core/config.py` (+1 -1) 📝 `backend/app/core/database.py` (+130 -0) 📝 `backend/app/main.py` (+6 -2) 📝 `backend/app/models/__init__.py` (+3 -0) 📝 `backend/app/models/archive.py` (+1 -0) ➕ `backend/app/models/library.py` (+86 -0) 📝 `backend/app/models/print_queue.py` (+11 -0) 📝 `backend/app/models/smart_plug.py` (+7 -2) 📝 `backend/app/schemas/archive.py` (+5 -0) ➕ `backend/app/schemas/library.py` (+236 -0) 📝 `backend/app/schemas/print_queue.py` (+25 -0) _...and 66 more files_ </details> ### 📄 Description v0.1.6b9 ### New Features - **Add to Queue from File Manager** - Queue sliced files directly from File Manager: - New "Add to Queue" toolbar button appears when sliced files are selected - Context menu and list view button options for individual files - Supports multiple file selection for batch queueing - Only accepts sliced files (.gcode or .gcode.3mf) - Creates archive and queue item in one action - **Print Queue plate selection and options** - Full print configuration in queue edit modal: - Plate selection grid with thumbnails for multi-plate 3MF files - Print options section (bed levelling, flow calibration, vibration calibration, layer inspect, timelapse, use AMS) - Options saved with queue item and used when print starts - **Multi-plate 3MF plate selection** - When reprinting multi-plate 3MF files (exported with "All sliced file"), users can now select which plate to print: - Plate selection grid with thumbnails, names, and print times - Filament requirements filtered to show only selected plate's filaments - Prevents incorrect filament mapping across plates - Closes [#93](https://github.com/maziggy/bambuddy/issues/93) - **Home Assistant smart plug integration** - Control any Home Assistant switch/light entity as a smart plug: - Configure HA connection (URL + Long-Lived Access Token) in Settings → Network - Add HA-controlled plugs via Settings → Plugs → Add Smart Plug → Home Assistant tab - Entity dropdown shows all available switch/light/input_boolean entities - Full automation support: auto-on, auto-off, scheduling, power alerts - Works alongside existing Tasmota plugs - Closes [#91](https://github.com/maziggy/bambuddy/issues/91) - **Fusion 360 design file attachments** - Attach F3D files to archives for complete design tracking: - Upload F3D files via archive context menu ("Upload F3D" / "Replace F3D") - Cyan badge on archive card indicates attached F3D file (next to source 3MF badge) - Click badge to download, or use "Download F3D" in context menu - F3D files included in backup/restore - API tests for F3D endpoints ### Fixed - **Multi-plate 3MF metadata extraction** - Single-plate exports from multi-plate projects now show correct thumbnail and name: - Extracts plate index from slice_info.config metadata - Uses correct plate thumbnail (e.g., plate_5.png instead of plate_1.png) - Appends "Plate N" to print name for plates > 1 - Closes [#92](https://github.com/maziggy/bambuddy/issues/92) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:15:02 +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-maziggy-1#931
No description provided.