Skip to content

Show source file path in session info panel (local mode)#16

Open
Angelmmiguel wants to merge 1 commit intomainfrom
rover/issue-15-file-path
Open

Show source file path in session info panel (local mode)#16
Angelmmiguel wants to merge 1 commit intomainfrom
rover/issue-15-file-path

Conversation

@Angelmmiguel
Copy link
Copy Markdown
Contributor

Summary

  • Display the source file path in the session info panel when running in local mode
  • Add a copy-to-clipboard button for the file path with visual feedback
  • Pass filePath through SessionSource type when selecting local sessions

Closes #15

Changes

  • packages/web/src/lib/types.ts — Extended the local session source type to include an optional filePath property
  • packages/web/src/routes/+page.svelte — Pass filePath from discovered sessions into the session source metadata
  • packages/web/src/lib/components/viewer/panel/SessionInfo.svelte — Render the file path (with ~ home shortening) and a copy button, gated behind isLocal
Generated by Rover

Trace: ea19af06-318c-42e3-b6c6-1c8c515b37a6 | Action: a3a7058c-a54c-4d74-a027-fec3bd211d14

Display the file path in the session info section of the right panel,
gated behind isLocal. This only applies to capsule serve (local mode).

- Add filePath to the local variant of SessionSource type
- Pass filePath from DiscoveredSession into the source object
- Render file path with copy-to-clipboard button in SessionInfo panel
- Path is shortened with ~ for home directory, with full path on hover

Closes #15

Co-Authored-By: Rover <noreply@endor.dev>
@cloudflare-workers-and-pages
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 Preview URL Updated (UTC)
✅ Deployment successful!
View logs
capsule c12ac7f Commit Preview URL

Branch Preview URL
Feb 27 2026, 09:51 AM

@endorhq endorhq deleted a comment from endor-bot Feb 27, 2026
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.

Show source file path in session info panel (local mode)

1 participant