Skip to content

Add @mediadrop to the registry directory - #11239

Closed
vasanth-rb wants to merge 1 commit into
shadcn-ui:mainfrom
vasanth-rb:add-mediadrop-registry
Closed

Add @mediadrop to the registry directory#11239
vasanth-rb wants to merge 1 commit into
shadcn-ui:mainfrom
vasanth-rb:add-mediadrop-registry

Conversation

@vasanth-rb

Copy link
Copy Markdown
Contributor

Summary

Adds @mediadrop to apps/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 cancel
  • avatar-uploader — circular single-image avatar picker
  • multi-file-upload-form — multi-file picker with review + explicit submit
  • s3-direct-upload — direct-to-S3 upload via a presigned PUT URL

Registry is served at https://www.mediadrop.dev/r/{name}.json — flat, no nested items, content omitted from the source registry.json's files arrays per the directory requirements.

Checklist

  • Registry is public and publicly accessible (no auth)
  • registry.json conforms to the registry schema
  • Flat structure — registry.json and {name}.json files at /r/ (verified against other directory.json entries using the same /r/{name}.json pattern)
  • files array in the source registry.json does not include a content property
  • Validated the new entry against apps/v4/scripts/validate-registries.mts's zod schema (name regex, homepage URL, {name} placeholder in url, description present)
  • Ran shadcn init + shadcn add against the live URLs in a fresh Next.js app — installs cleanly, tsc --noEmit and next build both pass with 0 errors

Test plan

npx shadcn add https://www.mediadrop.dev/r/dropzone.json \
  https://www.mediadrop.dev/r/avatar-uploader.json \
  https://www.mediadrop.dev/r/multi-file-upload-form.json \
  https://www.mediadrop.dev/r/s3-direct-upload.json

All 4 blocks install correctly with the react-mediadrop dependency resolved.

@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown
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.

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
vasanth-rb force-pushed the add-mediadrop-registry branch from 860ac94 to 5a8894e Compare July 28, 2026 15:21
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
vasanth-rb force-pushed the add-mediadrop-registry branch from 5a8894e to 9ae0773 Compare July 28, 2026 15:25
@vasanth-rb vasanth-rb closed this Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants