-
-
Notifications
You must be signed in to change notification settings - Fork 0
Description
- Reference Issues/Discussions: N/A
- Author: Ali Ozinan
- Champion(s): Ali Ozinan
- Implementation PR:
- Repo link:
Project Ownership: By checking the following box (required) you agree that you are the rightful owner of the
project you wish to import into the StudioCMS Ecosystem, and you understand that you will be able to become a Code-Owner,
and your project will be licensed under StudioCMS's MIT license. (Your name can be on this license if you desire)
- [✓] I agree
Summary
Currently, the admin users have to enter the image urls manually into the relevant text boxes on the dashboard. An UI based interface that's capable to connect to various storage providers would make it easier to upload the media assets and retrieve their URLs.
Background & Motivation
This proposal is inspired by the Astro Cloudinary upload widget. The idea is providing a similar interface on the StudioCMS dashboard for the image url textboxes (and other places where media assets are involved). To keep things flexible, the plan is to introduce a new type of plugin which won't get involved with adding any custom routes and/or pages. For more details, please see the Goals section.
Goals
- Introducing a new plugin type structure to StudioCMS codebase, named as "media manager plugin" : This would solely aim to provide the framework to build media manager plugins, making things flexible enough for the community. As an example; a media manager plugin could add an icon button next to the url textboxes on the dashboard, which would trigger the popup to display the media manager interface. On the interface, the user would be able to upload media assets to the connected storage providers, and pick one of them to update the image url textbox value.
- Providing a working prototype, which would use a single storage provider.
- Documenting the new plugin type structure and guides for adding new storage providers with code examples
Non-Goals
- Non-goal: N/A
- Out-of-scope: N/A
- Future: Adding the icon buttons to the content managers on the dashboard.