mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[PR #720] [MERGED] [Feature] Add material mismatch and insufficient filament checks #1108
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#1108
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/720
Author: @Keybored02
Created: 3/16/2026
Status: ✅ Merged
Merged: 3/16/2026
Merged by: @maziggy
Base:
dev← Head:feature/material_mismatch_3📝 Commits (10+)
25d1befAdd material mismatch check96d208cAdd insufficient filament warningba119a4Fix duplicated imports after mergee298126Fix spool assignments query, mismatch dialog premature closing, confirm modal black text, add missing de.ts, fr.ts, and ja.ts locales1c1d3f0Fix missing locales340fd59Fix formattingfcca966Refactor settings and update filament mismatch handling; add UI for filament checks and update localization strings489b985Merge branch 'dev' into feature/material_mismatch_31743655Merge branch 'dev' into feature/material_mismatch_36243281Update ja.ts📊 Changes
16 files changed (+436 additions, -23 deletions)
View changed files
📝
backend/app/api/routes/settings.py(+1 -0)📝
backend/app/schemas/settings.py(+5 -0)📝
frontend/src/api/client.ts(+2 -0)📝
frontend/src/components/AssignSpoolModal.tsx(+172 -8)📝
frontend/src/components/ConfirmModal.tsx(+2 -2)📝
frontend/src/components/PrintModal/index.tsx(+130 -6)📝
frontend/src/components/SpoolmanSettings.tsx(+1 -0)📝
frontend/src/i18n/locales/de.ts(+12 -0)📝
frontend/src/i18n/locales/en.ts(+12 -0)📝
frontend/src/i18n/locales/fr.ts(+13 -1)📝
frontend/src/i18n/locales/it.ts(+13 -1)📝
frontend/src/i18n/locales/ja.ts(+12 -1)📝
frontend/src/i18n/locales/pt-BR.ts(+12 -0)📝
frontend/src/i18n/locales/zh-CN.ts(+12 -0)📝
frontend/src/pages/PrintersPage.tsx(+10 -4)📝
frontend/src/pages/SettingsPage.tsx(+27 -0)📄 Description
Description
Add material mismatch check when assigning non-BL spools. The warning can be dismissed. Added checks prior to printing for insufficient filament on the spool. This is a re-merge of #361, #502 and #572 for branch dev.
Type of Change
Changes Made
trayInfo.typeagainstselectedSpool?.material. If it's a perfect match, check thetrayInfo.profileandselectedSpool?.profile. If they do match, no prompt to confirm. If type cannot be matched to anything, or it matches partially with some char excluded, or the profiles do not match, prompt to confirmPrintModalScreenshots
Testing
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.