From 389621c9546a1845cc25b58663d8465bb06c4d08 Mon Sep 17 00:00:00 2001 From: catlog22 Date: Mon, 8 Dec 2025 23:34:14 +0800 Subject: [PATCH] fix(dashboard): replace emoji icons in tabs-context and tabs-other components - tabs-context.js: package, clipboard-list, building-2, code-2, file-code, link, flask-conical, eye icons - tabs-other.js: file-text, ruler, eye, blocks, package, git-branch, plug icons for exploration sections - Update all empty state icons to use Lucide - Update asset category icons (documentation, source code, tests) - Update exploration titles with Lucide icons --- .../dashboard-js/components/tabs-context.js | 40 +++++++++---------- .../dashboard-js/components/tabs-other.js | 22 +++++----- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/ccw/src/templates/dashboard-js/components/tabs-context.js b/ccw/src/templates/dashboard-js/components/tabs-context.js index 85da4849..82db0f61 100644 --- a/ccw/src/templates/dashboard-js/components/tabs-context.js +++ b/ccw/src/templates/dashboard-js/components/tabs-context.js @@ -12,7 +12,7 @@ function renderContextContent(context) { if (!context) { return `
-
๐Ÿ“ฆ
+
No Context Data
No context-package.json found for this session.
@@ -39,9 +39,9 @@ function renderContextContent(context) {
-

๐Ÿ“ฆ Context Package

+

Context Package

@@ -50,7 +50,7 @@ function renderContextContent(context) { ${metadata.task_description || metadata.session_id ? `
- ๐Ÿ“‹ +

Task Metadata

@@ -90,7 +90,7 @@ function renderContextContent(context) { ${architecturePatterns.length > 0 ? `
- ๐Ÿ›๏ธ +

Architecture Patterns

${architecturePatterns.length}
@@ -106,7 +106,7 @@ function renderContextContent(context) { ${Object.keys(techStack).length > 0 ? `
- ๐Ÿ’ป +

Technology Stack

@@ -119,7 +119,7 @@ function renderContextContent(context) { ${Object.keys(codingConventions).length > 0 ? `
- ๐Ÿ“ +

Coding Conventions

@@ -145,7 +145,7 @@ function renderContextContent(context) { ${(dependencies.internal && dependencies.internal.length > 0) || (dependencies.external && dependencies.external.length > 0) ? `
- ๐Ÿ”— +

Dependencies

@@ -158,7 +158,7 @@ function renderContextContent(context) { ${Object.keys(testContext).length > 0 ? `
- ๐Ÿงช +

Test Context

@@ -314,7 +314,7 @@ function renderAssetsCards(assets) { sections.push(`
- ๐Ÿ“„ + Documentation ${assets.documentation.length}
@@ -335,7 +335,7 @@ function renderAssetsCards(assets) { sections.push(`
- ๐Ÿ’ป + Source Code ${assets.source_code.length}
@@ -356,7 +356,7 @@ function renderAssetsCards(assets) { sections.push(`
- ๐Ÿงช + Tests ${assets.tests.length}
@@ -657,7 +657,7 @@ function renderAssetsSection(assets) { if (assets.documentation && assets.documentation.length > 0) { sections.push(`
-
๐Ÿ“„ Documentation
+
Documentation
${assets.documentation.map(doc => `
@@ -684,7 +684,7 @@ function renderAssetsSection(assets) { if (assets.source_code && assets.source_code.length > 0) { sections.push(`
-
๐Ÿ’ป Source Code
+
Source Code
${assets.source_code.map(src => `
@@ -712,7 +712,7 @@ function renderAssetsSection(assets) { if (assets.tests && assets.tests.length > 0) { sections.push(`
-
๐Ÿงช Tests
+
Tests
${assets.tests.map(test => `
@@ -764,7 +764,7 @@ function renderDependenciesSection(dependencies) { if (dependencies.external && dependencies.external.length > 0) { sections.push(`
-
๐Ÿ“ฆ External Dependencies
+
External Dependencies
${dependencies.external.map(dep => `
@@ -836,7 +836,7 @@ function renderTestContextSection(testContext) { sections.push(`
-
๐Ÿ“Š Test Statistics
+
Test Statistics
${totalTests}
@@ -930,7 +930,7 @@ function renderConflictDetectionSection(conflictDetection) { if (conflictDetection.affected_modules && conflictDetection.affected_modules.length > 0) { sections.push(`
-
๐Ÿ“ฆ Affected Modules
+
Affected Modules
${conflictDetection.affected_modules.map(mod => ` ${escapeHtml(mod)} @@ -996,7 +996,7 @@ function renderSessionContextContent(context, explorations, conflictResolution) return `
-
๐Ÿ“ฆ
+
No Context Data
No context-package.json or exploration files found for this session.
@@ -1033,7 +1033,7 @@ function renderConflictResolutionContext(conflictResolution) {
โ–ถ - +