mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-29 10:56:24 +02:00
documents table migration, fix/update github indexing
This commit is contained in:
parent
bb198e38c0
commit
a26fac435b
5 changed files with 197 additions and 17 deletions
|
|
@ -94,7 +94,7 @@ import rehypeSanitize from "rehype-sanitize";
|
|||
import remarkGfm from "remark-gfm";
|
||||
import { DocumentViewer } from "@/components/document-viewer";
|
||||
import { JsonMetadataViewer } from "@/components/json-metadata-viewer";
|
||||
import { IconBrandNotion, IconBrandSlack, IconBrandYoutube } from "@tabler/icons-react";
|
||||
import { IconBrandGithub, IconBrandNotion, IconBrandSlack, IconBrandYoutube } from "@tabler/icons-react";
|
||||
|
||||
// Define animation variants for reuse
|
||||
const fadeInScale = {
|
||||
|
|
@ -142,6 +142,7 @@ const documentTypeIcons = {
|
|||
NOTION_CONNECTOR: IconBrandNotion,
|
||||
FILE: File,
|
||||
YOUTUBE_VIDEO: IconBrandYoutube,
|
||||
GITHUB_CONNECTOR: IconBrandGithub,
|
||||
} as const;
|
||||
|
||||
const columns: ColumnDef<Document>[] = [
|
||||
|
|
@ -1028,4 +1029,4 @@ function RowActions({ row }: { row: Row<Document> }) {
|
|||
);
|
||||
}
|
||||
|
||||
export { DocumentsTable }
|
||||
export { DocumentsTable }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue