Problem/Motivation

Discussion started in #2852001: Consider container multivalue children for closed summary.

Paragraphs provides a way to display it's content via a summary. The summary it's not simply a teaser, it provides condensed overview of the paragraphs content and it's currently used in the closed widget state.

Generating the summary is pretty straight forward for simple non-nested paragraphs. But things start being more complicated when we have nested paragraphs with multiple levels of nesting and a large amount of field items.

This is mostly a UX problem and some of the questions that we are trying to answer are:

Proposed resolution

Remaining tasks

  • Discuss.
  • Mock-ups would be great.
  • Create issues.

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#11 Summary View.png259.79 KBpoornananda

Comments

Denchev created an issue. See original summary.

thenchev’s picture

Issue summary: View changes
miro_dietiker’s picture

Title: [META] Define how summary should evolve » [META] Evolve paragraphs summary with optional recursion and icons
Related issues: +#2852001: Consider container multivalue children for closed summary

Please link the issues through issue fields too.

Also the meta issue is about evolving the summary, not about defining it.

primsi’s picture

Issue summary: View changes
primsi’s picture

Issue summary: View changes
primsi’s picture

Title: [META] Evolve paragraphs summary with optional recursion and icons » [META] Improve paragraphs summary
ginovski’s picture

Issue summary: View changes
Related issues: +#2868305: Display icons in the summary
miro_dietiker’s picture

If this is the meta issue, then the specific issues should be children.

primsi’s picture

As pointed out in #2878184: Select paragraph field to display as label in edit node, having the possibility to select which fields are visible in the summary could be an interesting option.

miro_dietiker’s picture

Link field values also seem to have no effect to the summary.

poornananda’s picture

StatusFileSize
new259.79 KB

Hello,
While using paragraphs on a current project, I took notes of improvements of the summary view.
Attached is an initial sketch of possible improvements for this view, with comments about the changes.
Thank you!

primsi’s picture

That's really nice input. Thanks a lot! It would be great if you could paste the text from the sketch as text here, so it can be easily quotable while discussing. Thx.

ginovski’s picture

miro_dietiker’s picture

Assigned: Unassigned » miro_dietiker

Hmm, it seems my reply to #11 got lost, will try to rewrite it soon.

miro_dietiker’s picture

Bootstrap offers badges and labels. We could indicate the child count accordingly.
https://www.w3schools.com/bootstrap/bootstrap_badges_labels.asp

miro_dietiker’s picture

Issue summary: View changes

The summary significantly improved recently.

Adding some recent summary improvement issues.

miro_dietiker’s picture

Issue summary: View changes
miro_dietiker’s picture

Issue summary: View changes
miro_dietiker’s picture

Issue summary: View changes
miro_dietiker’s picture

Issue summary: View changes