-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Update block design guidelines to include info on setup states #12985
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
Conversation
chrisvanpatten
left a comment
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.
Small review for markdown syntax. Haven't reviewed content yet but I'm sure it's great 👍
| Often a block will use the placeholder content to walk users through a setup process. The setup process gathers information from the user that is needed to render the block. A block’s setup state is indicated with a grey background to provide clear differentiation for the user. Not all blocks have setup states — for example, the paragraph block. | ||
|
|
||
|
|
||
|  |
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.
Only needs one newline around the image :)
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.
(Applies to all images in the document, fwiw, but I won't note them all as that would be tedious and annoying!)
|
Overall I dig this a lot, thanks for doing this! I found myself initially confused by the term "setup state", but after reading through the document, not only was it clear to me, but I also realized that the term we've used so far for this type of content — "placeholder" — may not have been ideal, as nothing is shown on the frontend when saving placeholder content. Still, I do think it would be worth adding, perhaps just in the introductory paragraph or as a separate paragraph, a small narrative glossary of terms. Could be as simple as "A setup state, also sometimes referred to as placeholder", or something in that vein. Also, final thing — the images used in the gallery, do we know that we have permission to use those? If not, I can find a few, or you can probably find some on https://www.pexels.com/. Note to be careful with Unsplash, I believe their terms are not as open source as we need them to be. |
|
By the way, this needs a rebase to fix the merge conflict, if you like, I can do that for you tomorrow. |
Proposed guidelines for when to include a setup state in your block design. Would appreciate feedback on content and validation of markdown syntax.
ba1e8cc to
a163dcd
Compare
|
Rebased! |
Made edits in response to comments from @jasmussen and @chrisvanpatten one #12985: - Removed extra new lines around images - Updated wording to resolve any confusion around setup state vs placeholder nomenclature.
jasmussen
left a comment
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 dig it 👍 👍
I'll let Chris chime in as well.
Also I think once the checks pass it should be fine to merge, because it's a doc, but CC: @youknowriad just to be sure. Things have changed on the merge front up until very recently.
chrisvanpatten
left a comment
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.
This looks great to me!
* Update block design guidelines to include info on setup states Proposed guidelines for when to include a setup state in your block design. Would appreciate feedback on content and validation of markdown syntax. * Edited block-design.md to reflect comments on #12985 Made edits in response to comments from @jasmussen and @chrisvanpatten one #12985: - Removed extra new lines around images - Updated wording to resolve any confusion around setup state vs placeholder nomenclature.
* Update block design guidelines to include info on setup states Proposed guidelines for when to include a setup state in your block design. Would appreciate feedback on content and validation of markdown syntax. * Edited block-design.md to reflect comments on #12985 Made edits in response to comments from @jasmussen and @chrisvanpatten one #12985: - Removed extra new lines around images - Updated wording to resolve any confusion around setup state vs placeholder nomenclature.
Proposed guidelines for when to include a setup state in your block design. Would appreciate feedback on content and validation of markdown syntax.