Add Mission Control dashboard - #250
Merged
Merged
Conversation
Covers the in-flight/jump-back-in row derivations and an end-to-end render of the new /mission-control route with honest empty states.
New /mission-control route: what needs a decision (real approvals, approve/deny wired), what's running now (working tasks + running routines), and recent context to jump back into — pinned above the sidebar's footer rail as its own row, per DESIGN.md, never a 7th button mixed into the existing rail. Every panel reads real bench data already used elsewhere in the app (needs-you approvals, working tasks, top-level runs, insights activity); an empty panel says so instead of showing invented numbers.
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.
Summary
/mission-controlroute (CL-6488/CL-6489) — the dashboard the owner's mock has and the app was missing./stays the Myra land-hop redirect, untouched.insights/activity.GET .../approvals/needs-youlist, with working Approve/Deny wired to the existingapproveApproval/rejectApprovalcalls and the same cache invalidation the chat approval card uses. Empty state: "Nothing waiting on you."useBenchActivityworking tasks (running/needs-you, not queued) plus running routine fires. Tokens are intentionally omitted — no honest per-run token count exists on this feed, so the column was dropped rather than showing a placeholder. Empty state: "Nothing running right now."insights/activityfetch, linking to Insights.@corbits/error-sink/reportError, but that package doesn't exist onmain— action failures use the existingtoast(...)convention (@corbits/react-ui) other pages already use instead.Test plan
bun test test/mission-control-page.test.tsx— row-derivation unit tests + a render test asserting the honest empty statesbun test test/routes.test.tsx test/sidebar.test.tsx src/shell/sidebar-rows.test.ts— route table and nav/sidebar tests stay greenbun test(apps/web) — 791 pass / 3 pre-existing unrelated failures (tailwind-build.test.ts needs a priorbun run build, not run in this environment)bunx tsc --noEmit(apps/web) — cleanbun run scripts/checks/tailwind-source.ts— ok, no new@sourceentry needed