Show source file path in session info panel (local mode)#16
Open
Angelmmiguel wants to merge 1 commit intomainfrom
Open
Show source file path in session info panel (local mode)#16Angelmmiguel wants to merge 1 commit intomainfrom
Angelmmiguel wants to merge 1 commit intomainfrom
Conversation
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>
Deploying with
|
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
filePaththroughSessionSourcetype when selecting local sessionsCloses #15
Changes
packages/web/src/lib/types.ts— Extended thelocalsession source type to include an optionalfilePathpropertypackages/web/src/routes/+page.svelte— PassfilePathfrom discovered sessions into the session source metadatapackages/web/src/lib/components/viewer/panel/SessionInfo.svelte— Render the file path (with~home shortening) and a copy button, gated behindisLocalGenerated by Rover
Trace:
ea19af06-318c-42e3-b6c6-1c8c515b37a6| Action:a3a7058c-a54c-4d74-a027-fec3bd211d14