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

Fix: Enhance Dropzone accept and reject visual #603

Merged

Conversation

Champetaman
Copy link
Contributor

This pull request improves the user experience by enhancing the visual feedback in the Dropzone component when files are dragged over the dropzone area.

Changes include:

  • Added a full blue overlay effect that activates when a file is dragged into the dropzone area, providing a clear visual indication of the active drop zone.
  • Updated CSS in Dropzone.module.css to ensure the entire dropzone area changes color consistently without blurring.
  • Refactored the Dropzone.tsx component to manage the active state within the DropzoneField, ensuring that the visual feedback is consistently applied.

Previous:
image

After:
image

@abouolia
Copy link
Contributor

lgtm!, Thanks for contribution, just pushed a commit for some style tweaks for accept and reject modes to align with Bigcapital brand. let us merge it.

Screenshot 2024-08-14 at 4 09 02 PM

image

@abouolia abouolia changed the title Fix: Enhance Dropzone Visual Feedback for File Drag-and-Drop Fix: Enhance Dropzone accept and reject visual Aug 14, 2024
@abouolia abouolia merged commit 8c89e04 into bigcapitalhq:develop Aug 14, 2024
1 check failed
@abouolia
Copy link
Contributor

@all-contributors please add @Champetaman for code

Copy link
Contributor

@abouolia

I've put up a pull request to add @Champetaman! 🎉

@Champetaman Champetaman deleted the fix-import-drag-area-colors-blue branch August 14, 2024 14:24
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