Skip to content

Add guide on reusing built-in admin panel components in plugins#3267

Draft
pwizla wants to merge 4 commits into
mainfrom
cms/media-library-custom-component-prop
Draft

Add guide on reusing built-in admin panel components in plugins#3267
pwizla wants to merge 4 commits into
mainfrom
cms/media-library-custom-component-prop

Conversation

@pwizla

@pwizla pwizla commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

This PR adds a plugins-development guide explaining how to reuse built-in admin panel components, using the MediaLibraryDialog and its initiallySelectedAssets prop as the worked example. It moves the developer example out of the Media Library feature page, adds the required displayed_sidebar frontmatter, and fixes the local upload provider sizeLimit default (1 GB). Documents #26679.

Direct preview link 👉 here

…ents

Add new section explaining how to use the MediaLibraryDialog component with the
initiallySelectedAssets prop in custom admin components, with a code example.

Related to strapi/strapi#26679
@pwizla pwizla added the auto-doc-healing Automatically generated documentation PR label Jun 18, 2026
@pwizla pwizla self-assigned this Jun 18, 2026
@strapi-cla

strapi-cla commented Jun 18, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ pwizla
❌ github-actions[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment Jun 18, 2026 12:52pm

Request Review

@github-actions github-actions Bot added internal PRs created by the Strapi core team pr: updated content PRs updating existing documentation content source: CMS labels Jun 18, 2026
pwizla added 3 commits June 18, 2026 14:49
Moves the MediaLibraryDialog reuse example out of the Media Library feature page into a developer-facing plugins-development guide, using the verified useStrapiApp component-registry API (strapi/strapi#26679).
The developer example now lives in the plugins-development guide. Also adds the required displayed_sidebar frontmatter and fixes a ./public path.
The default is 1000000000 (1 GB), as defined in the Upload plugin config, not 1000000 (1 MB).
@pwizla pwizla changed the title Document initiallySelectedAssets prop for Media Library custom components Add guide on reusing built-in admin panel components in plugins Jun 18, 2026
@pwizla pwizla added this to the 6.28.1 milestone Jun 19, 2026
@pwizla pwizla modified the milestones: 6.28.1, 7.0.0 Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-doc-healing Automatically generated documentation PR internal PRs created by the Strapi core team pr: updated content PRs updating existing documentation content source: CMS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants