Skip to content

Commit

Permalink
static file upload refactoring (#8966)
Browse files Browse the repository at this point in the history
* Can upload multiple documents with fileId

* Better notifications

* deleted pdfjs code, refactored TableUploader, Split Table and Document for clarity

* Got rid of older hooks

* Changed folder to document_folder for clarity

* Fixed spinner never ending in table modal

* More consistent with codebase style

* removed unnecessary typing

* Populate parent field

* Populate name on upload

---------

Co-authored-by: Lucas <[email protected]>
  • Loading branch information
overmode and Lucas authored Nov 28, 2024
1 parent 83f38e1 commit 4b8a9bf
Show file tree
Hide file tree
Showing 19 changed files with 967 additions and 900 deletions.
1 change: 0 additions & 1 deletion front/components/DataSourceViewDocumentModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export default function DataSourceViewDocumentModal({
dataSourceView,
owner,
});
console.log(isDocumentError);

const { title, text } = useMemo(() => {
if (!document) {
Expand Down
Loading

0 comments on commit 4b8a9bf

Please sign in to comment.