Skip to content

feat: allow for manual color entry - #18

Merged
hazedav merged 1 commit into
masterfrom
manual-color
Mar 4, 2026
Merged

hazedav merged 1 commit into
masterfrom
manual-color

Conversation

@hazedav

@hazedav hazedav commented Mar 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add option to enter a hex color code manually instead of selecting a league/team, allowing users to find filament matches for any arbitrary color
  • Add get_manual_hex_color() for hex input with validation and normalization (accepts with/without #, case-insensitive)
  • Add display_manual_color() to show exact and similar filament matches for manually entered colors, with the same weighted scoring, purchase link, and top manufacturer logic as team color lookups
  • Add test suite for main.py CLI functions (38 tests covering league selection, manual hex entry, filament type selection, and display functions)

Test plan

  • make test — all 438 tests pass
  • make lint — no linting errors
  • Manual testing: run CLI, select option 0, enter a hex code, verify filament matches display correctly

🤖 Generated with Claude Code

@hazedav
hazedav merged commit af0d8be into master Mar 4, 2026
1 check passed
@hazedav
hazedav deleted the manual-color branch March 4, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant