mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[PR #614] [CLOSED] Printer card UI improvements and AMSUnitCard extraction #1080
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
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#1080
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/614
Author: @aneopsy
Created: 3/5/2026
Status: ❌ Closed
Base:
0.2.3b1← Head:printer-ui-improvement📝 Commits (1)
980803aPrinter card UI improvements and AMSUnitCard extraction📊 Changes
12 files changed (+1407 additions, -901 deletions)
View changed files
📝
frontend/src/__tests__/components/Card.test.tsx(+2 -1)➕
frontend/src/components/AMSUnitCard.tsx(+1015 -0)➕
frontend/src/components/AmsNameHoverCard.tsx(+198 -0)📝
frontend/src/components/Card.tsx(+1 -1)📝
frontend/src/components/PrinterQueueWidget.tsx(+2 -2)📝
frontend/src/i18n/locales/de.ts(+1 -0)📝
frontend/src/i18n/locales/en.ts(+1 -0)📝
frontend/src/i18n/locales/fr.ts(+2 -1)📝
frontend/src/i18n/locales/it.ts(+1 -0)📝
frontend/src/i18n/locales/ja.ts(+1 -0)📝
frontend/src/i18n/locales/pt-BR.ts(+1 -0)📝
frontend/src/pages/PrintersPage.tsx(+182 -896)📄 Description
Description
Refactor printer card UI: extract AMSUnitCard into a standalone component, fix dual-nozzle external spool display, and improve card layout responsiveness.
FIx #610 #611 #612 #402
Type of Change
Changes Made
frontend/src/components/AMSUnitCard.tsx, removing ~870 lines of dead inline AMS/HT-AMS code and unused SVG helpers (NozzleBadge,HumidityIndicator,TemperatureIndicator,WaterDrop*,Thermometer*) fromPrintersPage.tsxvt_trayby extruder index so the left column only shows Ext-L (id 254) and the right column only shows Ext-R (id 255) — previously both spools appeared in both columnsflex flex-col h-fullon Card,flex flex-col gap-2 flex-1on CardContent,mt-autoon bottom buttons so they always pin to the card bottomCardContentnow usesp-3 lg:p-6instead ofp-6mb-3fromPrinterQueueWidget(parentgap-2handles spacing).planning/to prevent GSD planning artifacts from being committedTesting
npm run build(tsc -b + Vite) compiles cleanlyChecklist
Additional Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.