localgovdrupal / localgov_publications

HTML Publications for LocalGov Drupal. Stop making PDFs!
https://gds.blog.gov.uk/2018/07/16/why-gov-uk-content-should-be-published-in-html-and-not-pdf/
GNU General Public License v2.0
2 stars 3 forks source link

Publications paragraphs #6

Closed finnlewis closed 1 year ago

finnlewis commented 2 years ago

Which paragraphs will we have available by default at the start of publications?

note: @RyanFH257 mentioned footnotes as a thing

msayoung commented 2 years ago

@RyanFH257 - could you let me know you expectations / hopes / dreams about the kinds of paragraphs we'll have available?

My thoughts so far

I think you mentioned last time the possibility of multi column layouts. This would be good to consider up front.

Footnotes: initial thoughts is the they could make the single page view more complicated (assuming we want them at the bottom), though I'm sure we could work it out. ( cc @markconroy )

RyanFH257 commented 2 years ago

@msayoung yes all of those plus videos and media with text.

andybroomfield commented 2 years ago

Is there a reason not to enable the same ones as subsites?

markconroy commented 2 years ago

In terms of consistence, I'd prefer the same paragraphs in each content type. If "this" content type needs components, it gets the range of components available.

msayoung commented 2 years ago

I'm not convinced we should add them all by default. There are sometimes cases when we might want to restrict which are available to encourage best practice / a particular design pattern. (as we do in service pages).

Having said that, in this case I don't have a particular objection other than the inevitable complexity of ensuring everything works in every combination.

( btw @markconroy , in microsites and localgov_page we're only offering a subset of paragraphs that are available on subsites)

finnlewis commented 1 year ago

@benhillsjones is keen to restrict paragraphs to avoid content designers using more complex web based paragraphs (slideshows / acordians etc. ) - the purpose of this is to get the print style content onto the web in an accessible format

finnlewis commented 1 year ago

We might also need to consider how paragraphs render when printing or exporting as a PDF.

More complex interactive paragraphs like accorions will need some extra work to ensure the content renders out clearly in print / PDF.

msayoung commented 1 year ago

I'm tempted to keep the dependencies light so either define none (and therefore allow all) or just image and text from localgov_paragraphs and let people add more if they like.

Quotes and Tables are in the subsites localgov_subsites_paragraphs so these can be enabled if required

finnlewis commented 1 year ago

@msayoung suggesting keeping it super simple initially:

Then allow others to be configured by site builders later and/or add more fancy paragraphs later.