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 Demo module.
Proposed resolution
In each of these configuration files
paragraphs.paragraphs_type.accordion.yml
paragraphs.paragraphs_type.block.yml
paragraphs.paragraphs_type.slider.yml
paragraphs.paragraphs_type.slider_infinite.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
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | descriptionsdemo-2876602-15.patch | 2.5 KB | aheredia |
| #11 | descriptionsdemo-2876602-11.patch | 2.5 KB | aheredia |
| #7 | descriptionsdemo-2876602-7.patch | 2.51 KB | aheredia |
| #5 | descriptionsdemo-2876602-5.patch | 2.49 KB | aheredia |
| #3 | descriptionsdemo-2876602-3.patch | 2.46 KB | aheredia |
Comments
Comment #2
VladimirMarko commentedComment #3
aheredia commentedHere it is
Comment #4
aheredia commentedComment #5
aheredia commentedDescriptions refactored
Comment #6
VladimirMarko commentedPlease end all descriptions with a period, as mentioned in https://www.drupal.org/node/2876599#comment-12077969.
There's an extra space at the end.
Also, maybe we should mention what an "accordion" is?
"a slick slider"
As above: "a slick infinite slider"
Comment #7
aheredia commentedOk thanks.
Sorry for the mistakes
Comment #8
aheredia commentedComment #9
VladimirMarko commentedNo need to apologize.
Looks great!
Comment #10
primsi commentedSimilar to the other issue: "to add" instead of "for adding" :)
Comment #11
aheredia commentedComment #12
aheredia commentedComment #13
VladimirMarko commentedLooks good to me.
Comment #14
primsi commentedimage and text + image were moved to demo. Let's add the descriptions to those too.
Comment #15
aheredia commentedimage and text + image descriptions are added in last commit of #2876599: Add descriptions to paragraphs types in Paragraphs Collection
Comment #16
aheredia commentedComment #17
VladimirMarko commentedThe last two patches are identical.
Also, please consider using interdiffs. It makes it easier to see what has been changed.
Comment #18
aheredia commentedTotally true.
As i commented the description for image and text + image in demo are added in the other patch #2876599: Add descriptions to paragraphs types in Paragraphs Collection
If you apply bloth everything would be ok.
If you thinks its better to add to this patch and remove from the other let me know I will change them.
Regards
Comment #19
aheredia commentedComment #21
primsi commentedDid as proposed in #18. Thx.