feat: add UploadZone component and database utility for file processing
This commit is contained in:
@@ -70,7 +70,7 @@ const UploadZone = ({ onUploadComplete }) => {
|
||||
<p className="font-medium text-lg">Drag files here</p>
|
||||
<p className="text-sm text-fg-muted mb-4">Supports .txt and .md (max 5MB)</p>
|
||||
<Button variant="outline" type="button" disabled={isProcessing}>
|
||||
{isProcessing && !syncProgress ? 'AI extraction in progress...' : 'Browse files'}
|
||||
{isProcessing ? 'AI extraction in progress...' : 'Browse files'}
|
||||
</Button>
|
||||
<input
|
||||
type="file"
|
||||
|
||||
Reference in New Issue
Block a user