mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[PR #569] [MERGED] [Feature]: Printer Page - Add a print button & Drop zone on the printer card #1072
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy-maziggy-1#1072
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/maziggy/bambuddy/pull/569
Author: @aneopsy
Created: 3/2/2026
Status: ✅ Merged
Merged: 3/3/2026
Merged by: @maziggy
Base:
0.2.2b1← Head:printer-print📝 Commits (8)
74dd536Add printer card print flow with drag-drop and reusable LibraryUploadModalb9a886aAdd printer compatibility check for drag-drop and upload-to-print flows4d997e5Improve FileUploadModal: auto-close on success, inline errors, file validation, and i18n4423209Clean up incompatible files from library and fix print button i18na3f664fAdd printer information modal accessible from card 3-dot menu99c49d0Extract getPrinterImage and getWifiStrength into shared printer utils29f7ecfMerge branch '0.2.2b1' into printer-print7a36ef7Merge branch '0.2.2b1' into printer-print📊 Changes
18 files changed (+10417 additions, -414 deletions)
View changed files
➕
frontend/src/__tests__/components/FileUploadModal.test.tsx(+654 -0)📝
frontend/src/__tests__/pages/FileManagerPage.test.tsx(+112 -12)➕
frontend/src/components/FileUploadModal.tsx(+352 -0)📝
frontend/src/components/PrintModal/index.tsx(+28 -22)📝
frontend/src/components/PrintModal/types.ts(+2 -0)➕
frontend/src/components/PrinterInfoModal.tsx(+246 -0)📝
frontend/src/i18n/locales/de.ts(+18 -1)📝
frontend/src/i18n/locales/en.ts(+18 -1)📝
frontend/src/i18n/locales/fr.ts(+18 -1)📝
frontend/src/i18n/locales/it.ts(+18 -1)📝
frontend/src/i18n/locales/ja.ts(+17 -0)📝
frontend/src/i18n/locales/pt-BR.ts(+18 -1)📝
frontend/src/pages/FileManagerPage.tsx(+3 -331)📝
frontend/src/pages/PrintersPage.tsx(+189 -43)➕
frontend/src/utils/printer.ts(+25 -0)➖
static/assets/index-C8l0CpBG.css(+0 -1)➕
static/assets/index-DCSTzx1f.css(+1 -0)➕
static/assets/index-DweJfV_v.js(+8698 -0)📄 Description
Extract inline upload modal from FileManagerPage into a reusable LibraryUploadModal component. Add a Print button and drag-drop zone to printer cards that upload files to the library and open PrintModal with the printer pre-selected. Only .gcode/.gcode.3mf files are accepted for printing. PrintModal hides printer selector when a printer is provided via initialSelectedPrinterIds prop.
Related Issue
Fixes #567
Type of Change
Changes Made
LibraryUploadModal (new component)
Printer Card - Print button
Printer Card - Drag-and-drop
PrintModal enhancements
Cleanup
Tests
Screenshots
When dropping a file:

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