@@ -934,6 +934,7 @@ export class EmpathyDashboardProvider implements vscode.WebviewViewProvider {
934934 }
935935
936936 // Special handling for code-review: send findings to CodeReviewPanel
937+ let openedInPanel = false ;
937938 if ( workflowName === 'code-review' && success && stdout ) {
938939 try {
939940 // Parse JSON output from CLI (uses --json flag)
@@ -964,6 +965,7 @@ export class EmpathyDashboardProvider implements vscode.WebviewViewProvider {
964965
965966 // Show the panel
966967 await vscode . commands . executeCommand ( 'empathy-code-review.focus' ) ;
968+ openedInPanel = true ;
967969
968970 // Notify user
969971 const findingCount = result . findings . length ;
@@ -1009,9 +1011,10 @@ export class EmpathyDashboardProvider implements vscode.WebviewViewProvider {
10091011 data : {
10101012 workflow : workflowName ,
10111013 status : success ? 'complete' : 'error' ,
1012- output : openedInEditor ? '(Report opened in editor)' : output ,
1014+ output : openedInEditor ? '(Report opened in editor)' : openedInPanel ? '(Results shown in Code Review panel)' : output ,
10131015 error : error ? error . message : null ,
1014- openedInEditor : openedInEditor
1016+ openedInEditor : openedInEditor ,
1017+ openedInPanel : openedInPanel
10151018 }
10161019 } ) ;
10171020 } ) ;
@@ -2461,27 +2464,27 @@ export class EmpathyDashboardProvider implements vscode.WebviewViewProvider {
24612464 <div class="card">
24622465 <div class="card-title">Quick Actions</div>
24632466 <div class="actions-grid workflow-grid">
2464- <button class="action-btn workflow-btn" data-cmd="morning" data-title="Morning Briefing">
2467+ <button class="action-btn workflow-btn" data-cmd="morning" data-title="Morning Briefing" title="Daily project status summary with priorities and blockers" >
24652468 <span class="action-icon">☀</span>
24662469 <span>Get Briefing</span>
24672470 </button>
2468- <button class="action-btn workflow-btn" data-cmd="ship" data-title="Pre-Ship Check">
2471+ <button class="action-btn workflow-btn" data-cmd="ship" data-title="Pre-Ship Check" title="Pre-release quality gate: health, security, and changelog checks" >
24692472 <span class="action-icon">🚀</span>
24702473 <span>Run Ship</span>
24712474 </button>
2472- <button class="action-btn workflow-btn" data-cmd="fix-all" data-title="Fix All Issues">
2475+ <button class="action-btn workflow-btn" data-cmd="fix-all" data-title="Fix All Issues" title="Auto-fix linting, formatting, and safe code issues" >
24732476 <span class="action-icon">🔧</span>
24742477 <span>Fix Issues</span>
24752478 </button>
2476- <button class="action-btn workflow-btn" data-cmd="learn" data-title="Learn Patterns">
2479+ <button class="action-btn workflow-btn" data-cmd="learn" data-title="Learn Patterns" title="Analyze recent commits to learn debugging and refactoring patterns" >
24772480 <span class="action-icon">📚</span>
24782481 <span>Learn Patterns</span>
24792482 </button>
2480- <button class="action-btn workflow-btn" data-cmd="run-tests" data-title="Run Tests">
2483+ <button class="action-btn workflow-btn" data-cmd="run-tests" data-title="Run Tests" title="Execute test suite and display results" >
24812484 <span class="action-icon">🧪</span>
24822485 <span>Run Tests</span>
24832486 </button>
2484- <button class="action-btn" data-cmd="initialize" data-title="Setup Wizard">
2487+ <button class="action-btn" data-cmd="initialize" data-title="Setup Wizard" title="First-time setup wizard for API keys and project config" >
24852488 <span class="action-icon">⚙</span>
24862489 <span>Setup</span>
24872490 </button>
@@ -2513,63 +2516,79 @@ export class EmpathyDashboardProvider implements vscode.WebviewViewProvider {
25132516 <div class="card" style="margin-top: 12px">
25142517 <div class="card-title">Workflows <span style="font-size: 10px; opacity: 0.6;">(Beta)</span></div>
25152518 <div class="actions-grid workflow-grid">
2516- <button class="action-btn workflow-btn" data-workflow="code-review">
2519+ <!-- Row 1: Code Review & Analysis -->
2520+ <button class="action-btn workflow-btn" data-workflow="code-review" title="Tiered code analysis with security, quality, and architecture review">
25172521 <span class="action-icon">🔍</span>
25182522 <span>Review File</span>
25192523 </button>
2520- <button class="action-btn workflow-btn" data-workflow="pro-review">
2524+ <button class="action-btn workflow-btn" data-workflow="pro-review" title="Advanced code analysis for diffs and pull requests" >
25212525 <span class="action-icon">⭐</span>
25222526 <span>Run Analysis</span>
25232527 </button>
2524- <button class="action-btn workflow-btn" data-workflow="doc-orchestrator">
2528+
2529+ <!-- Row 2: Pull Request Review -->
2530+ <button class="action-btn workflow-btn" data-workflow="pr-review" title="Comprehensive pull request review with diff analysis">
2531+ <span class="action-icon">🔍</span>
2532+ <span>Review PR</span>
2533+ </button>
2534+ <!-- TODO: Add second PR-related workflow here -->
2535+
2536+ <!-- Row 3: Documentation -->
2537+ <button class="action-btn workflow-btn" data-workflow="doc-orchestrator" title="End-to-end documentation management: scout gaps, prioritize, generate">
25252538 <span class="action-icon">📚</span>
25262539 <span>Manage Docs</span>
25272540 </button>
2528- <button class="action-btn workflow-btn" data-workflow="bug-predict">
2529- <span class="action-icon">🐛</span>
2530- <span>Predict Bugs</span>
2531- </button>
2532- <button class="action-btn workflow-btn" data-workflow="security-audit">
2533- <span class="action-icon">🔒</span>
2534- <span>Security Audit</span>
2535- </button>
2536- <button class="action-btn workflow-btn" data-workflow="perf-audit">
2537- <span class="action-icon">⚡</span>
2538- <span>Perf Audit</span>
2541+ <button class="action-btn workflow-btn" data-workflow="doc-gen" title="Cost-optimized documentation generation: outline → write → polish">
2542+ <span class="action-icon">📄</span>
2543+ <span>Generate Docs</span>
25392544 </button>
2540- <button class="action-btn workflow-btn" id="btn-test-gen-direct" data-workflow="test-gen">
2545+
2546+ <!-- Row 4: Code Quality -->
2547+ <button class="action-btn workflow-btn" id="btn-test-gen-direct" data-workflow="test-gen" title="Generate tests targeting areas with historical bugs and low coverage">
25412548 <span class="action-icon">🧪</span>
25422549 <span>Generate Tests</span>
25432550 </button>
2544- <button class="action-btn workflow-btn" data-workflow="refactor-plan">
2551+ <button class="action-btn workflow-btn" data-workflow="refactor-plan" title="Prioritize tech debt based on code trajectory and maintenance impact" >
25452552 <span class="action-icon">🏗</span>
25462553 <span>Refactor Plan</span>
25472554 </button>
2548- <button class="action-btn workflow-btn" data-workflow="dependency-check">
2549- <span class="action-icon">📦</span>
2550- <span>Check Deps</span>
2555+
2556+ <!-- Row 5: Security -->
2557+ <button class="action-btn workflow-btn" data-workflow="security-audit" title="OWASP-focused security scan with vulnerability assessment and remediation">
2558+ <span class="action-icon">🔒</span>
2559+ <span>Security Audit</span>
2560+ </button>
2561+ <button class="action-btn workflow-btn" data-workflow="secure-release" title="Full security pipeline: audit crew + OWASP scan + code review + release prep (always comprehensive)">
2562+ <span class="action-icon">🔐</span>
2563+ <span>Secure Release</span>
2564+ </button>
2565+
2566+ <!-- Row 6: Performance & Health -->
2567+ <button class="action-btn workflow-btn" data-workflow="perf-audit" title="Identify performance bottlenecks and optimization opportunities">
2568+ <span class="action-icon">⚡</span>
2569+ <span>Perf Audit</span>
25512570 </button>
2552- <button class="action-btn workflow-btn" data-workflow="health-check" title="Run HealthCheckCrew for comprehensive 5-agent project health analysis ">
2571+ <button class="action-btn workflow-btn" data-workflow="health-check" title="Project health diagnosis and fixing with 5-agent crew ">
25532572 <span class="action-icon">🩺</span>
25542573 <span>Check Health</span>
25552574 </button>
2556- <button class="action-btn workflow-btn" data-workflow="pr-review">
2557- <span class="action-icon">🔍</span>
2558- <span>Review PR</span>
2575+
2576+ <!-- Row 7: Prediction & Dependencies -->
2577+ <button class="action-btn workflow-btn" data-workflow="bug-predict" title="Predict bugs by analyzing code against learned patterns and history">
2578+ <span class="action-icon">🐛</span>
2579+ <span>Predict Bugs</span>
25592580 </button>
2560- <!-- Hidden for v3.5.5 release - TODO: enable after workflow wizard is complete -->
2561- <button class="action-btn workflow-btn" data-workflow="doc-gen">
2562- <span class="action-icon">📄</span>
2563- <span>Generate Docs</span>
2581+ <button class="action-btn workflow-btn" data-workflow="dependency-check" title="Audit dependencies for security vulnerabilities and available updates">
2582+ <span class="action-icon">📦</span>
2583+ <span>Check Deps</span>
25642584 </button>
2565- <button class="action-btn workflow-btn" data-workflow="release-prep">
2585+
2586+ <!-- Row 8: Release -->
2587+ <button class="action-btn workflow-btn" data-workflow="release-prep" title="Pre-release quality gate with health, security, and changelog validation">
25662588 <span class="action-icon">🚀</span>
25672589 <span>Release Prep</span>
25682590 </button>
2569- <button class="action-btn workflow-btn" data-workflow="secure-release">
2570- <span class="action-icon">🔐</span>
2571- <span>Secure Release</span>
2572- </button> <button class="action-btn workflow-btn new-workflow-btn" id="btn-new-workflow" title="Create a new workflow from template" style="display: none;">
2591+ <!-- TODO: Add second release-related workflow here --> <button class="action-btn workflow-btn new-workflow-btn" id="btn-new-workflow" title="Create a new workflow from template" style="display: none;">
25732592 <span class="action-icon">➕</span>
25742593 <span>New Workflow</span>
25752594 </button>
0 commit comments