mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[PR #1205] [MERGED] UI/multi color handling #1175
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#1175
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/1205
Author: @maugsburger
Created: 5/3/2026
Status: ✅ Merged
Merged: 5/5/2026
Merged by: @maziggy
Base:
dev← Head:ui/multi-color-handling📝 Commits (10+)
03a08f6Improved Swatch Designs825f01acheckerboard and multi-gradient227235cMerge branch 'dev' into ui/multi-color-handlingb9b90a2Merge branch 'dev' into ui/multi-color-handling1cad1e8Merge branch 'dev' into ui/multi-color-handling8f5056eAdd helper script for spool effect tests859df97Fix sparkle counting, align pattern generation comment with the code0bde9bere-add random transparency to spark effect202dbd3switch to own hash and mulberry implementation, require swatchTypecbbc1adUse and cache buildFilamentBackground FilamentSwatch()📊 Changes
10 files changed (+463 additions, -95 deletions)
View changed files
📝
frontend/src/__tests__/components/FilamentSwatch.test.tsx(+88 -18)📝
frontend/src/components/ColorCatalogSettings.tsx(+1 -0)📝
frontend/src/components/FilamentSwatch.tsx(+11 -25)📝
frontend/src/components/filamentSwatchHelpers.ts(+74 -34)📝
frontend/src/components/spool-form/ColorSection.tsx(+2 -0)📝
frontend/src/pages/InventoryPage.tsx(+3 -0)➕
frontend/src/utils/random.ts(+80 -0)➕
scripts/fill_spool_effects.py(+204 -0)➖
test_backend.sh(+0 -11)➖
test_frontend.sh(+0 -7)📄 Description
Description
Rework multi color swatch handling
Related Issue
https://github.com/maziggy/bambuddy/issues/1154
Documentation
Not done so far. I will update the documentation as soon as I know this PR is considererd mergeable.
Companion docs PRs (delete lines that don't apply):
Pick one:
Type of Change
Changes Made
Only UI rendering changes:
Screenshots
Testing
Looked at the changes in a browser, updated the automated tests.
Checklist
Additional Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.