refactor: update ActiveConnectorsTab and ChatShareButton components for improved UI

- Adjusted styling in ActiveConnectorsTab to enhance visual clarity by modifying the Cable component's class.
- Removed unnecessary elements from ChatShareButton to streamline the UI and updated the loading text for consistency.
This commit is contained in:
Anish Sarkar 2026-01-15 22:44:02 +05:30
parent 802419502d
commit 4281e6f15d
2 changed files with 2 additions and 20 deletions

View file

@ -313,19 +313,12 @@ export const ActiveConnectorsTab: FC<ActiveConnectorsTabProps> = ({
) : (
<div className="flex flex-col items-center justify-center py-20 text-center">
<div className="flex h-16 w-16 items-center justify-center rounded-full bg-muted mb-4">
<Cable className="size-8 text-muted-foreground/50" />
<Cable className="size-8 text-muted-foreground" />
</div>
<h4 className="text-lg font-semibold">No active sources</h4>
<p className="text-sm text-muted-foreground mt-1 max-w-[280px]">
Connect your first service to start searching across all your data.
</p>
<Button
variant="link"
className="mt-6 text-primary hover:underline"
onClick={() => onTabChange("all")}
>
Browse available connectors
</Button>
</div>
)}
</TabsContent>