feat(verification): add MediaUploadStep with drag-and-drop, file preview, and upload progress - #477
Merged
Tybravo merged 1 commit intoJul 31, 2026
Conversation
…and progress - Add MediaUploadStep component with full drag-and-drop support - Support click-to-select with keyboard accessibility (Enter/Space) - Image and video preview thumbnails with file type icons - Upload progress simulation with animated progress bar - File size validation with configurable limits - Single and multiple file modes - Dark mode support via Tailwind CSS classes - Full ARIA accessibility (roles, labels, live regions) - Error handling with alert role for screen readers - Add comprehensive Jest test suite (24 test cases) Closes Tybravo#422
|
@laurentketterle-hub is attempting to deploy a commit to the DaniBravo Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
@laurentketterle-hub good work done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the MediaUploadStep component for the verification wizard — a polished, accessible drag-and-drop file upload UI built with React Dropzone and Tailwind CSS.
✨ Features
multipleprop for multi-file uploadsfilesprop withonFilesChangecallbackdark:variants🎨 Screenshot Description
🧪 Tests
24 test cases in
MediaUploadStep.test.tsxcovering:📂 Files Changed
frontend/features/verification/components/steps/MediaUploadStep.tsx— new component (~290 lines)frontend/features/verification/components/steps/__tests__/MediaUploadStep.test.tsx— test suite (~350 lines)🔗 References
Closes #422