Skip to content

feat(studio): make Files tab mobile-friendly#1262

Open
christso wants to merge 2 commits into
mainfrom
feat/mobile-friendly-files-tab
Open

feat(studio): make Files tab mobile-friendly#1262
christso wants to merge 2 commits into
mainfrom
feat/mobile-friendly-files-tab

Conversation

@christso
Copy link
Copy Markdown
Collaborator

Changes

  • FileTree.tsx: w-64w-full md:w-64 — full-width on mobile, 256px on desktop
  • EvalDetail.tsx (FilesTab): Added mobile panel switching with floating toggle button
    • On mobile: shows one panel at a time (tree or content viewer)
    • Tapping a file auto-switches to content view
    • Desktop layout unchanged (side-by-side)

Testing

  • TypeScript compilation: ✅ Clean
  • Desktop layout: Unchanged (side-by-side file tree + Monaco viewer)
  • Mobile layout: Toggle button to switch between file tree and content

- FileTree: w-64 → w-full md:w-64 (full-width on mobile)
- FilesTab: add mobile panel switching with floating toggle button
- On mobile, shows one panel at a time (tree or content viewer)
- Desktop layout unchanged (side-by-side)
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 23, 2026

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: ceca79f
Status: ✅  Deploy successful!
Preview URL: https://0c2024d2.agentv.pages.dev
Branch Preview URL: https://feat-mobile-friendly-files-t.agentv.pages.dev

View logs

- syncProjects() now fires in background instead of blocking startup
- listGitRuns() results cached in-memory for 60s to avoid repeated
  expensive git ls-tree + git cat-file --batch on every API request
- startup drops from ~30s to <1s even with missing project paths
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