refactor: update terminology in AllConnectorsTab and enhance styling in FolderTreeView

This commit is contained in:
Anish Sarkar 2026-04-08 16:20:41 +05:30
parent c9c1d239f8
commit b76a6babc1
2 changed files with 3 additions and 3 deletions

View file

@ -302,12 +302,12 @@ export const AllConnectorsTab: FC<AllConnectorsTabProps> = ({
return ( return (
<div className="space-y-8"> <div className="space-y-8">
{/* Document/Files Connectors */} {/* File Storage Integrations */}
{hasDocumentFileConnectors && ( {hasDocumentFileConnectors && (
<section> <section>
<div className="flex items-center gap-2 mb-4"> <div className="flex items-center gap-2 mb-4">
<h3 className="text-sm font-semibold text-muted-foreground"> <h3 className="text-sm font-semibold text-muted-foreground">
Document/Files Connectors File Storage Integrations
</h3> </h3>
</div> </div>
<div className="grid grid-cols-1 sm:grid-cols-2 gap-3"> <div className="grid grid-cols-1 sm:grid-cols-2 gap-3">

View file

@ -283,7 +283,7 @@ export function FolderTreeView({
if (treeNodes.length === 0 && folders.length === 0 && documents.length === 0) { if (treeNodes.length === 0 && folders.length === 0 && documents.length === 0) {
return ( return (
<div className="flex flex-1 flex-col items-center justify-center gap-1 px-4 py-12 text-muted-foreground"> <div className="flex flex-1 flex-col items-center justify-center gap-1 px-4 py-12 text-muted-foreground select-none">
<p className="text-sm font-medium">No documents found</p> <p className="text-sm font-medium">No documents found</p>
<p className="text-xs text-muted-foreground/70"> <p className="text-xs text-muted-foreground/70">
Use the upload button or connect a source above Use the upload button or connect a source above