Skip to content

Conversation

@shuv1337
Copy link
Contributor

Summary

  • Always call list() for parent directory in file fetch (removes unnecessary conditional)
  • Add image preview support in file tabs
  • SVG files get a toggle to switch between rendered image and source code

Changes

  • packages/app/src/context/local.tsx: Remove conditional check before list(parent)
  • packages/app/src/pages/session.tsx: New FileTabContent component for rendering images and code with SVG toggle

Proof

Before:

Before.mp4

After:

After.mp4

@shuv1337 shuv1337 closed this Dec 31, 2025
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