Skip to content

feat: source toggle (Upload | URL) in MediaUploader; URL screenshots in MediaGallery#15

Merged
KruGoL merged 1 commit into
mainfrom
feat/media-source-toggle
Jun 19, 2026
Merged

feat: source toggle (Upload | URL) in MediaUploader; URL screenshots in MediaGallery#15
KruGoL merged 1 commit into
mainfrom
feat/media-source-toggle

Conversation

@KruGoL

@KruGoL KruGoL commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Replace the always-visible "dropzone + or-paste-URL" with a single source toggle
(Upload | URL). Exactly one source is active at a time and choosing one clears the
other, so a selected file and a pasted URL can never compete (fixes the ambiguous
"which one wins" UX). Works in deferUpload mode too, so create forms can offer a
URL alternative for logo/banner/screenshots.

MediaGallery now renders both pasted-URL screenshots (items) and deferred file
screenshots (pending), so its inner uploader's toggle works in create forms too.
Updates the MediaUploader tests to switch to the URL tab first.

…in MediaGallery

Replace the always-visible "dropzone + or-paste-URL" with a single source toggle
(Upload | URL). Exactly one source is active at a time and choosing one clears the
other, so a selected file and a pasted URL can never compete (fixes the ambiguous
"which one wins" UX). Works in deferUpload mode too, so create forms can offer a
URL alternative for logo/banner/screenshots.

MediaGallery now renders both pasted-URL screenshots (items) and deferred file
screenshots (pending), so its inner uploader's toggle works in create forms too.
Updates the MediaUploader tests to switch to the URL tab first.
@KruGoL KruGoL merged commit 0d96811 into main Jun 19, 2026
@KruGoL KruGoL deleted the feat/media-source-toggle branch June 19, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant