You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(ui): migrate from emojis to Hugeicons for consistent icon system (#286)
* refactor(ui): migrate from emojis to Hugeicons for consistent icon system
Replace all emoji characters with Hugeicons React components across the
web-ui codebase. This ensures consistency with the Nova design system and
provides proper accessibility attributes (aria-hidden) for icons.
Key changes:
- Replace emoji literals (🔒, ⚠️, ✅, etc.) with Hugeicons components
- Rename utility files to .tsx for JSX return types
- Add getCategoryIcon() and getStatusIcon() functions for type-safe icons
- Update all test files with comprehensive Hugeicons mocks
- Update jest.setup.js with global icon mocks
Components updated: AgentCard, BlockerBadge, ErrorBoundary, TaskTreeView,
QualityGateStatus, ReviewFindings, ReviewSummary, DiscoveryProgress, and more
Test results: 1805 tests passing, build successful
* fix(ui): address CodeRabbit review feedback for icon migration
- Remove duplicate warning icon in CheckpointRestore (inline SVG + emoji)
- Update stale .bg-blue-50 test selectors to .bg-muted (Nova palette)
- Correct misleading comment about Hugeicons data-testid in AgentList test
- Update CheckpointRestore test to match separated emoji/text structure
* fix(ui): complete Hugeicons migration and fix redundant className
- Replace success message inline SVG with CheckmarkCircle01Icon
- Remove redundant text-2xl wrapper (icons already sized via h-5 w-5)
- Fix redundant iconProps className in getStatusIcon utility
- Update test mock to include CheckmarkCircle01Icon
---------
Co-authored-by: Test User <test@example.com>
0 commit comments