mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-10 23:48:26 +00:00
* Feat: change space assignment from statement to episode * feat: add default spaces and improve integration, space tools discovery in MCP * feat: change spaces to episode based * Feat: take multiple spaceIds while ingesting * Feat: modify mcp tool descriptions, add spaceId in mcp url * feat: add copy * bump: new version 0.1.24 --------- Co-authored-by: Manoj <saimanoj58@gmail.com>
28 lines
768 B
TypeScript
28 lines
768 B
TypeScript
import { Dialog, DialogContent, DialogHeader, DialogTitle } from "../ui/dialog";
|
|
|
|
interface AddDocumentDialogProps {
|
|
open: boolean;
|
|
onOpenChange: (open: boolean) => void;
|
|
}
|
|
|
|
export function AddDocumentDialog({
|
|
open,
|
|
onOpenChange,
|
|
}: AddDocumentDialogProps) {
|
|
return (
|
|
<Dialog open={open} onOpenChange={onOpenChange}>
|
|
<DialogContent className="sm:max-w-[600px]">
|
|
<DialogHeader>
|
|
<DialogTitle>Add Document</DialogTitle>
|
|
</DialogHeader>
|
|
{/* TODO: Add document content here */}
|
|
<div className="border-border rounded-md border p-4">
|
|
<p className="text-muted-foreground text-sm">
|
|
Document upload content goes here...
|
|
</p>
|
|
</div>
|
|
</DialogContent>
|
|
</Dialog>
|
|
);
|
|
}
|