summaryrefslogtreecommitdiff
path: root/frontend/src/components/LeftSidebar.tsx
diff options
context:
space:
mode:
authorYurenHao0426 <blackhao0426@gmail.com>2026-02-13 18:43:35 +0000
committerYurenHao0426 <blackhao0426@gmail.com>2026-02-13 18:43:35 +0000
commitfb72ce4fa11ca1f3252bdf24c489de2d16097752 (patch)
treedd5db9d437035018a3c28b74617970f56f0ede52 /frontend/src/components/LeftSidebar.tsx
parent2137e76e9dfcc13a2fcb1753844762cc4b99582a (diff)
Remove provider badge from file list and add upload indicator to right sidebar
- Remove per-provider label from left sidebar file list since files are now uploaded to all providers simultaneously - Add uploading spinner to right sidebar "Upload & Attach" button - Always upload with provider 'local' from right sidebar settings tab Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'frontend/src/components/LeftSidebar.tsx')
-rw-r--r--frontend/src/components/LeftSidebar.tsx5
1 files changed, 0 insertions, 5 deletions
diff --git a/frontend/src/components/LeftSidebar.tsx b/frontend/src/components/LeftSidebar.tsx
index 5c464bb..54c2527 100644
--- a/frontend/src/components/LeftSidebar.tsx
+++ b/frontend/src/components/LeftSidebar.tsx
@@ -1041,11 +1041,6 @@ const LeftSidebar: React.FC<LeftSidebarProps> = ({ isOpen, onToggle }) => {
<span className={`text-[11px] ${isDark ? 'text-gray-500' : 'text-gray-500'}`}>
{formatSize(f.size)} • {new Date(f.created_at * 1000).toLocaleString()}
</span>
- {f.provider && (
- <span className={`text-[11px] inline-flex items-center gap-1 mt-0.5 px-2 py-0.5 rounded ${isDark ? 'bg-gray-800 text-gray-300 border border-gray-700' : 'bg-gray-100 text-gray-700 border border-gray-200'}`}>
- Provider: {f.provider === 'openai' ? 'OpenAI' : f.provider === 'google' ? 'Gemini' : f.provider}
- </span>
- )}
</div>
<div className="flex items-center gap-2">
<button