[WEB-2415] fix:remove input type to fix image upload#5563
[WEB-2415] fix:remove input type to fix image upload#5563SatishGandham merged 2 commits intopreviewfrom
Conversation
WalkthroughThe pull request modifies several components by removing the Changes
Possibly related PRs
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- web/core/components/core/image-picker-popover.tsx (1 hunks)
Files skipped from review due to trivial changes (1)
- web/core/components/core/image-picker-popover.tsx
There was a problem hiding this comment.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- web/core/components/core/modals/user-image-upload-modal.tsx (1 hunks)
- web/core/components/core/modals/workspace-image-upload-modal.tsx (1 hunks)
Files skipped from review due to trivial changes (1)
- web/core/components/core/modals/workspace-image-upload-modal.tsx
Additional comments not posted (1)
web/core/components/core/modals/user-image-upload-modal.tsx (1)
147-147: Verify the behavior ofreact-dropzonewith respect to handling the input type.The removal of the
typeattribute from the<input>element on line 147 is intended to fix an issue with image uploads. However, it's crucial to verify thatreact-dropzonehandles the input type correctly, as removing thetypeattribute will default it to "text", which is not suitable for file uploads.Run the following script to verify the behavior of
react-dropzone:
[WEB-2415]
The input type is removed as it was causing trouble if no prior background image is present, same is done for all other required places.
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Refactor