Skip to content

Commit f4a902a

Browse files
GeneAIclaude
authored andcommitted
feat(vscode): Update Health tab actions to use webview reports
- Deep Scan now opens health-check report in webview - Auto Fix shows fix results in webview - Security Scan displays results in webview - Lint Fix shows lint fix results in webview - Run Tests (Health tab) now uses webview 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent bfcc30b commit f4a902a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

vscode-extension/src/panels/EmpathyDashboardPanel.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,17 @@ export class EmpathyDashboardProvider implements vscode.WebviewViewProvider {
5454
try {
5555
// Quick Actions that should open in webview instead of terminal
5656
const webviewCommands: Record<string, { cmd: string; title: string }> = {
57+
// Power tab - Quick Actions
5758
'morning': { cmd: 'morning', title: 'Morning Briefing' },
5859
'ship': { cmd: 'ship', title: 'Pre-Ship Check' },
5960
'learn': { cmd: 'learn --analyze 20', title: 'Learn Patterns' },
60-
'run-tests': { cmd: 'ship --tests-only', title: 'Test Results' }
61+
'run-tests': { cmd: 'ship --tests-only', title: 'Test Results' },
62+
// Health tab - Health Actions
63+
'runScan': { cmd: 'workflow run health-check', title: 'Deep Scan' },
64+
'runTests': { cmd: 'ship --tests-only', title: 'Test Results' },
65+
'securityScan': { cmd: 'ship --security-only', title: 'Security Scan' },
66+
'fixAll': { cmd: 'fix-all', title: 'Auto Fix Results' },
67+
'fixLint': { cmd: 'fix-all --lint-only', title: 'Lint Fix Results' },
6168
};
6269

6370
if (webviewCommands[message.command]) {
@@ -1391,6 +1398,9 @@ export class EmpathyDashboardProvider implements vscode.WebviewViewProvider {
13911398
'ship': 'Pre-Ship Check',
13921399
'learn': 'Learn Patterns',
13931400
'sync-claude': 'Sync to Claude Code',
1401+
// Health Actions
1402+
'fix-all': 'Auto Fix',
1403+
'security': 'Security Scan',
13941404
};
13951405

13961406
const displayName = workflowNames[workflowName] || workflowName;

0 commit comments

Comments
 (0)