Skip to content
Snippets Groups Projects
Commit 302da17d authored by Jose Manuel Serrano Amaut's avatar Jose Manuel Serrano Amaut
Browse files

[REF]: Update bugs, ideas and features readmes

parent a44e9f83
No related branches found
No related tags found
No related merge requests found
......@@ -4,21 +4,21 @@
- [SOLVED]on change progress the loader is reredered again and again, I think that the 3 states or layers must be there from the begining
"preparing", "uploading", "result" - on cancel, the 2nd layer will dissapear, it will not be any big deal
- After uploading, progress must be reiitialized to 0
- [SOLVED] After uploading, progress must be reiitialized to 0
- [SOLVED] FileItemMainLayer WORKS STRANGE AT THE TIME NEW fILEiTEM IS ADDED
## Dropzone
- When no validation, upload removes all files.
- [SOLVED] When no validation, upload removes all files.
- [SOLVED]: action buttons rendered again and again since they were created again every time "value" prop changed
- [SOLVED]: Uploading works in 2 times (first time stops after setting progress = UPLOADING.progrss), but fails to recover from the manager. [UPDATED]: Problem is at `useDropzoneFileListUpdater.ts` file. The problem is that hook for updating when user wants to interrupt preparing, is called at the begining of the upload process, with value of undefined in all files. It is probably the last update on localFiles outside Dropzone component.
- When file is set from preparing to undefined it can be deleted, however, will appear again if onDelete is called. It would be great to add a reconciliation procedure to support different array sizes in updater hook. Or "canceled" upload status could be added and file Item should not show the "X" button when uploading and canceled. After Upload process, all files with "canceled" upload status should be set to "undefined" again. This can be a workaround.
- [DONE] When file is set from preparing to undefined it can be deleted, however, will appear again if onDelete is called. It would be great to add a reconciliation procedure to support different array sizes in updater hook. Or "canceled" upload status could be added and file Item should not show the "X" button when uploading and canceled. After Upload process, all files with "canceled" upload status should be set to "undefined" again. This can be a workaround. (`Using the extraData for keeping track if a Filemosaic was deleted`)
- [SOLVED] Dropzpne is afected by adding more files as children
- [SOLVED] Dropzone is afected by adding more files as children
- offset should not be used, instead a padding, given header or footer
- When layer is visible, border in the root container must dissapear
- [SOLVED] When layer is visible, border in the root container must dissapear
## Tooltip
......
......@@ -14,6 +14,7 @@
- Validate with accept prop
- Validate with maxFileSize prop
- Validate with maxFiles prop
- custom validation
## Read
......@@ -31,6 +32,6 @@
- ImagePreview
- VideoPreview
- PDFPreview
- JsonPreview fix rc-highlight
- FullScreenPreview
- JsonPreview [DONE]fix rc-highlight
- FullScreenPreview => FullScreen
- DropLayer
# Future Possible Features
## DROP
WHen data transfer only text or iimage in string, event
files dissapear in "replace". create a text file in memoory
......@@ -9,8 +10,8 @@ files dissapear in "replace". create a text file in memoory
- custom icons
- menu icon for FileItem ( FileOptions (menu collapsed from click in option icon) )
- [DONE]: Outside actions or buttons for Dropzone
- [WIP]:header and footer custom props
- FileItem: checkbox support
- [DONE]:header and footer custom props
- [NOT_YET]: FileItem: checkbox support
- [DONE] FileItem: ( smart prop ) detect when width of image is greater than height or viceversa in order to decide the orientation
## Upload
......
......@@ -8,11 +8,12 @@
## Phrases
- Stop pain with developing a complex widget, don't need to create a file upload component from scratch
- If you need to do it from scratch, there is an example [show some basic code] Bellow main page component
- Stop pain with developing a complex widget, don't need to create a file upload component from scratch [landingpage_section_3]
- If you need to do it from scratch, there is an example [show some basic code] Bellow main page component[landing_sec_3_pat_2]
## MIgrating from dropzone-ui
[landing_Sec_3_or_4]
## Migrating from react-dropzone
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment