Skip to content

fix(dashboard): restore GitHub links and model on mobile run cards - #147

Merged
MathurAditya724 merged 1 commit into
mainfrom
cursor/agent-runs-mobile-links
Aug 7, 2026
Merged

fix(dashboard): restore GitHub links and model on mobile run cards#147
MathurAditya724 merged 1 commit into
mainfrom
cursor/agent-runs-mobile-links

Conversation

@MathurAditya724

Copy link
Copy Markdown
Member

Summary

Addresses two Bugbot findings on the mobile Agent-runs cards from #146:

  • Medium — mobile dropped GitHub links. The card was a <button>, which can't legally wrap the entity/repo <a> links, so mobile lost the tap-to-GitHub that the table had. The card is now a keyboard-operable clickable div (navigates to detail on click/Enter/Space), and the entity + repo render as GitHubLinks again (they stop propagation, so tapping them opens GitHub while tapping elsewhere opens the run).
  • Low — model hidden when agent is null. The mobile card only showed model nested inside the agent block. It now shows whichever of agent/model is present ([agent, model].filter(Boolean).join(" · ")), matching the desktop table.

Test plan

  • tsc --noEmit clean, biome check clean (a11y exception documented with a justified biome-ignore)
  • pnpm build succeeds
  • Visual: tap a card body → opens the run; tap the entity/repo link → opens GitHub

Made with Cursor

Follow-up to the mobile cards: the card was a <button>, so it couldn't wrap
the entity/repo GitHub anchors and dropped them entirely (mobile users lost
the tap-to-GitHub links the table had). It also only showed the model nested
under the agent, hiding it whenever agent was null.

Card is now a keyboard-operable clickable div (navigates to detail) with the
entity and repo rendered as GitHubLinks again (they stop propagation), and the
agent/model line shows whichever of the two is present.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 7, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
jared 94674a1 Aug 07 2026, 02:43 PM

@MathurAditya724
MathurAditya724 merged commit 2411e5a into main Aug 7, 2026
17 of 18 checks passed
@MathurAditya724
MathurAditya724 deleted the cursor/agent-runs-mobile-links branch August 7, 2026 14:46
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