mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[PR #570] [MERGED] Feature AMS Info Card #1073
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#1073
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/570
Author: @cadtoolbox
Created: 3/2/2026
Status: ✅ Merged
Merged: 3/5/2026
Merged by: @maziggy
Base:
0.2.2b2← Head:dev_amsinfocard📝 Commits (10+)
d657219AMS Labels addition to PrintersPage71bf670Added database reinitialization for schema migrations on database restoree5fa745Bug fixes and AMS Label persistence updatese591d04Update database.py to resolve PR conflictsa6148fbMerge branch '0.2.2b1' into dev_amsinfocardbfe4325PR Comment Resolutionec0d64fMerge branch 'dev_amsinfocard' of https://github.com/cadtoolbox/bambuddy into dev_amsinfocard81c618bMerge branch '0.2.2b1' into dev_amsinfocard4062291Resolve conflicts in database.py for PR#570c126cd5Merge branch 'dev_amsinfocard' of https://github.com/cadtoolbox/bambuddy into dev_amsinfocard📊 Changes
20 files changed (+786 additions, -36 deletions)
View changed files
📝
backend/app/api/routes/inventory.py(+52 -1)📝
backend/app/api/routes/printers.py(+124 -0)📝
backend/app/api/routes/settings.py(+6 -3)📝
backend/app/core/database.py(+40 -0)📝
backend/app/models/__init__.py(+2 -0)➕
backend/app/models/ams_label.py(+30 -0)📝
backend/app/schemas/printer.py(+7 -0)📝
backend/app/schemas/spool.py(+1 -0)📝
backend/app/services/bambu_mqtt.py(+143 -3)📝
backend/app/services/printer_manager.py(+4 -0)📝
frontend/src/api/client.ts(+20 -0)➕
frontend/src/components/FilamentSlotCircle.tsx(+47 -0)📝
frontend/src/i18n/locales/de.ts(+10 -0)📝
frontend/src/i18n/locales/en.ts(+10 -0)📝
frontend/src/i18n/locales/fr.ts(+10 -0)📝
frontend/src/i18n/locales/it.ts(+10 -0)📝
frontend/src/i18n/locales/ja.ts(+10 -0)📝
frontend/src/i18n/locales/pt-BR.ts(+10 -0)📝
frontend/src/pages/InventoryPage.tsx(+3 -2)📝
frontend/src/pages/PrintersPage.tsx(+247 -27)📄 Description
Description
Adds two UX improvements to the AMS display on the Printers page: a hover popup on each AMS label exposing hardware details and a user-editable friendly name, and 1-based slot numbers centered inside each filament color circle with auto-inverted contrast.
AMS name hover popup
Hovering the AMS label (e.g. AMS-A) opens a popover showing:
Related Issue
Fixes #464
Type of Change
Changes Made
Backend
_handle_version_info in bambu_mqtt.py extended to parse ams/ modules and write sw_ver/sn back onto the stored AMS unit dict.
Frontend
Bug Fixes
Screenshots
Testing
Checklist
Additional Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.