Redesign Overview as an operator-first OpenClaw dashboard#86460
Redesign Overview as an operator-first OpenClaw dashboard#86460homer-byte wants to merge 18 commits into
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 5, 2026, 8:04 AM ET / 12:04 UTC. Summary PR surface: Source +3817, Tests +475, Docs +7, Other -17. Total +4282 across 75 files. Reproducibility: yes. for the review blockers: source inspection shows the branch only loads usage for oauth/token profiles and copies cached quota windows on empty refresh, so the two provider-usage findings are reproducible from code. Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: Repair provider-usage enrollment and stale-cache behavior, add redacted live OpenRouter usage proof, then choose one Overview dashboard direction with #77774 before merge. Do we have a high-confidence way to reproduce the issue? Yes for the review blockers: source inspection shows the branch only loads usage for oauth/token profiles and copies cached quota windows on empty refresh, so the two provider-usage findings are reproducible from code. Is this the best way to solve the issue? No. The operator dashboard direction is plausible, but the best merge path needs current-main provider-usage enrollment, account-safe stale-window handling, live OpenRouter proof, and a maintainer choice against the overlapping dashboard PR. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 785ab7477982. Label changesLabel justifications:
Evidence reviewedPR surface: Source +3817, Tests +475, Docs +7, Other -17. Total +4282 across 75 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
|
ClawSweeper PR egg 🔥 Warming up: real-behavior proof passed; findings, security review, or rank-up moves are still in progress. Hatch commandComment Hatchability rules:
What is this egg doing here?
|
|
@clawsweeper re-review Updated in
Validation: Real behavior proof from the connected local Gateway Overview after installing the built bundle: {
"hasOverview": true,
"recentRows": 3,
"moreButtons": [
"6 more sessions"
],
"usageNote": "Codex 5h window resets 2m."
}The redacted screenshot was captured locally during that same proof run after replacing private identifiers before capture. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review The PR body now uses the required Real behavior proof fields, and the latest |
|
🦞👀 Command router queued. I will update this comment with the next step. Re-review progress:
|
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
# Conflicts: # test/scripts/docker-build-helper.test.ts
|
@clawsweeper re-review Current head: Please re-review the current head after the latest main sync, conflict resolution, provider-title change, and PR body/proof refresh. Since the earlier needs-changes review, this branch now:
Latest local validation completed before this re-review request: Current GitHub state observed before this comment: PR is still draft, mergeable, and current visible checks are pass/skip except Socket Project Report still pending. |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
This comment was marked as spam.
This comment was marked as spam.
|
@homer-byte thanks for the PR. ClawSweeper is still waiting on real behavior proof before this can move forward. Useful proof can be a screenshot, short video, terminal output, copied live output, linked artifact, or redacted logs that show the changed behavior after the fix. Please redact private tokens, phone numbers, private endpoints, customer data, and anything else sensitive. Once proof is added to the PR body or a comment, ClawSweeper or a maintainer can re-check it. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: Redesign Overview as an operator-first OpenClaw dashboard This is item 1/1 in the current shard. Shard 12/22. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
Summary
Major functional improvements
Review fixes
Creditsare no longer forced intoCredits quota.Creditsrenders with native remaining labels such as$12.34 leftinstead ofCredits quotaplus a normalized percentage.$0.00beside provider-native quota/credit data, and folds useful provider details such as$8.90 used of $21.24into the quota cell instead./api/v1/creditsand/api/v1/key, displaying account credits/key limits as dollar balances when OpenRouter returns them.Screenshots
Sanitized Codex-plan Provider Usage render from the current branch UI. This is a synthetic fixture using generic sessions and localhost-only connection data, so it shows the real component state without exposing a personal install:
Sanitized OpenRouter-style Provider Usage render from the same current branch UI. It shows provider-native dollar credit display alongside other provider quota shapes without claiming a live OpenRouter account was queried locally:
Validation
pnpm exec vitest run src/infra/provider-usage.format.test.ts src/infra/provider-usage.shared.test.ts extensions/openrouter/index.test.ts extensions/openrouter/usage.test.ts ui/src/ui/views/overview.render.test.tspnpm ui:i18n:syncpnpm ui:i18n:checkpnpm format:docs:checkpnpm ui:buildpnpm lint:ui:no-raw-window-openpnpm buildgit diff --checkReal behavior proof
The OpenRouter render shows provider-native credit formatting rather than forcing a percentage-only display:
Implementation notes