mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[PR #572] [CLOSED] Add material mismatch and insufficient filament checks #1074
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#1074
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/572
Author: @Keybored02
Created: 3/2/2026
Status: ❌ Closed
Base:
0.2.3b1← Head:feature/material_mismatch_2📝 Commits (10+)
8ddc736Add material mismatch checkca04660Add insufficient filament warningef84987Fix duplicated imports after merged775600Fix spool assignments query, mismatch dialog premature closing, confirm modal black text, add missing de.ts, fr.ts, and ja.ts localesb531808Fix missing locales06b04dbFix formatting1d89e6eLocales fix #28aaa9bdAdd material mismatch checkcf4c6a3Add insufficient filament warninge554abbFix duplicated imports after merge📊 Changes
16 files changed (+518 additions, -216 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(+264 -128)📝
frontend/src/components/ConfirmModal.tsx(+2 -2)📝
frontend/src/components/PrintModal/index.tsx(+131 -7)📝
frontend/src/components/SpoolmanSettings.tsx(+1 -0)📝
frontend/src/i18n/locales/de.ts(+12 -2)📝
frontend/src/i18n/locales/en.ts(+12 -2)📝
frontend/src/i18n/locales/fr.ts(+11 -2)📝
frontend/src/i18n/locales/it.ts(+18 -63)📝
frontend/src/i18n/locales/ja.ts(+12 -4)📝
frontend/src/i18n/locales/pt-BR.ts(+12 -2)📝
frontend/src/i18n/locales/zh-CN.ts(+1 -0)📝
frontend/src/pages/PrintersPage.tsx(+7 -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 and #502 for branch 0.2.2b1.
Related Issue
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.