[PR #12746] feat(app): add breadcrumb under file tabs #14351

Open
opened 2026-02-16 18:19:09 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12746

State: open
Merged: No


closes #12745

What does this PR do?

Added a breadcrumb element under file tabs showing the file path (e.g., src/components/file.tsx). Changes include:

  • New component: packages/ui/src/components/breadcrumb.tsx - displays path segments with / separators
  • Integration: Added to session-side-panel.tsx to render before FileTabContent when viewing file tabs
  • Layout fix: Removed mt-3 from file-tabs.tsx to eliminate extra spacing

Properly handles overflow with no wrapping.

image image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12746 **State:** open **Merged:** No --- closes #12745 ### What does this PR do? Added a breadcrumb element under file tabs showing the file path (e.g., src/components/file.tsx). Changes include: - New component: packages/ui/src/components/breadcrumb.tsx - displays path segments with / separators - Integration: Added to session-side-panel.tsx to render before FileTabContent when viewing file tabs - Layout fix: Removed mt-3 from file-tabs.tsx to eliminate extra spacing Properly handles overflow with no wrapping. <img width="466" height="142" alt="image" src="https://github.com/user-attachments/assets/229500c0-90ac-43c5-a859-f346a0595342" /> <img width="693" height="210" alt="image" src="https://github.com/user-attachments/assets/409bfcf9-4207-46cf-b2da-0d7f2696984f" />
yindo added the pull-request label 2026-02-16 18:19:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14351