nextcloud-libraries / nextcloud-libraries/nextcloud-upload
Uploader component design
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 5
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 14
Description
As discussed in https://github.com/nextcloud/photos/pull/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-elementcolor and--color-background-darkerbg). - 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"
- https://github.com/nextcloud-libraries/nextcloud-upload/issues/1604
- https://github.com/nextcloud-libraries/nextcloud-upload/issues/1605
What do you think? @skjnldsv :)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the discussion in PR #1785 and the related nextcloud-upload issues #1604 and #1605. Compare the existing uploader behavior with the proposed desktop and mobile layouts, including the progress indicator and upload actions. Done means the agreed responsive design is implemented across the listed use cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100