Skip to content

File upload#102

Merged
pSpitzner merged 25 commits intorelease/2.0.0from
fileUpload
Dec 29, 2025
Merged

File upload#102
pSpitzner merged 25 commits intorelease/2.0.0from
fileUpload

Conversation

@semohr
Copy link
Collaborator

@semohr semohr commented Jun 14, 2025

Adds file upload capabilities to our inbox view.

ToDos:

  • Frontend component drag/drop files into inbox
  • Action to trigger upload without drag and drop
  • Backend upload endpoint
  • Currently, the PR breaks the dev setup - errors on dynamic reloads (seems to only occur when working on the dialog or dropzone, PS I think thats tolerable)
  • docs (not the limit about folders, ssl required)
  • error handling?
  • test for backend route

@pSpitzner
Copy link
Owner

#102

Really loving this!
While we are at it, lets add a simple info when dragging in a folder (since thats likely a common use-case):

  • number music files inside
  • number non-music files
  • number folders

@semohr
Copy link
Collaborator Author

semohr commented Jun 15, 2025

Have never worked with directories but seems doable.

Side note: All file access apis are only available in the secure context (https).

@semohr semohr linked an issue Jun 15, 2025 that may be closed by this pull request
@semohr semohr mentioned this pull request Oct 10, 2025
pSpitzner pushed a commit that referenced this pull request Oct 13, 2025
* Added a box shadow to action buttons.

* Duration component edge case.
@pSpitzner pSpitzner closed this Oct 14, 2025
@pSpitzner pSpitzner deleted the fileUpload branch October 14, 2025 16:57
@semohr semohr restored the fileUpload branch October 14, 2025 17:10
@pSpitzner pSpitzner reopened this Oct 14, 2025
@pSpitzner pSpitzner added this to the 2.0.0 milestone Oct 19, 2025
@pSpitzner pSpitzner force-pushed the fileUpload branch 2 times, most recently from 9120ac3 to 2663196 Compare December 17, 2025 19:58
@pSpitzner
Copy link
Owner

Adds file upload capabilities to our inbox view.

ToDos:

  • Frontend component drag/drop files into inbox
  • Action to trigger upload without drag and drop
  • Backend upload endpoint
  • Currently, the PR breaks the dev setup - errors on dynamic reloads
  • docs (not the limit about folders, ssl required)
  • error handling?
  • test for backend route

We already had most of the needed tests, also, error handling seems to work:
screenshot_2025-12-26_214617@2x

@pSpitzner pSpitzner marked this pull request as ready for review December 26, 2025 20:47
@github-actions
Copy link

Thank you for the PR! The changelog has not been updated, so here is a friendly reminder to check if you need to add an entry.

@pSpitzner pSpitzner changed the base branch from main to release/2.0.0 December 26, 2025 20:48
semohr and others added 7 commits December 29, 2025 17:37
…iles

via drag and drop into the browser window or by manual selection.
tests now run through, but it still seems that our custom exceptions do not
 propagate through the xhr (invalid targetdir does not raise in frontend nor console log)
pSpitzner and others added 18 commits December 29, 2025 17:37
…dling.

TODO: mobile, use dialog, folder creation for multiple files, snackbar.

Co-Authored-By: semohr <sebastian@mohrenclan.de>
- Added generic useDrag hook
- Refactored upload into multiple files

Co-authored-by: pSpitzner <github@makeitso.one>
Other dialog parts still need some work but basic functions
are working.

Co-authored-by: pSpitzner <github@makeitso.one>
- dialog styling
- enabled dialog dropzone
- excluding .git from repo permission fix

a few bugs around uploading:
- we can add the same file multiple times
- we can add files after the upload finished :P
Structure is now flat instead of nested. Makes things easier.
@pSpitzner pSpitzner merged commit b8e07fd into release/2.0.0 Dec 29, 2025
2 checks passed
@pSpitzner pSpitzner deleted the fileUpload branch December 29, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FR: Drag Files into Inbox view to upload

2 participants