Make media handling a first-class editing workflow #990
masonjames
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
|
Those are great ideas. Should we tackle each one in a separate discussion? It might make it easier to keep track of things. |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
+1 focal point be global and per usage (or just per usage). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Current state
EmDash already treats media as a core capability, and the current admin has a strong foundation:
That is a good start. The next step is to make media handling excellent in the places editors touch every day: content fields, rich text, image pickers, galleries, and replacement workflows.
Problem
Media is one of the highest-frequency CMS workflows. Editors do not experience it as "storage." They experience it as:
Right now, EmDash has the core media foundation, but the workflow is too segmented. Uploading, selecting, editing metadata, inserting, replacing, and ordering media should feel like one coherent editing surface.
This proposal focuses on the specific UX behaviors that should become first-class in EmDash.
Proposed scope
1. Drag-and-drop upload everywhere media is selected
Add visible drag-and-drop upload zones to the main daily-use surfaces:
Expected behavior:
This should build on the existing multiple-file upload logic in
MediaLibrary, but expose it through obvious drop targets instead of relying mainly on the upload button/file input.2. Replace asset in place
Add a replacement workflow for an existing media item.
Expected behavior:
Recommended technical direction:
Open design question:
Recommendation: restrict v1 to the same broad type, with a clear error message. That avoids broken rendering assumptions in templates and rich text blocks.
3. Alt text and caption workflow in the picker/editor, not only in the detail panel
The current
MediaDetailPanelalready supports alt text and caption editing for image media. That is good, but the workflow should also be available at the moment of insertion.Expected behavior:
Alt set,No alt text,Caption set,Decorative.Recommended split:
4. Focal point support
Add focal point metadata for image media.
Expected behavior:
{ x: 0.42, y: 0.31 }.object-position.Recommended technical direction:
MediaDetailPanel.MediaPickerModalfor quick adjustment before insertion.Open design question:
Recommendation: v1 should store a global focal point on the media item. Per-use overrides can come later for advanced layouts.
5. Gallery ordering
Add a reusable ordered media selection pattern.
Expected behavior:
Recommended technical direction:
6. Inline media edits
Allow small metadata edits without forcing users to leave their editing context.
Expected behavior:
This does not need to replace the full Media Detail Panel. It should reuse the same underlying update API and keep the detail panel as the full management view.
7. Clear embed/media insertion
Add an explicit media insertion flow to the rich text editor.
Expected behavior:
Recommended split:
Priority ranking
Core vs plugin recommendation
Should be core
These should be core because they affect the basic editing contract of the CMS:
Should be plugin or extension point
These should not bloat core v1:
Core should make these possible. Plugins should own the specialized behavior.
Implementation sketch
Admin components likely involved
MediaLibraryMediaDetailPanelMediaPickerModalThe current admin component tree already includes
MediaLibrary,MediaDetailPanel, andMediaPickerModal, so this should be an enhancement to existing primitives rather than a new isolated media UI.API/core areas likely involved
The current media API already accepts
cursor,limit, andmimeTypefor listing and returnsnextCursor, which suggests pagination may be partly available at the API layer and mainly needs to be exposed properly in the admin UI.Proposed first PR sequence
Expose reliable media pagination/load-more in admin
Add drag-and-drop upload to Media Library and Media Picker
Inline alt/caption editing in Media Picker
updateMediabehavior.Replace-in-place API and detail panel action
Focal point support
Ordered multi-select picker
Rich text media insertion
Acceptance criteria
Non-goals for v1
Those are valuable, but they should not block the daily editing improvements.
Open questions
Recommendation
Start with the highest-frequency editor pain:
This keeps the first PRs practical while still moving toward a much stronger media system.
Beta Was this translation helpful? Give feedback.
All reactions