Feat/dashboard collab and UI upgrades - #112
Merged
Merged
Conversation
…for every run, UI polish Three production fixes plus a feature upgrade for the Playwright Dashboard and the QA Office chat panel: - **Multi-agent collaboration** in /api/qa-agent: primary → critic → primary refine → Edi M synthesis. Auto-triggered when 2+ agents are tagged or the manager is mentioned. New SSE turn_start/turn_done/turn_verdict events produce a threaded conversation in chat, with colour-coded role pills. - **Run logs persisted** alongside each archived run; clicking an old run re-hydrates the dashboard log panel. archiveRun() now logs success/failure to the server console so silent archive failures are visible. - **Edi M summary now streams to chat for every Run Tests**, not just agent-generated dynamic runs. Phase 2 streamSummary() helper shared by /api/playwright/run and /api/run-dynamic-test. - **Dashboard UI/UX polish**: KPI hero with progress ring + verdict, pill subtitle row, history-chart hover tooltip + moving-average trend line, sticky suite headers with smooth chevron rotation, copy-error button, cropped QA Office canvas (no more "blue void" above the office). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- server: drop unnecessary \- escape in runId sanitiser regex - tests/sv-login: remove unused BASE_URL import - PlaywrightDashboard: replace ternary-as-statement with explicit if/else in the multi-spec picker onChange (no-unused-expressions) - OfficePage + PlaywrightDashboard: remove orphaned `eslint-disable-next-line react-hooks/exhaustive-deps` directives — the rule isn't registered in this project's ESLint config so the directive itself was reported as an error - PlaywrightDashboard: drop two unused `// eslint-disable-line` trailing comments flagged by no-unused-disable - README: mention multi-agent collab + persistent run history features so the docs-check script sees a docs update alongside the code change Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Auto-format 115 files with Prettier to fix the failing format:check workflow step. Also removes the temporary PR_BODY.md file. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (116)
📝 WalkthroughWalkthroughAdds SSE-driven QA agent and Playwright run endpoints, archives run logs, and streams AI summaries. Updates Playwright configs, refactors many UI components/pages and tests for consistent formatting, adjusts docs/templates, and fixes JSON assets. ChangesServer SSE features and Dashboard/tooling
UI, Docs, and Examples refactor
Tests and assets
Sequence Diagram(s)sequenceDiagram
participant Client
participant Server
participant Playwright
participant Archive
participant Gemini
Client->>Server: POST /api/playwright/run (SSE)
Server->>Playwright: spawn tests (with testMatch)
Playwright-->>Server: stdout/stderr lines
Server->>Archive: archiveRun(results, _runLog)
Server-->>Client: SSE run events
Server->>Gemini: buildSummaryPrompt + streamSummary
Gemini-->>Server: summary chunks
Server-->>Client: SSE summary_* events, done
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes # (issue number)
Type of change
Checklist:
Summary by CodeRabbit
New Features
/api/qa-agentendpoint with Gemini/Ollama multi-agent collaboration and SSE streaming.Enhancements
Documentation