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

Replaces the usages of uppy for uploads with custom hook. #1138

Merged

Conversation

deepakjosp
Copy link
Contributor

@deepakjosp deepakjosp commented Jun 7, 2024

Fixes #1126

Description
These changes reduced the bundle size from 4.41MB to 4.04MB when unzipped.

image

Checklist

  • I have made corresponding changes to the documentation.
  • I have updated the types definition of modified exports.
  • I have verified the functionality in some of the neeto web-apps.
  • I have added the necessary label (patch/minor/major - If package publish
    is required).

Reviewers

@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 7, 2024 11:49 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 7, 2024 12:09 Inactive
@deepakjosp deepakjosp self-assigned this Jun 7, 2024
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 12, 2024 07:08 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 13, 2024 06:25 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 13, 2024 06:32 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 13, 2024 06:36 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 13, 2024 07:06 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 13, 2024 07:33 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 13, 2024 08:18 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 13, 2024 10:22 Inactive
…when the value of changes instead of calling it on every render.
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 14, 2024 03:59 Inactive
@deepakjosp deepakjosp added the minor Releases non-breaking noteworthy changes with backward compatible. label Jun 14, 2024
@deepakjosp deepakjosp marked this pull request as ready for review June 14, 2024 04:15
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 14, 2024 05:27 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1138 June 14, 2024 05:39 Inactive
@deepakjosp
Copy link
Contributor Author

@AbhayVAshokan _a please review.

@neetogit-bot neetogit-bot bot assigned AbhayVAshokan and unassigned deepakjosp Jun 14, 2024
Copy link
Member

@AbhayVAshokan AbhayVAshokan left a comment

Choose a reason for hiding this comment

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

Nice work 👌
@deepakjosp _a please merge the PR after making these changes.

src/hooks/utils/fileUploader.js Outdated Show resolved Hide resolved
src/hooks/useFileUploader.js Outdated Show resolved Hide resolved
src/components/Editor/MediaUploader/LocalUploader.jsx Outdated Show resolved Hide resolved
src/components/Editor/MediaUploader/constants.js Outdated Show resolved Hide resolved
@neetogit-bot neetogit-bot bot assigned deepakjosp and unassigned AbhayVAshokan Jun 14, 2024
@deepakjosp deepakjosp merged commit 142c392 into main Jun 17, 2024
@deepakjosp deepakjosp deleted the 1126-replace-the-usages-of-uppy-for-uploads-with-custom-hook branch June 17, 2024 14:10
@AbhayVAshokan AbhayVAshokan restored the 1126-replace-the-usages-of-uppy-for-uploads-with-custom-hook branch June 24, 2024 04:01
@AbhayVAshokan AbhayVAshokan deleted the 1126-replace-the-usages-of-uppy-for-uploads-with-custom-hook branch June 24, 2024 04:01
AbhayVAshokan added a commit that referenced this pull request Jun 24, 2024
AbhayVAshokan added a commit that referenced this pull request Jun 24, 2024
@deepakjosp deepakjosp restored the 1126-replace-the-usages-of-uppy-for-uploads-with-custom-hook branch June 25, 2024 03:43
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ou1t-pr-1151 June 25, 2024 03:44 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Releases non-breaking noteworthy changes with backward compatible.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace the usages of @uppy for uploads with custom hook.
2 participants