Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[F2V] Upload manager #30069

Closed
12 of 18 tasks
skjnldsv opened this issue Dec 3, 2021 · 0 comments · Fixed by #39945
Closed
12 of 18 tasks

[F2V] Upload manager #30069

skjnldsv opened this issue Dec 3, 2021 · 0 comments · Fixed by #39945

Comments

@skjnldsv
Copy link
Member

skjnldsv commented Dec 3, 2021

This ticket is part of the files to vue migration

Goal

Have a dedicated upload managemnt module that can be invoked in multiple areas

QA

  • Independent source code
  • Can be invoked without Files (standalone)
  • Can be invoked externally (e.g dropping from the Files app to a folder)
  • Can be invoked with external auth (e.g used for public upload)
  • Support direct upload
  • Support chunk upload

First step

  • API: OCA.Files.Uploader
  • Dedicated service running in the background
    • Can add files/folder
    • Can retrieve the current summary of background service
    • Summary shall contain the following: Files/Folder count, size, remaining time.
  • Files UI shall contain the progress bar with a cancel button following this design:
    image
    First line files/folder count, second line: total size + remaining time
    Location of this UI remains unchanged: after the breadcrumbs
    • How shall we handle that ?
      • Does OCA.Files.Uploader provides a way to inject the component in the page directly?
      • Does it stays a service-api only and Files implements the display of the raw summary data?
      • Do we provide both to allow other apps to interact with the service on the page?

Second step (not 24)

  • Have a dedicated UI showing each files/folders opening when clicking the summary (like onedrive)
  • Only show folder if uploading multiple files, show file if uploading individually
  • Being able to cancel each file or folder being uploaded

Optional TBD

  • ❓ Pause/resume uploads (Resume chunked uploads #673)
  • ❓ Support bulk upload
  • ❓ Provides upload methods so it can be invoked without UI

Design

@nimishavijay @jancborchardt

@skjnldsv skjnldsv added enhancement 1. to develop Accepted and waiting to be taken care of labels Dec 3, 2021
@skjnldsv skjnldsv added this to the Nextcloud 24 milestone Dec 3, 2021
@CarlSchwan CarlSchwan self-assigned this Dec 16, 2021
@blizzz blizzz modified the milestones: Nextcloud 24, Nextcloud 25 Apr 21, 2022
@skjnldsv skjnldsv added 2. developing Work in progress and removed 1. to develop Accepted and waiting to be taken care of labels Aug 3, 2022
@blizzz blizzz modified the milestones: Nextcloud 25, Nextcloud 26 Oct 19, 2022
@blizzz blizzz modified the milestones: Nextcloud 26, Nextcloud 27 Mar 9, 2023
This was referenced Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants