Skip to content

feat(dashboard): Add local mock conversations#482

Merged
dcramer merged 2 commits into
mainfrom
codex/dashboard-mock-conversations
Jun 2, 2026
Merged

feat(dashboard): Add local mock conversations#482
dcramer merged 2 commits into
mainfrom
codex/dashboard-mock-conversations

Conversation

@dcramer
Copy link
Copy Markdown
Member

@dcramer dcramer commented Jun 2, 2026

Add an opt-in local mock conversation overlay for dashboard visual QA. The fixtures give the conversation list and detail views realistic active, failed, redacted, scheduled, and long release workflows without generating Slack traffic.

Transcript Scanning

Dense tool runs now collapse behind one-way reveal dividers once a run has more than three calls. Message, system, thinking, and tool headings share a centered left/right row so metadata stays aligned across collapsed and expanded states. Thinking rows use a compact monochrome icon column, become expandable only when the preview is actually clipped or shortened, and highlighted code is constrained so long Shiki lines do not create mobile horizontal scroll. Mobile tool metadata avoids duplicate duration labels, and completed/idle status badges stay quiet unless there is active, error, or hung work to show.

Transcript Controls

The conversation copy action now lives beside the Rich/Raw controls as an icon-only button, and the redundant Transcript heading is removed from detail pages.

Dashboard Chrome

The header now keeps the Junior wordmark quiet by removing the plugin/skill/activity summary, gives the nav/logout controls more breathing room, and caps the header plus every dashboard route at a readable width on wide displays.

Configuration

The dashboard plugin, Nitro module, env config, example app, docs, and spec all expose the explicit local/demo mock conversation option.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview, Comment Jun 2, 2026 2:08pm

Request Review


function sentryTraceUrl(traceId: string): string {
return `https://sentry.example.com/performance/trace/${traceId}/`;
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate utility functions across mock fixture files

Low Severity

The helper functions iso, sentryConversationUrl, and sentryTraceUrl are identically defined in both mock-conversations.ts and mock-release-conversation.ts. Since mock-conversations.ts already imports from mock-release-conversation.ts, these could be exported once and shared, reducing the maintenance surface for fixture utilities.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 277b24b. Configure here.

Comment thread packages/junior-dashboard/src/client/components/StatusBadge.tsx Outdated
Comment thread packages/junior-dashboard/src/mock-release-conversation.ts Outdated
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 4 total unresolved issues (including 3 from previous reviews).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit ede644a. Configure here.

Comment thread packages/junior-dashboard/tsup.client.config.ts
Add an opt-in mock conversation overlay for local dashboard visual QA. The sample data covers active, failed, redacted, scheduled, and longer release workflows while keeping real reporting records visible.

Tighten transcript scanning for dense tool runs and mobile metadata so the fixtures are easier to use for visual QA.

Co-Authored-By: GPT-5 Codex <codex@openai.com>
@dcramer dcramer force-pushed the codex/dashboard-mock-conversations branch from ede644a to 7c0d43b Compare June 2, 2026 13:54
@dcramer dcramer marked this pull request as ready for review June 2, 2026 13:58
Keep custom idle status labels visible for command center loading state, derive mock transcript counts from fixture arrays, and remove duplicate client bundle config entries.

Co-Authored-By: GPT-5 Codex <codex@openai.com>
@dcramer dcramer merged commit 035fd9e into main Jun 2, 2026
16 checks passed
@dcramer dcramer deleted the codex/dashboard-mock-conversations branch June 2, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant