Add @mediadrop to the registry directory - #11239
Closed
vasanth-rb wants to merge 1 commit into
Closed
Conversation
Contributor
|
@vasanth-rb is attempting to deploy a commit to the shadcn-pro Team on Vercel. A member of the Team first needs to authorize it. |
2 tasks
vasanth-rb
added a commit
to autorender/react-mediadrop
that referenced
this pull request
Jul 22, 2026
…try install (#25) ## Summary - README + docs Introduction lead with the react-dropzone comparison up front (was buried in README's "Why" section, absent from docs entirely). - Adds a shadcn GitHub-registry install path (`npx shadcn@latest add autorender/react-mediadrop/dropzone`) for the four registry blocks, documented in README, docs, and the agent skill (`skills/mediadrop/references/registry-blocks.md`). Holds off on the `@mediadrop/dropzone` namespace form until [shadcn-ui/ui#11239](shadcn-ui/ui#11239) merges. - Surfaces `npx skills add autorender/react-mediadrop` and Context7 indexing next to `npm install` on the README's first screen instead of only on its own docs page. - Agent skill now points agents at the registry blocks before hand-rolling markup, and states the `shadcn init` prerequisite next to the install-form explanation. ## Test plan - [x] Diffed all files — prose-only changes, no JSX/component edits - [ ] Docs site preview build (CF Pages / Blume)
vasanth-rb
force-pushed
the
add-mediadrop-registry
branch
from
July 28, 2026 15:21
860ac94 to
5a8894e
Compare
Adds mediadrop's registry (dropzone, avatar-uploader, multi-file-upload-form, s3-direct-upload — file upload blocks built on react-mediadrop) to the registry directory index.
vasanth-rb
force-pushed
the
add-mediadrop-registry
branch
from
July 28, 2026 15:25
5a8894e to
9ae0773
Compare
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
Adds
@mediadroptoapps/v4/registry/directory.json.mediadrop is a small registry of file-upload blocks for React, built on react-mediadrop:
dropzone— drag-and-drop upload with per-file progress and cancelavatar-uploader— circular single-image avatar pickermulti-file-upload-form— multi-file picker with review + explicit submits3-direct-upload— direct-to-S3 upload via a presigned PUT URLRegistry is served at
https://www.mediadrop.dev/r/{name}.json— flat, no nested items,contentomitted from the sourceregistry.json'sfilesarrays per the directory requirements.Checklist
registry.jsonconforms to the registry schemaregistry.jsonand{name}.jsonfiles at/r/(verified against other directory.json entries using the same/r/{name}.jsonpattern)filesarray in the sourceregistry.jsondoes not include acontentpropertyapps/v4/scripts/validate-registries.mts's zod schema (name regex, homepage URL,{name}placeholder inurl, description present)shadcn init+shadcn addagainst the live URLs in a fresh Next.js app — installs cleanly,tsc --noEmitandnext buildboth pass with 0 errorsTest plan
All 4 blocks install correctly with the
react-mediadropdependency resolved.