Repository navigation
[2479 by Claude Opus 5] Rebuild the dashboard UI into five sections with a shared repository filter and live updates - #2486
Conversation
New dashboard (`propr-ui/src/components/Dashboard/`) - `SummaryStrip.tsx` — four clickable counts. Neutral styling throughout; the attention count only takes the amber emphasis when non-zero (`data-emphasis` exposes this). Each opens the matching filtered task list, carrying the repository filter. - `NeedsAttentionPanel.tsx` — three most important items (reason, repo + issue/PR chip, title, waiting duration, one primary action) plus "View all". When empty the panel is not rendered at all; a single `lg:hidden` quiet line remains for mobile. - `HappeningNowSection.tsx` — compact rows with real lifecycle phase, elapsed time and the reported progress line only (no invented percentages, no stall inference). Five rows with inline expansion, stable ordering, and a queue summary with the backend's reason when it knows one. - `RecentOutcomesFeed.tsx` — flat feed, 24h default with a 7-day option, eight items initially; `ScoreBadge` rendered only where a score exists, labelled `/10`, so nothing is reserved on mobile. - `HistoricalStatsPanel.tsx` + `DailyCompletionsChart.tsx` — Completed / Success rate / Recorded spend over 7 or 30 days with a previous-period comparison and a small daily chart. Null renders `—`, never `0%` or `$0`. - `sectionState.ts` / `sectionPrimitives.tsx` — shared read hook (keeps last rows on a failed refresh), `useStableOrder`, time ticking, and inbox-matching row chrome reusing `RepositoryIcon`, `ReferenceChip`, `ScoreBadge` and `TaskList/utils.tsx` time helpers. `Dashboard.tsx` is now only the repository filter (`RepositorySelector`, persisted in the URL), the socket subscription (`useSocket` + `useLiveRefreshScheduler`, one coalesced refresh token per burst), the reconnecting/last-updated line, and the responsive grid. `RepositoryBreakdown` and `TopModels` moved to a new `/analytics` route (components kept, joined there by the activity and distribution charts); nav, route chunks and docs updated. Supporting changes - `status=attention` on `/api/tasks` (action-required states plus unresolved failures) so the attention count actually has a list to open, with a matching dropdown option. - Outcomes now carry a recorded critique score: the parsing moved to a shared `packages/api/routes/critiqueScore.ts` used by both `taskHelpers` and `dashboardQueries` rather than duplicated. - Docs (web-ui, metrics, usage) and CHANGELOG updated. Verification - `propr-ui`: 159 files / 1244 vitest tests pass, typecheck and lint clean. `Dashboard.test.tsx` covers every acceptance criterion; I confirmed the coalescing and stable-order tests fail when the scheduler or `useStableOrder` is removed (11 calls instead of 2; reversed order). - Backend: `dashboardRoutes` (15) and `taskHelpers` (4) pass, including new score and `attention`-filter cases. A `previewMediaProjection` failure was environmental (no GitHub auth) and passes with `PROPR_DEMO_MODE=true`. - Playwright: new `e2e/dashboard-sections.pw.ts` (desktop, empty-attention, 320px overflow, filter + reload) plus updated `startup-critical-path` and `task-list-desktop` specs — 16 passing. Desktop window-frame fixtures and the packaged-acceptance marker were repointed off the removed "Recent Activity" heading. Previews captured at 1440px (populated and empty-attention) and 320px. Note the previews show "Reconnecting · Last updated …" because the fixture has no websocket — that is the retained-data state working, not a defect.
|
/ultrafix |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 10) First action:
|
|
CI failed: Validate unsigned linux-arm64 package Please investigate and fix this CI failure.
Failure evidence
|
|
✅ Applied the requested follow-up changes in commit 1760d21 Summary of ChangesThe CI failure is fixed. Here's what happened and what I changed. Root causeThe failing step in
A second failure the same job would have hitWhile verifying, I found the job would have failed again a few steps later, at the mandatory packaged-acceptance evidence step. The acceptance fixture server had no routes for the dashboard's five endpoints, so they fell through to the generic Changes
Verification
No product-visible change (test harness and fixtures only), so I did not generate previews. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
CI failed: Validate unsigned linux-x64 package Please investigate and fix this CI failure.
Failure evidence
|
|
CI failed: Validate unsigned darwin-arm64 package Please investigate and fix this CI failure.
Failure evidence
|
|
CI failed: Validate unsigned darwin-x64 package Please investigate and fix this CI failure.
Failure evidence
|
|
You have completely relapsed. After several iterations of pulling this UI toward a professional "Engineering Studio" aesthetic, you have thrown it all away and reverted to a generic, off-the-shelf SaaS dashboard template. You explicitly violated the most fundamental rule of the handover document, and you ignored almost every component-level correction from the previous reviews. Here is the critical breakdown of your massive regressions: 1. Fatal Violation: The Return of "Card Hell"
4. Ignored Instruction: Monospace Code Chips
6. Semantic Color Chaos
7. Wasted Real Estate: The KPI Cards
You have suffered a catastrophic regression. You completely abandoned your own design system and rebuilt the exact layout pattern that was banned in Rule #2: "Card Hell." Every single section on this screen is now a white box with rounded corners and borders floating on a gray background. Here is the critical breakdown of your regressions and layout failures: 1. Total Regression: The Return of "Card Hell"Look at your canvas.
4. Sloppy Entity Tagging (Data Inconsistency)Look at the metadata chips across both feeds:
6. Violating "Success is Quiet" (The Green Histogram)Look at the bar chart under
|
|
CI failed: Run Full Test Suite Please investigate and fix this CI failure.
Failure evidence
|
Full Test Suite ResultsValidation failed during: Test shard (shard 2).
View shard 2/4 outputDetails truncated; see the uploaded artifacts for complete failure rows and logs. |
…anged.
The CI failure is fixed. Here's what happened and what I changed.
## Root cause
The failing step in `Validate unsigned linux-arm64 package` was **"Typecheck and test unsigned desktop runtime"** (typecheck passed; `npm run desktop:test` failed with 2 test failures — the same failure hit linux-x64 and darwin-arm64).
`apps/desktop/scripts/packaged-acceptance-stats.test.mjs` pins the packaged-acceptance HTTP fixtures to the renderer code that actually consumes them, by matching the consumer's source. The dashboard rebuild moved those consumers off `Dashboard.tsx`, so four assertions no longer matched:
- `taskStats?.dailyCounts?.map`, `taskStats?.summary?.{total,failed}` → now read by `AnalyticsPage.tsx` and `TaskStatsChart.tsx`
- `overviewStats?.usage?.total_cost_usd` → now read by `RepositoryReport.tsx`
## A second failure the same job would have hit
While verifying, I found the job would have failed again a few steps later, at the mandatory packaged-acceptance evidence step. The acceptance fixture server had no routes for the dashboard's five endpoints, so they fell through to the generic `/api/` stub (`{agents, repositories, items, count}`). The new sections index into nested objects unguarded — `data?.counts.running`, `data.queue.queuedCount`, `data.previous.completed`. I confirmed this by rendering the real `Dashboard` against the stub payloads: `TypeError: Cannot read properties of undefined (reading 'running')` at `HappeningNowSection.tsx:149`. The acceptance run throws on *any* unexpected renderer error (`unexpectedErrors !== 0`), and the route error boundary would have swallowed the dashboard into "Something went wrong on this page".
## Changes
`apps/desktop/scripts/run-packaged-acceptance.mjs` — added exact fixture routes for `/api/dashboard/summary`, `/api/dashboard/attention`, `/api/dashboard/active`, `/api/dashboard/outcomes` and `/api/stats/dashboard`, placed ahead of the generic `/api/stats/` and `/api/` fallbacks, with payloads matching the `dashboardApi.ts` interfaces and consistent with the existing fixture data (12 completed, 0 failed).
`apps/desktop/scripts/packaged-acceptance-stats.test.mjs` — repointed the four moved assertions at their current consumers, taught `interfaceFields` to follow `extends` (for `DashboardStatsResponse extends DashboardStatsTotals`), and added two cases covering the new fixtures: field-for-field agreement with the dashboard interfaces plus the nested reads the sections perform, and route ordering ahead of the fallbacks.
## Verification
- `npm run desktop:test`: 995 tests, 961 pass, 0 fail (was 2 fail).
- `npm run desktop:typecheck`: clean.
- eslint on both changed files: clean.
- Mutation check: dropping `reason` from the active fixture makes the new test fail, so the assertions bite.
- Re-ran the dashboard render probe against the new fixture payloads — renders cleanly, no thrown errors.
No product-visible change (test harness and fixtures only), so I did not generate previews.
PR: #2486
Comment by: @propr-dev[bot] (ID: 5795993219)
Model: claude-opus-5
|
✅ Applied the requested follow-up changes in commit 184fa07 Processed 6 comments:
Summary of ChangesThe dashboard is rebuilt to the Studio guidelines, and the CI failures were already resolved by the previous commit. CI failures (comments 1, 2, 3, 5)Already fixed by Design regressions (comment 4)1. Card Hell — eliminated. The page is 4. Entity tagging — schema enforced. 6. Semantic colour — corrected. 7. KPI cards — demolished. The four boxes are one compact row of label-beside-number pairs, roughly 34px instead of ~120px. Section counts also moved inline into the utility headers as Guarding against another relapseSince the complaint is that this regressed after prior correction, I added Verification1251/1251 UI tests, 4/4 dashboard Playwright specs (including the 320px no-overflow check), typecheck clean, eslint clean with zero warnings on all changed files, desktop acceptance test 6/6. One judgment call worth flagging: the review asked for either a compact data row or counts folded into section headers. I did both — the row keeps the drill-down links that the original PR's acceptance criteria depend on, while the headers carry counts where a section already owns one. If you'd rather drop the row entirely and rely only on headers, that's a small change, but it costs the four filtered-list entry points. Visual previewEmpty attention list, and the neutral histogram (desktop, 1440px)With nothing to attend to, Historical stats moves up into row two and the attention count drops to the neutral style. The pane divider still runs the full height of the canvas because it hangs off the main column. The daily-completions chart shows the colour rule: settled days are slate, and only th Original unavailable: managed storage is unavailable or the upload has expired. Dashboard as one unified canvas (desktop, 1440px)Card Hell removed: the whole page is a solid white canvas divided by 1px rules and a full-height pane divider, with utility headers per section. The four top-level counts are now a single compact row instead of four boxes, and Happening now carries its count inline as 'HAPPENING NOW (6)'. Every repo Original unavailable: managed storage is unavailable or the upload has expired. Dashboard at 320pxThe compact count row wraps to two lines, sections stack as full-width bands separated by rules, and the mobile order is preserved: filter, counts, Needs attention, Happening now. No horizontal overflow. Original unavailable: managed storage is unavailable or the upload has expired. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
CI failed: Full Test Suite Shard 3/4 Please investigate and fix this CI failure.
Failure evidence
|
Full Test Suite ResultsValidation failed during: Test shard (shard 3).
View shard 3/4 outputDetails truncated; see the uploaded artifacts for complete failure rows and logs. |
|
CI failed: Run Full Test Suite Please investigate and fix this CI failure.
Failure evidence
|
…CI failures were already resolved by the previous commit. The dashboard is rebuilt to the Studio guidelines, and the CI failures were already resolved by the previous commit. ## CI failures (comments 1, 2, 3, 5) Already fixed by `1760d21ec`, the commit after the one CI reported against (`bd9892fa3`). I verified rather than assumed: `apps/desktop/scripts/packaged-acceptance-stats.test.mjs` now passes (6/6), and it still passes after my changes — it greps the dashboard component sources, so it was worth re-running. ## Design regressions (comment 4) **1. Card Hell — eliminated.** The page is `bg-white` end to end. Every section lost `rounded-xl border shadow-sm`, the `gap-4` between cards is gone, and structure now comes from 1px rules: a `border-b` per section, a full-height `lg:border-r` pane divider, and tinted utility headers. Because grid cells stretch, the horizontal rules in both columns land on the same pixel — the "Horizon Line" from §2A. **4. Entity tagging — schema enforced.** `WorkReference` no longer emits bare numbers; it's `Issue #118` or `PR #2481`, always. `RepositoryLabel` became a monospace chip too, so `example/workspace` gets the same `font-mono bg-slate-100 border-slate-200 rounded-sm` treatment as an ID. **6. Semantic colour — corrected.** `merged` was `text-teal-700` while `completed` was slate; both are now `text-slate-600` with a checkmark, so two successful end states can't be told apart by colour. Cancelled dropped orange. Failed stays red. Active work swapped the pulsing dot for a spinner — a filled circle reads as a status light, and a teal one reads green at a glance. The histogram was uniformly `#14B8A6`; settled days are now slate-300 and only the in-progress day is teal. **7. KPI cards — demolished.** The four boxes are one compact row of label-beside-number pairs, roughly 34px instead of ~120px. Section counts also moved inline into the utility headers as `HAPPENING NOW (6)`. ## Guarding against another relapse Since the complaint is that this regressed after prior correction, I added `Dashboard.designRules.test.tsx` — 7 tests asserting the rendered chrome (no rounded/shadow sections, no bare `#118`, identical classes for merged and completed, no green in the active section, neutral history bars, no card-shaped counts). I mutation-checked them: reverting the bare-number chip, the teal `merged`, and the card chrome each fails a test. Shared fixtures moved to `Dashboard.fixtures.ts`, which also cleared a pre-existing `max-lines` warning on the test file. ## Verification 1251/1251 UI tests, 4/4 dashboard Playwright specs (including the 320px no-overflow check), typecheck clean, eslint clean with zero warnings on all changed files, desktop acceptance test 6/6. One judgment call worth flagging: the review asked for either a compact data row *or* counts folded into section headers. I did both — the row keeps the drill-down links that the original PR's acceptance criteria depend on, while the headers carry counts where a section already owns one. If you'd rather drop the row entirely and rely only on headers, that's a small change, but it costs the four filtered-list entry points. PR: #2486 Comment by: @propr-dev[bot] (ID: 5795997485) Comment by: @propr-dev[bot] (ID: 5795997900) Comment by: @propr-dev[bot] (ID: 5796059106) Comment by: @integry (ID: 5796089352) Comment by: @propr-dev[bot] (ID: 5796207333) Comment by: @github-actions[bot] (ID: 5796208101) Model: claude-opus-5
|
✅ Applied the requested follow-up changes in commit 3ebe0ec Processed 3 comments:
Summary of ChangesWhat failedShard 3/4 failed on one unit: The actual assertion from the CI log ( One of the four pairing requests never reached the fixture's HTTP server. The timing confirms why: the test body took 11.45s where it takes ~0.3s locally, and What I changed
Verification
No visual previews: this is test-harness only, with nothing user-perceptible. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
## What failed Shard 3/4 failed on one unit: `apps/desktop/scripts/electron-pairing-zstd.test.mjs`. The `Run Full Test Suite` failure in Comment 3 is just the aggregate job reporting that shard, not a separate problem. The actual assertion from the CI log (`apps/desktop/scripts/electron-pairing-zstd.test.mjs:102`): ``` Expected values to be strictly equal: 3 !== 4 (assert.equal(acceptEncodings.length, 4)) ``` One of the four pairing requests never reached the fixture's HTTP server. The timing confirms why: the test body took **11.45s** where it takes ~0.3s locally, and `requestPairingProtocol` enforces a fixed 8s connect-header deadline (`packages/client/src/pairingProtocol.ts:3`). On a saturated shared runner (`gitfix-rootless-1`, which was also running the 100s `profile-store` unit) one loopback request stalled past that deadline, so the client aborted it before the server handler ran — 8s of stall plus ~3s of real work is exactly the 11.4s observed. This test and the client deadline are both untouched by this PR's dashboard work; it's a worker-load flake that the old assertion reported as an opaque `3 !== 4`. ## What I changed `apps/desktop/scripts/electron-pairing-zstd-probe.cjs` — a request whose result is `kind: 'timeout'` is retried once (bounded to 2 retries per run so the fixture stays inside its budget), and every stall is listed in the reported `stalls` evidence. A stall is a transport hiccup, not a compression result; the production client's deadlines are unchanged. `apps/desktop/scripts/electron-pairing-zstd.test.mjs`: - The exact `acceptEncodings.length === 4` count became path coverage — the set of endpoints reached must be exactly the four probed paths. A retry legitimately repeats a path, and a missing path now names the endpoint instead of printing a bare number. - Every observed request must still negotiate zstd (unchanged regex), and the report is attached as a message to the outcome assertions, so a future failure shows the culprit. - Budgets raised (fixture SIGKILL 20s → 30s, test 25s → 40s) to cover the bounded retries, which each cost the client's 8s header deadline. ## Verification - The test passes locally, 10 consecutive runs, plus `electron-native-test-setup.test.mjs` (10 tests) and `test/ciRunnerRouting.test.mjs` (43 tests). ESLint clean on both changed files. - I reproduced the CI failure mode directly with a server that delays the first `/valid` response by 9s. Before: the server sees `['/valid','/valid','/decoded-over-limit','/truncated','/stacked']` — the old count assertion rejects that too. After: the retry recovers, `valid` reports `kind: 'success'`, `stalls: ['/valid']`, and the coverage assertion accepts it. - I also confirmed the retry does not mask a real regression: with `/valid` stalling on *every* attempt, the report still carries `kind: 'timeout'`, which fails the `report.valid` deep-equal with the full report in the message. No visual previews: this is test-harness only, with nothing user-perceptible. PR: #2486 Comment by: @propr-dev[bot] (ID: 5796448423) Comment by: @github-actions[bot] (ID: 5796580755) Comment by: @propr-dev[bot] (ID: 5796581640) Model: claude-opus-5
|
It is functionally an improvement, but visually you are still cheating the design system and ignoring explicit specifications. You fixed the entity prefixes ( However, you did not eliminate "Card Hell"—you just painted the background white—and you are still ignoring basic typography rules. Here is the critical breakdown: 1. Persistent Violation: The Quality Score
|
|
✅ Applied the requested follow-up changes in commit 81aa79a Summary of ChangesAll five points are done. Here's what changed, and two places where the diagnosis didn't match what was on the branch. 1. The
|
| Command | Description | Example |
|---|---|---|
/merge |
Merge target branch into this PR and resolve conflicts | /merge |
/review |
Request an AI code review | /review or /review claude-sonnet |
/fix |
Implement fixes for issues found by /review |
/fix or /fix address the null check issue |
/switch |
Change the AI model for this PR | /switch claude-opus |
/use |
Override the model for a single follow-up run | /use claude-sonnet |
/ultrafix |
Loop review→fix cycles until score goal is met | /ultrafix or /ultrafix goal=8 max=10 |
🤖 Generated by ProPR
Processing comment ID: 5796747130✓
…es where the diagnosis didn't match what was on the branch.
All five points are done. Here's what changed, and two places where the diagnosis didn't match what was on the branch.
### 1. The `/10` is gone — the pill is back
`ScoreBadge` gained a `bracketed` variant and the outcome feed uses it: `[ ● 9 ]`, `[ ◆ 7 ]`, `[ ◆ 8 ]` inside the existing `w-12 min-w-12 max-w-12`. The out-of-ten scale now reaches screen readers only. The right rail is a straight edge.
One conflict you should know about: commit `7e515aee6` on `main` ("Removed the square brackets from the rating", PR #2431) deleted exactly these brackets from the shared `ScoreBadge` at your request. So I made brackets **opt-in** — the dashboard's fixed-width rail uses them, the task list keeps the bare form you asked for there. If you want them everywhere, it's a one-line default flip.
### 2. Split-pane console
The quadrants had no `rounded-lg border` at HEAD — nothing was wrapped in a box. What *was* real:
- The pane divider stopped wherever content ended, leaving ~200px of dead white below it. The grid is now `flex-1` with a last row of `minmax(min-content,1fr)`, so `border-r` runs unbroken to the bottom of the viewport.
- `HISTORICAL STATS` (with a segmented control) was 40px tall while `HAPPENING NOW` (without one) was 28px, so the two columns' rules landed on different pixels — that's what made them read as separate boxes. `SectionHeading` now has `min-h-10`, putting every pane header on one horizon.
### 3. The sidebar was never amputated
`git diff main...HEAD -- Layout.tsx` on this branch is one added nav item. The profile block and the USAGE widget are intact; they render behind `user &&` and `isDemoMode || canManageAgents`, and the preview fixture was signed out with no Agent Tank data, so both short-circuited. The fixture now signs in a plain member and serves usage — previews show nav → USAGE (Claude 34%, Codex 12%) → account block. The member role is deliberate: an admin would add three banners above the dashboard.
### 4. Fixed-width actions
`Open` / `Review`, at `w-20 justify-center`. All three left edges are on one line (asserted in the e2e spec by comparing bounding rects). The entity moved to `aria-label` — a visually-hidden span gets concatenated without a separator and announced as "Openissue #42".
### 5. Summary strip is a sub-toolbar
`min-h-10 border-b border-slate-200 bg-slate-50/50`, moved out of the grid and anchored directly above the panes. `min-h-` rather than `h-` so it wraps at 320px instead of overflowing. Its first label sits on the same `px-3` rail as `HAPPENING NOW` below it.
**Verification:** 1256 vitest tests / 160 files pass, typecheck and lint clean, docs site builds. Six new design-rule tests cover the toolbar, the horizon, the continuous divider, the pill, and the action widths. All 4 dashboard e2e specs plus `startup-critical-path` and `task-list-desktop` (12 tests) pass. Previews captured at 1440px populated, 1440px empty-attention, and 320px.
PR: #2486
Comment by: @integry (ID: 5796747130)
Model: claude-opus-5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — claude:claude-opus-5Overall EvaluationThis PR replaces the old dashboard (task feed + analytics rail) with a five-section operational console, moves the aggregate charts to a new I found no correctness, safety, or contract regression in the changed code that must be fixed before merge. The items below are quality and consistency follow-ups. ✅ Score parsing genuinely deduplicated, not copy-pasted — ✅ Null is preserved end to end instead of being collapsed to zero — ✅ Fixture and contract tests were updated rather than bypassed — Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Invalid arbitrary grid template in expanded rows
S2: 🟢 Attention count and the list it opens can disagree
S3: 🟢 "Completed today" opens an untimed completed list
S4: 🟢 Seven-day outcome window is filtered client-side over a fixed fetch
S5: 🟢 Spend comparison loses its unitIn S6: 🟢
|






AI Implementation Summary
Closes #2479
Branch:
2479/claude-opus-5-rebuild-the-dashboard-ui--20260923-1302-rj9Commits: ✅ Changes committed (bd9892f)
AI Processing Completed
Execution Details:
Summary:
I've implemented the rebuilt dashboard. Summary of the work:
New dashboard (
propr-ui/src/components/Dashboard/)SummaryStrip.tsx— four clickable counts. Neutral styling throughout; the attention count only takes the amber emphasis when non-zero (data-emphasisexposes this). Each opens the matching filtered task list, carrying the repository filter.NeedsAttentionPanel.tsx— three most important items (reason, repo + issue/PR chip, title, waiting duration, one primary action) plus "View all". When empty the panel is not rendered at all; a singlelg:hiddenquiet line remains for mobile.HappeningNowSection.tsx— compact rows with real lifecycle phase, elapsed time and the reported progress line only (no invented percentages, no stall inference). Five rows with inline expansion, stable ordering, and a queue summary with the backend's reason when it knows one.RecentOutcomesFeed.tsx— flat feed, 24h default with a 7-day option, eight items initially;ScoreBadgerendered only where a score exists, labelled/10, so nothing is reserved on mobile.HistoricalStatsPanel.tsx+DailyCompletionsChart.tsx— Completed / Success rate / Recorded spend over 7 or 30 days with a previous-period comparison and a small daily chart. Null renders—, never0%or$0.sectionState.ts/sectionPrimitives.tsx— shared read hook (keeps last rows on a failed refresh),useStableOrder, time ticking, and inbox-matching row chrome reusingRepositoryIcon,ReferenceChip,ScoreBadgeandTaskList/utils.tsxtime helpers.Dashboard.tsxis now only the repository filter (RepositorySelector, persisted in the URL), the socket subscription (useSocket+useLiveRefreshScheduler, one coalesced refresh token per burst), the reconnecting/last-updated line, and the responsive grid.RepositoryBreakdownandTopModelsmoved to a new/analyticsroute (components kept, joined there by the activity and distribution charts); nav, route chunks and docs updated.Supporting changes
status=attentionon/api/tasks(action-required states plus unresolved failures) so the attention count actually has a list to open, with a matching dropdown option.packages/api/routes/critiqueScore.tsused by bothtaskHelpersanddashboardQueriesrather than duplicated.Verification
propr-ui: 159 files / 1244 vitest tests pass, typecheck and lint clean.Dashboard.test.tsxcovers every acceptance criterion; I confirmed the coalescing and stable-order tests fail when the scheduler oruseStableOrderis removed (11 calls instead of 2; reversed order).dashboardRoutes(15) andtaskHelpers(4) pass, including new score andattention-filter cases. ApreviewMediaProjectionfailure was environmental (no GitHub auth) and passes withPROPR_DEMO_MODE=true.e2e/dashboard-sections.pw.ts(desktop, empty-attention, 320px overflow, filter + reload) plus updatedstartup-critical-pathandtask-list-desktopspecs — 16 passing. Desktop window-frame fixtures and the packaged-acceptance marker were repointed off the removed "Recent Activity" heading.Previews captured at 1440px (populated and empty-attention) and 320px. Note the previews show "Reconnecting · Last updated …" because the fixture has no websocket — that is the retained-data state working, not a defect.
Detailed Logs:
40c1bf74-48cc-4fc1-a234-3a064cb89fb3Log files stored at:
/tmp/claude-logs/issue-2479-2026-09-23T13-41-30-981Z-conversation.json/tmp/claude-logs/issue-2479-2026-09-23T13-41-30-981Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #2479.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!
Visual preview
Empty attention panel leaves the layout (desktop, 1440px)
With zero attention items the panel is absent from the desktop DOM and Historical stats moves up into its place; the summary attention count uses the neutral style.
Original unavailable: managed storage is unavailable or the upload has expired.
Rebuilt dashboard (desktop, 1440px)
All five sections with live work: the summary strip with the attention count emphasised, Happening now with five active rows, a queue summary and inline expansion, Recent outcomes as a flat feed with scores only where recorded, and Needs attention plus Historical stats in the narrower right column.
Original unavailable: managed storage is unavailable or the upload has expired.
Dashboard at 320px
Mobile order: the repository filter, a compact 2×2 summary, then Needs attention, Happening now, Recent outcomes and Historical stats. No horizontal overflow and no score column reserved.
Original unavailable: managed storage is unavailable or the upload has expired.