Skip to content

Added a optional filesize limit for dnn-dropzone.#727

Merged
valadas merged 2 commits intoDNNCommunity:developfrom
Raaphe:dnn-dropzone-fileSizeLimit
May 21, 2023
Merged

Added a optional filesize limit for dnn-dropzone.#727
valadas merged 2 commits intoDNNCommunity:developfrom
Raaphe:dnn-dropzone-fileSizeLimit

Conversation

@Raaphe
Copy link
Copy Markdown
Contributor

@Raaphe Raaphe commented May 20, 2023

Added an optional filesize limit for dnn-dropzone. Also updated rexs's values for dnn-image-cropper as it also used bits of dnn-drop-zone.

Closes #667.

Copy link
Copy Markdown
Member

@valadas valadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, except rethinking about it now, we need to do something different for the resx (localization/language resources).
This would currently be a breaking change for any consumer using the resx prop as if they specified their own object without all the properties, then they would be missing the ones we just added.

We need to make the prop only have a type and and then merge what we got with our defaults.
I can help with that...

Copy link
Copy Markdown
Member

@valadas valadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent

@valadas valadas added this to the 0.18.0 milestone May 21, 2023
@valadas valadas added the enhancement New feature or request label May 21, 2023
@valadas valadas merged commit af0fdaf into DNNCommunity:develop May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement a filesize limit for dnn-dropzone

2 participants