Skip to content

Uploader component design #816

@nimishavijay

Description

@nimishavijay

As discussed in nextcloud/photos#1785 the uploader component needs to work across all screen sizes. After discussing with @jancborchardt and @szaimen, here is what it could look like:

  • On desktop and large screens, just show the progress bar as it is.
  • On mobile, it depends on the use case. For eg. in Talk, since there is ample horizontal space, it could just be the progress bar that appears below the associated element.
  • For Photos and Files, we could use the circular progress bar seen for uploading in ios, or for indicating the number of characters while composing a tweet on Twitter (screenshots attached).
    • This would be used when there is not enough space for a linear progress bar. It could appear next to the associated element.
    • It can be in the same style as the linear progress bar (--color-primary-element color and --color-background-darker bg).
    • Tapping on this element would show an action menu with 2 entries, 1 line with the text info ("a few seconds remaining", etc), as well as the second option to "Cancel upload"
  • Show success message after upload has finished #1604
  • Show current upload speed #1605

What do you think? @skjnldsv :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofdesignRelated to the designenhancementNew feature or requestoverviewOverview of other issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions