Skip to content

Conversation

@abdulrehmann231
Copy link
Collaborator

The onOpenFile prop is passed through the component hierarchy, and in MessageContent, it's also added to the MessageContext for easier access.

UI/UX Improvements

  • Filenames now have hover effects (underline + color change) to indicate they're clickable
  • File icons provide visual context for file types
  • Removed redundant filename display for cleaner UI
  • Consistent behavior across code blocks and generated files preview

Notes

  • The "File: /path/to/file" text is still present in the markdown for file path extraction but is hidden from the UI
  • Uses the same vscode-icons-js library and icon path structure as the sidebar for consistency
  • All file opening operations go through the session manager to ensure proper diff session handling

Issue

Closes #211

Note

This PR will get merged after PR 215

@vercel
Copy link

vercel bot commented Jan 22, 2026

@abdulrehmann231 is attempting to deploy a commit to the jamesmurdza's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

[/AI Chat] Clicking on a filename in the generated file section should open that file’s tab.

1 participant