Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/web-ui/src/flow_chat/tool-cards/CreatePlanDisplay.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@
font-family: var(--tool-card-font-mono);
color: var(--tool-card-text-secondary);
}

.create-plan-loading {
color: var(--tool-card-text-muted);
}
}

.create-plan-content {
Expand Down Expand Up @@ -262,7 +266,7 @@

&:disabled {
opacity: 0.5;
cursor: not-allowed;
cursor: default;
}
}

Expand Down Expand Up @@ -292,7 +296,7 @@

&:disabled {
opacity: 0.7;
cursor: not-allowed;
cursor: default;
}

svg {
Expand All @@ -303,13 +307,11 @@
// Building state keeps the orange styling.
&--building {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
cursor: wait;
}

// Built state uses the success green styling.
&--built {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
cursor: default;

&:hover {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
Expand Down
5 changes: 4 additions & 1 deletion src/web-ui/src/flow_chat/tool-cards/CreatePlanDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { workspaceAPI } from '@/infrastructure/api/service-api/WorkspaceAPI';
import { fileSystemService } from '@/tools/file-system/services/FileSystemService';
import { planBuildStateService } from '@/shared/services/PlanBuildStateService';
import yaml from 'yaml';
import { Tooltip } from '@/component-library';
import { Tooltip, CubeLoading } from '@/component-library';
import { createLogger } from '@/shared/utils/logger';
import './CreatePlanDisplay.scss';

Expand Down Expand Up @@ -321,6 +321,9 @@ ${JSON.stringify(simpleTodos, null, 2)}
</div>
<span className="file-name">{planFileName}</span>
</div>
{isLoading && (
<CubeLoading size="small" className="create-plan-loading" />
)}
</div>
</Tooltip>

Expand Down
Loading