-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site Logo: Make it possible to set / update / remove via the Inspector #49273
Comments
Is the new position replacing the option in the toolbar, or should the option be in both places? |
I think both. I suspect that you'd mostly interact with the toolbar to do this, but it's an option that would also feel very natural in the Inspector. |
This comment was marked as resolved.
This comment was marked as resolved.
🤔 should it have a 3 dot menu for opening the additional options? Or is it obvious enough that clicking the miniature image opens these extra options? |
My instinct is that the filename suggests that it's interactive, but we can always augment it with iconography if we find that to be insufficient. |
I assume in the long run, we don't want inconsistencies; for example, the other media blocks and the file block would need similar settings. |
Seems like a good place to start. Would the 'Add media' button also be a drop zone? |
This comment was marked as resolved.
This comment was marked as resolved.
I've updated this issue with mockup and marked it ready for dev. |
I am adding the comment here to tie in the comment with this issue. Currently adding background image or video (file or embed) issues have many different solutions. With the common thread that these issues are getting old and have gone no where. Expanding the media option added through this issue to for instance the Cover block and the Group block could be one solution to solving this issue: I mentioned the Add Youtube video service issue in the Design Slack channel here: https://wordpress.slack.com/archives/C02S78ZAL/p1682152917077289 @jasmussen happen to mention the issue for the Site Logo adjustment. As well as this:
@ntsekouras Perhaps you could create two new PR's to where we can explore adding a URL for a video service and the other PR for adding a background image to the Group block? Perhaps for the Cover and Group block when clicking Add media it would not open the Media Library but the drop down instead. Something along the lines of this: Clicking the Add Media button would show the drop down options of going to the Media Library, Uploading or embed URL. It seems like a simple solution for adding a video to the Cover block. The Add Media option in the toolbar would also need to be adjusted. For the Group block one would then add the new panel Media with the options it contains. |
What problem does this address?
The Site Logo block makes it possible to set a logo or update an existing one, but only via the block toolbar. If you're mid-workflow flicking between the canvas and Inspector this can feel a little unexpected.
What is your proposed solution?
Make it possible to set / update / remove the site logo (and site icon) via the block Inspector.
When setting a site logo initially, we have a new "Media" panel in the inspector:
The Add media button would mainly do the same as the "Upload" button in the canvas.
Once an image is set, the file and a small thumbnail is shown in the inspector:
This issue was updated Apr 13.
The text was updated successfully, but these errors were encountered: