π Bug Fixes
- Centralize badge styles β Extract
BADGE_STYLESconstant toconstants.tsas single source of truth for signal-color badge classes, eliminating duplication acrossRoleBadge,StatusBadge, and admin components (#92) - Prototype-safe role lookup β Switch
RoleBadgefrom plain object indexing toMap.get()to prevent inherited keys liketoString/constructorfrom bypassing the default style fallback (#92)
π§ Maintenance
- Extract shared RoleBadge component β Deduplicate
RoleBadgefromUsersPanel.tsxandApiKeyDisplay.tsxintofrontend/src/components/shared/RoleBadge.tsx(#92)
Full Changelog: v1.7.0...v1.7.1