[PR #258] [MERGED] Cadtoolbox - Issue# 248 Files Manager Print/Schedule Consistency with Archives #977

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

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/258
Author: @cadtoolbox
Created: 2/4/2026
Status: Merged
Merged: 2/4/2026
Merged by: @maziggy

Base: 0.1.8bHead: cadtoolbox/248


📝 Commits (10+)

  • 0b97303 Initial plan
  • 2ac9ae6 Replace FileManagerPage upload with ArchivesPage UploadModal component
  • 3c26313 Update FileManagerPage tests for 3MF upload modal
  • 556493f Implement hybrid upload: advanced 3MF extraction + basic upload for other files
  • 1f828c4 Initial plan
  • 3811c8e Merge branch 'copilot/update-file-upload-method' into copilot/fix-pull-request-1-failures
  • 562b46a Fix PR #1 failures: Add German translations and fix backend linting
  • a57f48f Merge pull request #2 from cadtoolbox/copilot/fix-pull-request-1-failures
  • c6f4376 Initial plan
  • 248cbaf Fix .3mf file upload to use Library API instead of Archives API

📊 Changes

11 files changed (+8999 additions, -117 deletions)

View changed files

📝 backend/app/api/routes/library.py (+18 -0)
📝 backend/app/schemas/library.py (+7 -0)
📝 frontend/src/__tests__/pages/FileManagerPage.test.tsx (+144 -57)
📝 frontend/src/api/client.ts (+6 -0)
📝 frontend/src/components/PrintModal/index.tsx (+8 -1)
📝 frontend/src/i18n/locales/de.ts (+5 -2)
📝 frontend/src/i18n/locales/en.ts (+5 -2)
📝 frontend/src/i18n/locales/ja.ts (+1 -0)
📝 frontend/src/pages/FileManagerPage.tsx (+139 -55)
static/assets/index-B7d6gcUW.css (+1 -0)
static/assets/index-BfIGXFHd.js (+8665 -0)

📄 Description

Description

  • Enhanced: Added the printer model extraction from .3mf upload within the File Manager as it is in the Archives

  • Enhanced: Added printer model value to the Files Manager card.

  • Enhanced: Made the print direct to printer the same in Files Manager to match Archives dialog where it filters to printers that match model slice.

  • Enhanced: Changed the 'Add to Queue' function to 'Schedule' within the File Manager.

  • Enhanced: Included the 'Any Model' option when printing using the 'Schedule' function within the File Manager.

  • Enhanced: Added 'Uploaded By' column to the list view within File Manager.

  • Enhanced: Added ability to filter files in the Files Manager by who uploaded the file.

  • Enhanced: Contrast of file card colors within Files Manager.

  • Fixed: Disabled 'Schedule' (Add to Queue) button in Files Manager when more than 1 file is selected.

https://github.com/maziggy/bambuddy/issues/248

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Code refactoring
  • Performance improvement
  • Test addition or update

Changes Made

Screenshots

2026-02-04_06-35-56
2026-02-04_06-36-40

Testing

  • I have tested this on my local machine
  • I have tested with my printer model: X1E, H2D

Checklist

  • My code follows the project's coding style
  • I have commented my code where necessary
  • I have updated the documentation (if needed)
  • My changes generate no new warnings
  • I have tested my changes thoroughly

Additional Notes

This is my first contribution. Please confirm my changes are acceptable.


🔄 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/258 **Author:** [@cadtoolbox](https://github.com/cadtoolbox) **Created:** 2/4/2026 **Status:** ✅ Merged **Merged:** 2/4/2026 **Merged by:** [@maziggy](https://github.com/maziggy) **Base:** `0.1.8b` ← **Head:** `cadtoolbox/248` --- ### 📝 Commits (10+) - [`0b97303`](https://github.com/maziggy/bambuddy/commit/0b97303b9bcdde96699cf7350966892c819b18f0) Initial plan - [`2ac9ae6`](https://github.com/maziggy/bambuddy/commit/2ac9ae6178a9a4df5e1bf7aa7652e34331741fae) Replace FileManagerPage upload with ArchivesPage UploadModal component - [`3c26313`](https://github.com/maziggy/bambuddy/commit/3c2631348aeb3468f0a6aed1c67a9af054e90f21) Update FileManagerPage tests for 3MF upload modal - [`556493f`](https://github.com/maziggy/bambuddy/commit/556493ff5b303cbfe592a6c43e096162ce7a4fb0) Implement hybrid upload: advanced 3MF extraction + basic upload for other files - [`1f828c4`](https://github.com/maziggy/bambuddy/commit/1f828c49e2e02be3e595e3b2d900ec610599bc72) Initial plan - [`3811c8e`](https://github.com/maziggy/bambuddy/commit/3811c8e63728d2593e39771cf31ac42b76c595d2) Merge branch 'copilot/update-file-upload-method' into copilot/fix-pull-request-1-failures - [`562b46a`](https://github.com/maziggy/bambuddy/commit/562b46ad820dab79fb3fee7da7c1fdc3bd6fef54) Fix PR #1 failures: Add German translations and fix backend linting - [`a57f48f`](https://github.com/maziggy/bambuddy/commit/a57f48f208f24719568d90cc331934b7122e9cc7) Merge pull request #2 from cadtoolbox/copilot/fix-pull-request-1-failures - [`c6f4376`](https://github.com/maziggy/bambuddy/commit/c6f437608c58ed60f1346889bbdb7b8d09dc6b5c) Initial plan - [`248cbaf`](https://github.com/maziggy/bambuddy/commit/248cbaf8f0941e30db118921b52cffc82eafaeb7) Fix .3mf file upload to use Library API instead of Archives API ### 📊 Changes **11 files changed** (+8999 additions, -117 deletions) <details> <summary>View changed files</summary> 📝 `backend/app/api/routes/library.py` (+18 -0) 📝 `backend/app/schemas/library.py` (+7 -0) 📝 `frontend/src/__tests__/pages/FileManagerPage.test.tsx` (+144 -57) 📝 `frontend/src/api/client.ts` (+6 -0) 📝 `frontend/src/components/PrintModal/index.tsx` (+8 -1) 📝 `frontend/src/i18n/locales/de.ts` (+5 -2) 📝 `frontend/src/i18n/locales/en.ts` (+5 -2) 📝 `frontend/src/i18n/locales/ja.ts` (+1 -0) 📝 `frontend/src/pages/FileManagerPage.tsx` (+139 -55) ➕ `static/assets/index-B7d6gcUW.css` (+1 -0) ➕ `static/assets/index-BfIGXFHd.js` (+8665 -0) </details> ### 📄 Description ## Description <!-- Provide a brief description of your changes --> - Enhanced: Added the printer model extraction from .3mf upload within the File Manager as it is in the Archives - Enhanced: Added printer model value to the Files Manager card. - Enhanced: Made the print direct to printer the same in Files Manager to match Archives dialog where it filters to printers that match model slice. - Enhanced: Changed the 'Add to Queue' function to 'Schedule' within the File Manager. - Enhanced: Included the 'Any Model' option when printing using the 'Schedule' function within the File Manager. - Enhanced: Added 'Uploaded By' column to the list view within File Manager. - Enhanced: Added ability to filter files in the Files Manager by who uploaded the file. - Enhanced: Contrast of file card colors within Files Manager. - Fixed: Disabled 'Schedule' (Add to Queue) button in Files Manager when more than 1 file is selected. ## Related Issue https://github.com/maziggy/bambuddy/issues/248 ## Type of Change <!-- Mark the relevant option with an "x" --> - [X] Bug fix (non-breaking change that fixes an issue) - [X] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [ ] Code refactoring - [ ] Performance improvement - [ ] Test addition or update ## Changes Made <!-- List the specific changes made in this PR --> ## Screenshots <!-- If applicable, add screenshots to demonstrate your changes --> ![2026-02-04_06-35-56](https://github.com/user-attachments/assets/75cd2279-261d-4cd3-8d41-d6cc924a45e4) ![2026-02-04_06-36-40](https://github.com/user-attachments/assets/f6908164-66fb-4f79-9659-5dc42b43cabf) ## Testing <!-- Describe how you tested your changes --> - [X] I have tested this on my local machine - [X] I have tested with my printer model: X1E, H2D ## Checklist - [X] My code follows the project's coding style - [X] I have commented my code where necessary - [ ] I have updated the documentation (if needed) - [X] My changes generate no new warnings - [X] I have tested my changes thoroughly ## Additional Notes <!-- Add any additional information that reviewers should know --> This is my first contribution. Please confirm my changes are acceptable. --- <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:18 +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#977
No description provided.