mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
Add comprehensive tests for schema cleanup migration and search comparison
- Implement tests for migration 005 to verify removal of deprecated fields in the database schema. - Ensure that new databases are created with a clean schema. - Validate that keywords are correctly extracted from the normalized file_keywords table. - Test symbol insertion without deprecated fields and subdir operations without direct_files. - Create a detailed search comparison test to evaluate vector search vs hybrid search performance. - Add a script for reindexing projects to extract code relationships and verify GraphAnalyzer functionality. - Include a test script to check TreeSitter parser availability and relationship extraction from sample files.
This commit is contained in:
375
ccw/src/templates/dashboard-css/15-mcp-manager.css
Normal file
375
ccw/src/templates/dashboard-css/15-mcp-manager.css
Normal file
@@ -0,0 +1,375 @@
|
||||
/* ==========================================
|
||||
MCP MANAGER - ORANGE THEME ENHANCEMENTS
|
||||
========================================== */
|
||||
|
||||
/* MCP CLI Mode Toggle - Orange for Codex */
|
||||
.mcp-cli-toggle .cli-mode-btn {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.mcp-cli-toggle .cli-mode-btn::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
|
||||
transform: translateX(-100%);
|
||||
transition: transform 0.6s;
|
||||
}
|
||||
|
||||
.mcp-cli-toggle .cli-mode-btn:hover::before {
|
||||
transform: translateX(100%);
|
||||
}
|
||||
|
||||
/* CCW Tools Card - Enhanced Orange Gradient */
|
||||
.ccw-tools-card {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.ccw-tools-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -50%;
|
||||
left: -50%;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.ccw-tools-card:hover::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.ccw-tools-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
|
||||
}
|
||||
|
||||
/* Orange-themed buttons and badges */
|
||||
.bg-orange-500 {
|
||||
background-color: #f97316;
|
||||
}
|
||||
|
||||
.text-orange-500 {
|
||||
color: #f97316;
|
||||
}
|
||||
|
||||
.text-orange-600 {
|
||||
color: #ea580c;
|
||||
}
|
||||
|
||||
.text-orange-700 {
|
||||
color: #c2410c;
|
||||
}
|
||||
|
||||
.text-orange-800 {
|
||||
color: #9a3412;
|
||||
}
|
||||
|
||||
.bg-orange-50 {
|
||||
background-color: #fff7ed;
|
||||
}
|
||||
|
||||
.bg-orange-100 {
|
||||
background-color: #ffedd5;
|
||||
}
|
||||
|
||||
.border-orange-200 {
|
||||
border-color: #fed7aa;
|
||||
}
|
||||
|
||||
.border-orange-500\/20 {
|
||||
border-color: rgba(249, 115, 22, 0.2);
|
||||
}
|
||||
|
||||
.border-orange-500\/30 {
|
||||
border-color: rgba(249, 115, 22, 0.3);
|
||||
}
|
||||
|
||||
.border-orange-800 {
|
||||
border-color: #9a3412;
|
||||
}
|
||||
|
||||
/* Dark mode orange colors */
|
||||
.dark .bg-orange-50 {
|
||||
background-color: rgba(249, 115, 22, 0.05);
|
||||
}
|
||||
|
||||
.dark .bg-orange-100 {
|
||||
background-color: rgba(249, 115, 22, 0.1);
|
||||
}
|
||||
|
||||
.dark .bg-orange-900\/30 {
|
||||
background-color: rgba(124, 45, 18, 0.3);
|
||||
}
|
||||
|
||||
.dark .text-orange-200 {
|
||||
color: #fed7aa;
|
||||
}
|
||||
|
||||
.dark .text-orange-300 {
|
||||
color: #fdba74;
|
||||
}
|
||||
|
||||
.dark .text-orange-400 {
|
||||
color: #fb923c;
|
||||
}
|
||||
|
||||
.dark .border-orange-800 {
|
||||
border-color: #9a3412;
|
||||
}
|
||||
|
||||
.dark .border-orange-950\/30 {
|
||||
background-color: rgba(67, 20, 7, 0.3);
|
||||
}
|
||||
|
||||
/* Codex MCP Server Cards - Orange Borders */
|
||||
.mcp-server-card[data-cli-type="codex"] {
|
||||
border-left: 3px solid #f97316;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.mcp-server-card[data-cli-type="codex"]:hover {
|
||||
border-left-width: 4px;
|
||||
box-shadow: 0 4px 16px rgba(249, 115, 22, 0.15);
|
||||
}
|
||||
|
||||
/* Toggle switches - Orange for Codex */
|
||||
.mcp-toggle input:checked + div.peer-checked\:bg-orange-500 {
|
||||
background: #f97316;
|
||||
}
|
||||
|
||||
/* Installation buttons - Enhanced Orange */
|
||||
.bg-orange-500:hover {
|
||||
background-color: #ea580c;
|
||||
box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
|
||||
}
|
||||
|
||||
/* Info panels - Orange accent */
|
||||
.bg-orange-50.dark\:bg-orange-950\/30 {
|
||||
border-left: 3px solid #f97316;
|
||||
}
|
||||
|
||||
/* Codex section headers */
|
||||
.text-orange-500 svg {
|
||||
filter: drop-shadow(0 2px 4px rgba(249, 115, 22, 0.3));
|
||||
}
|
||||
|
||||
/* Animated pulse for available/install states */
|
||||
.border-orange-500\/30 {
|
||||
animation: orangePulse 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes orangePulse {
|
||||
0%, 100% {
|
||||
border-color: rgba(249, 115, 22, 0.3);
|
||||
box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
|
||||
}
|
||||
50% {
|
||||
border-color: rgba(249, 115, 22, 0.6);
|
||||
box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
/* Server badges with orange accents */
|
||||
.text-xs.px-2.py-0\.5.bg-orange-100 {
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
/* Codex server list enhancements */
|
||||
.mcp-section h3.text-orange-500 {
|
||||
background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* Install button hover effects */
|
||||
.bg-orange-500.rounded-lg {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.bg-orange-500.rounded-lg::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
transform: translate(-50%, -50%);
|
||||
transition: width 0.3s, height 0.3s;
|
||||
}
|
||||
|
||||
.bg-orange-500.rounded-lg:active::after {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
/* MCP Server Grid - Enhanced spacing for orange theme */
|
||||
.mcp-server-grid {
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
/* Available servers - Dashed border with orange hints */
|
||||
.mcp-server-available {
|
||||
border-style: dashed;
|
||||
border-width: 2px;
|
||||
border-color: hsl(var(--border));
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.mcp-server-available:hover {
|
||||
border-style: solid;
|
||||
border-color: #f97316;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* Status indicators with orange */
|
||||
.inline-flex.items-center.gap-1.bg-orange-500\/20 {
|
||||
animation: availablePulse 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes availablePulse {
|
||||
0%, 100% {
|
||||
opacity: 0.8;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Section dividers with orange accents */
|
||||
.mcp-section {
|
||||
border-bottom: 1px solid hsl(var(--border));
|
||||
padding-bottom: 1.5rem;
|
||||
margin-bottom: 2rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.mcp-section::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -1px;
|
||||
left: 0;
|
||||
width: 60px;
|
||||
height: 2px;
|
||||
background: linear-gradient(90deg, #f97316 0%, transparent 100%);
|
||||
}
|
||||
|
||||
/* Empty state icons with orange */
|
||||
.mcp-empty-state i {
|
||||
color: #f97316;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
/* Enhanced focus states for orange buttons */
|
||||
.bg-orange-500:focus-visible {
|
||||
outline: 2px solid #f97316;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* Tooltip styles for orange theme */
|
||||
[title]:hover::after {
|
||||
content: attr(title);
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
padding: 4px 8px;
|
||||
background: #1f2937;
|
||||
color: #fff;
|
||||
font-size: 0.75rem;
|
||||
white-space: nowrap;
|
||||
border-radius: 4px;
|
||||
pointer-events: none;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
/* Orange-themed success badges */
|
||||
.bg-success-light .inline-flex.items-center.gap-1 {
|
||||
background: linear-gradient(135deg, hsl(var(--success-light)) 0%, rgba(249, 115, 22, 0.1) 100%);
|
||||
}
|
||||
|
||||
/* Config file status badges */
|
||||
.inline-flex.items-center.gap-1\.5.bg-success\/10 {
|
||||
border-left: 2px solid hsl(var(--success));
|
||||
}
|
||||
|
||||
.inline-flex.items-center.gap-1\.5.bg-muted {
|
||||
border-left: 2px solid #f97316;
|
||||
}
|
||||
|
||||
/* Responsive adjustments for orange theme */
|
||||
@media (max-width: 768px) {
|
||||
.ccw-tools-card {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.mcp-server-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Loading states with orange */
|
||||
@keyframes orangeGlow {
|
||||
0%, 100% {
|
||||
box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
|
||||
}
|
||||
50% {
|
||||
box-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
|
||||
}
|
||||
}
|
||||
|
||||
.loading-orange {
|
||||
animation: orangeGlow 1.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* Button group for install options */
|
||||
.flex.gap-2 button.bg-primary,
|
||||
.flex.gap-2 button.bg-success {
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.flex.gap-2 button.bg-primary:hover,
|
||||
.flex.gap-2 button.bg-success:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
/* Enhanced card shadows for depth */
|
||||
.mcp-server-card {
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.mcp-server-card:hover {
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
/* Orange accent for project server headers */
|
||||
.mcp-section .flex.items-center.gap-3 button {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.mcp-section .flex.items-center.gap-3 button::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
||||
transform: translateX(-100%);
|
||||
transition: transform 0.5s;
|
||||
}
|
||||
|
||||
.mcp-section .flex.items-center.gap-3 button:hover::before {
|
||||
transform: translateX(100%);
|
||||
}
|
||||
Reference in New Issue
Block a user