mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
Fixed two critical code quality issues identified in code review: 1. Auth Method Selector - Tailwind CSS Dynamic Classes: - Replaced dynamic class name concatenation with static class mapping - Tailwind JIT compiler requires complete class names at build time - Added getBadgeClasses() helper function with predefined color mappings - Prevents broken styling from unparseable dynamic classes 2. Claude CLI Detector - Async Terminal Detection: - Moved execSync loop to async/await pattern to prevent UI blocking - Refactored Linux terminal detection to run before Promise constructor - Prevents main process freezing during terminal emulator detection - Improves responsiveness on Linux systems Both fixes improve code reliability and user experience.