Skip to content

feat: communicate file not supported in folder error to the user#1278

Merged
Wallgau merged 3 commits into
mainfrom
file-not-supported-in-folder-error
Mar 26, 2026
Merged

feat: communicate file not supported in folder error to the user#1278
Wallgau merged 3 commits into
mainfrom
file-not-supported-in-folder-error

Conversation

@Wallgau

@Wallgau Wallgau commented Mar 26, 2026

Copy link
Copy Markdown
Collaborator

issue: #1139
Summary
Fix folder upload UX by detecting unsupported files and showing a clear error toast with ingest counts.
Reuse overwrite handling for folder duplicates so users can choose to overwrite duplicates or skip duplicates and continue.
Improve duplicate dialog copy for single vs multiple duplicates, and keep action buttons readable/aligned.
Test Plan
Upload a folder with mixed supported/unsupported files and confirm toast shows “only X of Y will be ingested”.
Upload a folder with duplicates and choose Overwrite duplicates; verify duplicates are replaced.
Upload a folder with duplicates and choose Skip duplicates & continue; verify non-duplicates still ingest.

Before the user won't receive any info about the unsupported files in the folder, will just be ignore and the user wasn't able to overwrite duplicate in folder:
here in this example 2 duplicates (just skipped by default) and only 7 ingested which makes it 9files acknowledge over the 12 files in the folder, 3 of them are not supported type files
Now, the user get info about unsupported files and the ability to overwrite the duplicates files:
https://github.com/user-attachments/assets/a243c601-1666-4922-8533-4fd6f76d09bb

Olfa Maslah added 3 commits March 26, 2026 12:02
…og reset

- Pass duplicate dialog count from pendingFolderUpload instead of mirroring state
- Add resetDuplicateDialogState() for shared cleanup of pending upload state

Made-with: Cursor
@Wallgau Wallgau requested a review from lucaseduoli March 26, 2026 16:06
@github-actions github-actions Bot added the frontend 🟨 Issues related to the UI/UX label Mar 26, 2026
@Wallgau Wallgau changed the title File not supported in folder error feat: communicate file not supported in folder error to the user Mar 26, 2026
@github-actions github-actions Bot added the enhancement 🔵 New feature or request label Mar 26, 2026

@lucaseduoli lucaseduoli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions Bot added the lgtm label Mar 26, 2026
@Wallgau Wallgau merged commit 22f4113 into main Mar 26, 2026
13 of 14 checks passed
@github-actions github-actions Bot deleted the file-not-supported-in-folder-error branch March 26, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement 🔵 New feature or request frontend 🟨 Issues related to the UI/UX lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants