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

Update DropZone and DropZoneItem #52

Open
wojtek-krysiak opened this issue Oct 8, 2020 · 0 comments
Open

Update DropZone and DropZoneItem #52

wojtek-krysiak opened this issue Oct 8, 2020 · 0 comments
Labels
Design System enhancement New feature or request

Comments

@wojtek-krysiak
Copy link
Contributor

Describe the problem feature solves

Right now drop zone is rather raw than final production component. It has to be prettyfied:

Improve mime type Validation

Right now user can give both max size and array of allowed mime types to the component. We have to change that he can also add a group of mime types. Grouls are: audio, image, video, compressed, document, text, PDF, font.

When user gives group there should be a info that user can upload let say image + image icon.

BUT:

  • There could be multiple groups
  • user could still be able to add mime-types manually
  • user can add mimetypes + group so let say group "PDF" + mime type: 'application/vnd.ms-powerpoint' This is not likely but we will have to handle this case

Single/Multi upload

In general: there are 2 modes for this component: single upload and multi upload, and they look the same right now.

The files goes always below the upload box which even takes place when user can upload only one file. We have to change that when upload is single it should go "inside" the upload box.

BUT: user still should see validation information, option to remove the file and upload another one.

For multi upload - it should be similar as now.

Progress bar
I would like to improve upload feature that it upoads to temporary place just after the "drop" so it is instant. In such case user should see a progress bar of uploaded file.

@dziraf dziraf added Design System enhancement New feature or request labels Dec 28, 2021
@krzysztofstudniarek krzysztofstudniarek transferred this issue from SoftwareBrothers/adminjs Aug 16, 2022
@dziraf dziraf moved this to Todo in AdminJS Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Design System enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants