Skip to content

fix(dashboard): make targets table scroll on mobile#1346

Open
christso wants to merge 1 commit into
mainfrom
fix/dashboard-targets-mobile
Open

fix(dashboard): make targets table scroll on mobile#1346
christso wants to merge 1 commit into
mainfrom
fix/dashboard-targets-mobile

Conversation

@christso

Copy link
Copy Markdown
Collaborator

Summary

Targets on phone-width Dashboard views no longer hide the right-side metrics behind a clipped table. The Targets summary now uses the same mobile-safe table treatment as existing run detail tables: a stable minimum width inside a horizontal overflow container, so users can scroll from target names through pass rate, eval counts, and execution errors while desktop continues to fill the available width.

Verification

  • cd apps/dashboard && bun run build
  • bun --filter @agentv/dashboard test
  • bunx biome check apps/dashboard/src/components/TargetsTab.tsx
  • bun run verify
  • Visual UAT with local Dashboard from current code via bun apps/cli/src/cli.ts dashboard --port 3128 at /projects/financial-research-agent?tab=targets

Evidence

  • Mobile red case, before fix: /tmp/agentv-evidence/targets-mobile-red.png — columns after Pass Rate are clipped in the non-scrollable table.
  • Mobile green case, after fix: /tmp/agentv-evidence/targets-mobile-green-left.png and /tmp/agentv-evidence/targets-mobile-green-scrolled.png — horizontal scrollbar is visible and the right-side Evals / Execution Errors columns are reachable.
  • Desktop green case: /tmp/agentv-evidence/targets-desktop-green.png — table still fills the desktop content area without horizontal scrolling.

Compound Engineering
Codex

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: cae517e
Status: ✅  Deploy successful!
Preview URL: https://7d9b00ad.agentv.pages.dev
Branch Preview URL: https://fix-dashboard-targets-mobile.agentv.pages.dev

View logs

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