-
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
Cover Block: Use the description in the placeholder #34970
Conversation
@mtias & @jasmussen Interested in your feedback on wording here, and if we should keep some sort of instruction on uploading/grabbing from media library. |
We have neglected these a bit, but the idea was that they would include some guiding on how to get started — in this case, it should also mention something about dragging media into the block. In that sense, I think really good placeholders would tend to diverge from the block description rather than become one, or the block description would need to expand to include some of this guidance, which might feel out of place in sidebar inspector / previews. |
Size Change: +4.92 kB (0%) Total Size: 1.07 MB
ℹ️ View Unchanged
|
How about we use the description because it is succinct and clear, then add some instructions on the end, so:
|
The first sentence, aside from a hint in relation to headers, given the subsequent explanation and the UI controls themselves I think isn't required. So I think the instructional text you have would stand well on its own. Tweaks are my own and optional :) "Drag and drop an image or video onto this block or upload one from your device. If you have an existing image or video, you can select it from your media library." |
This works as advertised for me, except for other languages: The info card in the right panel gets the description from the store via the useBlockDisplayInformation hook, which must be handling the translation. |
Updated with custom instructions based on what Ramon wrote:
|
Maybe overthinking it, but I wonder if something like |
I think it is worth this change just to really clarify what 'existing' means. |
Trying to shorten it without losing information. How about:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is an improvement on the existing copy and a safe change to merge.
As the Cover Block evolves we'll inevitably have to update it later anyway in my estimation.
👍
Thanks @jasmussen -- we can even drop the extra "a" in your reduction above, so with the period that will stay on one line: "Drag and drop onto this block, upload, or select existing media from your library." I think we can go ahead and merge this and then look at the wording further with the design updates coming. 👍 |
Fixes #34707
Part of #28385
Description
Update the placeholder instruction text to describe what the block does, rather than just stating the obvious next steps. This has been updated to match the description text already present for the block.
How has this been tested?
Local testing.
Screenshots
Before:
After:
Types of changes
Non-breaking change.
Checklist:
*.native.js
files for terms that need renaming or removal).