mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-12 02:37:45 +08:00
feat(dashboard): complete icon unification across all views
- Update home.js: inbox, calendar, list-checks icons - Update project-overview.js: code-2, blocks, component, git-branch, sparkles, bug, wrench, book-open icons - Update session-detail.js: list-checks, package, file-text, ruler, scale, search icons for tabs - Update lite-tasks.js: zap, file-edit, wrench, calendar, list-checks, ruler, package, file-text icons - Update mcp-manager.js: plug, building-2, user, map-pin, check-circle, x-circle, circle-dashed, lock icons - Update hook-manager.js: webhook, pencil, trash-2, clock, check-circle, bell, octagon-x icons - Add getHookEventIconLucide() helper function - Initialize Lucide icons after dynamic content rendering All emoji icons replaced with consistent Lucide SVG icons
This commit is contained in:
@@ -271,3 +271,13 @@ function getHookEventIcon(event) {
|
||||
};
|
||||
return icons[event] || '🪝';
|
||||
}
|
||||
|
||||
function getHookEventIconLucide(event) {
|
||||
const icons = {
|
||||
'PreToolUse': '<i data-lucide="clock" class="w-5 h-5"></i>',
|
||||
'PostToolUse': '<i data-lucide="check-circle" class="w-5 h-5"></i>',
|
||||
'Notification': '<i data-lucide="bell" class="w-5 h-5"></i>',
|
||||
'Stop': '<i data-lucide="octagon-x" class="w-5 h-5"></i>'
|
||||
};
|
||||
return icons[event] || '<i data-lucide="webhook" class="w-5 h-5"></i>';
|
||||
}
|
||||
Reference in New Issue
Block a user