diff --git a/packages/ui/src/components/instance/shell/right-panel/tabs/ChangesTab.tsx b/packages/ui/src/components/instance/shell/right-panel/tabs/ChangesTab.tsx index 25a36824..2a038531 100644 --- a/packages/ui/src/components/instance/shell/right-panel/tabs/ChangesTab.tsx +++ b/packages/ui/src/components/instance/shell/right-panel/tabs/ChangesTab.tsx @@ -144,7 +144,7 @@ const ChangesTab: Component = (props) => { >
- {item.file} + {item.file}
+{item.additions} @@ -170,7 +170,7 @@ const ChangesTab: Component = (props) => { >
- {item.file} + {item.file}
+{item.additions} @@ -190,7 +190,7 @@ const ChangesTab: Component = (props) => { header={ <> - {headerPath()} + {headerPath()}
diff --git a/packages/ui/src/components/instance/shell/right-panel/tabs/FilesTab.tsx b/packages/ui/src/components/instance/shell/right-panel/tabs/FilesTab.tsx index 73dd56cb..dc462474 100644 --- a/packages/ui/src/components/instance/shell/right-panel/tabs/FilesTab.tsx +++ b/packages/ui/src/components/instance/shell/right-panel/tabs/FilesTab.tsx @@ -105,7 +105,7 @@ const FilesTab: Component = (props) => {
props.onLoadEntries(p())}>
- .. + ..
@@ -131,7 +131,7 @@ const FilesTab: Component = (props) => { >
- {item.name} + {item.name}
{item.type} @@ -150,7 +150,7 @@ const FilesTab: Component = (props) => {
- {headerDisplayedPath()} + {headerDisplayedPath()} diff --git a/packages/ui/src/components/instance/shell/right-panel/tabs/GitChangesTab.tsx b/packages/ui/src/components/instance/shell/right-panel/tabs/GitChangesTab.tsx index ba9a53b9..bd77d7e5 100644 --- a/packages/ui/src/components/instance/shell/right-panel/tabs/GitChangesTab.tsx +++ b/packages/ui/src/components/instance/shell/right-panel/tabs/GitChangesTab.tsx @@ -157,7 +157,7 @@ const GitChangesTab: Component = (props) => { >
- {item.path} + {item.path}
@@ -188,7 +188,7 @@ const GitChangesTab: Component = (props) => { >
- {item.path} + {item.path}
@@ -213,7 +213,7 @@ const GitChangesTab: Component = (props) => { header={ <> - {selectedEntry?.path || "Git Changes"} + {selectedEntry?.path || "Git Changes"}
diff --git a/packages/ui/src/styles/panels/right-panel.css b/packages/ui/src/styles/panels/right-panel.css index 58d78537..f2bfb016 100644 --- a/packages/ui/src/styles/panels/right-panel.css +++ b/packages/ui/src/styles/panels/right-panel.css @@ -164,9 +164,15 @@ @apply text-xs font-mono min-w-0 flex-1 overflow-hidden whitespace-nowrap; color: var(--text-primary); text-overflow: ellipsis; + /* Truncate from the start; keep filename visible. */ direction: rtl; text-align: left; - unicode-bidi: plaintext; + unicode-bidi: isolate; +} + +.files-tab-selected-path .file-path-text { + direction: ltr; + unicode-bidi: isolate; } .files-tab-stat { @@ -240,9 +246,15 @@ @apply text-xs font-mono min-w-0 flex-1 overflow-hidden whitespace-nowrap; color: var(--text-primary); text-overflow: ellipsis; + /* Truncate from the start; keep filename visible. */ direction: rtl; text-align: left; - unicode-bidi: plaintext; + unicode-bidi: isolate; +} + +.file-list-item-path .file-path-text { + direction: ltr; + unicode-bidi: isolate; } .file-list-item-stats {