Problem/Motivation
After #2873576: Add description field to ParagraphType is committed, paragraphs types can have descriptions. Let's add some to our pre-existing paragraphs types in the Paragraphs Collection module.
Proposed resolution
In each of these configuration files
paragraphs.paragraphs_type.footer.yml
paragraphs.paragraphs_type.grid.yml
paragraphs.paragraphs_type.image.yml
paragraphs.paragraphs_type.image_text.yml
paragraphs.paragraphs_type.intro.yml
paragraphs.paragraphs_type.link.yml
paragraphs.paragraphs_type.paragraphs_container.yml
paragraphs.paragraphs_type.quote.yml
paragraphs.paragraphs_type.separator.yml
paragraphs.paragraphs_type.subtitle.yml
paragraphs.paragraphs_type.text.yml
paragraphs.paragraphs_type.title.yml
paragraphs.paragraphs_type.user.yml
add the line description: {description}, where "{description}" is an appropriate description for that paragraphs type.
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
VladimirMarko commentedComment #3
VladimirMarko commentedComment #4
aheredia commentedThe descriptions
Comment #5
aheredia commentedComment #6
aheredia commentedDescriptions refactored.
Comment #7
miro_dietikerThe sentences should always end with a "."
I fixed in paragraphs_demo on commit, but would prefer if you update the patch.
Comment #8
VladimirMarko commentedIn addition to the periods:
This extra line is unnecessary.
A missing article: "an external or internal link"
Comment #9
aheredia commentedOk thanks.
Comment #10
aheredia commentedComment #11
aheredia commentedComment #12
aheredia commentedComment #13
VladimirMarko commentedLooks like you overcompensated a bit. ;)
Just re-added one newline at the end of the
paragraphs.paragraphs_type.subtitle.ymlfile.Thanks for your work! :)
Comment #14
VladimirMarko commentedLet's try to set the author back to "aheredia"...
EDIT: Can't do it myself, apparently.
@miro_dietiker The authorship credit goes to aheredia.
Comment #15
primsi commented"for adding" seems like bad english. I think it's supine, so it needs to + infinitive. So in this case "to add"
I thought that we want to avoid "grid layout" naming. IMHO "layouts" it's enough.
Comment #16
aheredia commentedComment #17
aheredia commentedComment #19
aheredia commentedComment #20
aheredia commentedComment #21
VladimirMarko commentedHere is a "Test" instead of "Text".
Other than that, it looks good to me. ( Again. ;) )
Comment #22
aheredia commentedComment #23
aheredia commentedComment #24
VladimirMarko commentedSeems good.
Comment #25
primsi commentedWill need a re-roll after we moved images related paragraph types to demo. And given #2876597: Add descriptions to paragraphs types in Paragraphs Demo was already committed, I think we can add descriptions for image and image_text - which are now in demo - in this issue.
Comment #26
primsi commentedHm, I got confused, there is another issue for descriptions in pc demo: #2876602: Add descriptions to paragraphs types in Paragraphs Collection Demo, the one from above was for Paragraphs. Let's then just re-roll this and add missing descriptions in the other issue.
Comment #27
aheredia commentedComment #28
aheredia commentedComment #30
primsi commentedCommitted, thanks.