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

feat: improves onDelete, dropzoneText and docs #324

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jpinho
Copy link

@jpinho jpinho commented Sep 16, 2021

Description

This PR adds 3 contributions:

  • New Feature (extension/non-breaking): Improving onDelete of the DropzoneArea to make it more useful
  • New Feature (extension/non-breaking): Improving dropzoneText to make it more flexible
  • Docs: Improving docs, killing the screenshots in favor of an animated GIF

How Has This Been Tested

All of the changes done here have been tested on a project consuming my fork version.
Both onDelete and dropzoneText using react elements seem to work fine.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@jpinho
Copy link
Author

jpinho commented Sep 17, 2021

can you give this a look please @panz3r?

Copy link
Contributor

@panz3r panz3r left a comment

Choose a reason for hiding this comment

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

Hi @jpinho ,

Thanks for your contributions and sorry for the delayed review.

Just a couple of changes (mostly related to docs files) and I can merge your PR.

@@ -1,17 +1,17 @@
# material-ui-dropzone
Copy link
Contributor

Choose a reason for hiding this comment

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

Revert changes to README.md or exclude them from this PR.

@@ -1,7 +1,8 @@
# material-ui-dropzone
Copy link
Contributor

Choose a reason for hiding this comment

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

Revert changes to docs/intro.md or exclude them from this PR.

@@ -1,14 +1,9 @@
This is the Dialog component:
Copy link
Contributor

Choose a reason for hiding this comment

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

Revert changes to docs/screenshots.md or exclude them from this PR.

@@ -15,7 +15,7 @@ module.exports = {
content: './docs/support.md',
},
{
name: 'Screenshots',
name: 'Demo',
Copy link
Contributor

Choose a reason for hiding this comment

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

Revert this change

@jpinho
Copy link
Author

jpinho commented Nov 15, 2021

Thanks for the review. I've seen it before, but just got from holidays. Will be addressing this the upcoming week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants