Skip to content

[F2V] Upload manager #30069

@skjnldsv

Description

@skjnldsv

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions