Clean up fake colors and add missing Bambu Lab colors
All checks were successful
Deploy / detect (push) Successful in 4s
Deploy / deploy-api (push) Successful in 34s
Deploy / deploy-frontend (push) Successful in 2m4s
Deploy / tag-deploy (push) Successful in 4s

- Add migration 023: delete 67 fake colors, rename IronGray typo, add 16 missing real colors from spreadsheet
- Fix frontend color mappings: remove typo duplicates, rename Silk prefixed colors to match catalog
- Add Translucent Teal, Phantom Blue, Mystic Magenta mappings
- Remove non-existent ABS GF, TPU 95A HF entries
- Update tests for corrected color names
This commit is contained in:
DaX
2026-03-05 03:04:19 +01:00
parent cff73c1381
commit d55d0e5e02
7 changed files with 125 additions and 33 deletions

View File

@@ -33,9 +33,9 @@ describe('Bambu Lab Colors Data', () => {
});
});
it('should have Unknown fallback color', () => {
expect(bambuLabColors).toHaveProperty('Unknown');
expect(bambuLabColors.Unknown.hex).toBe('#CCCCCC');
it('should return fallback for unknown colors', () => {
const result = getFilamentColor('NonExistentColor');
expect(result.hex).toBe('#CCCCCC');
});
});

View File

@@ -21,9 +21,9 @@ describe('Bambu Lab Colors Complete Data', () => {
});
it('should have silk colors', () => {
expect(bambuLabColors).toHaveProperty('Silk Aurora Purple');
expect(bambuLabColors).toHaveProperty('Silk Phantom Blue');
expect(bambuLabColors).toHaveProperty('Silk Mystic Magenta');
expect(bambuLabColors).toHaveProperty('Aurora Purple');
expect(bambuLabColors).toHaveProperty('Phantom Blue');
expect(bambuLabColors).toHaveProperty('Mystic Magenta');
});
it('should have valid hex colors', () => {