Problem/Motivation

Follow-up from #2830016: Add a thumbnail/icon field to Paragraphs type

We should discuss here how we want to output paragraphs type icon. Currently we just output the full image and then downscale it. This is not the best solution.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

toncic created an issue. See original summary.

primsi’s picture

Title: Output the paragraph type icon » Change how we output the paragraph type icon
Issue summary: View changes
miro_dietiker’s picture

Priority: Normal » Major
Issue tags: +Usability

We should start to display these icons asap in code.

I don't see a big issue with simply downscaling (browser side, preferrably svg vectors), but we should gain overview where we want to display those.

For instance the add buttons and the paragraph type label on edit form should display them asap.

toncic’s picture

Changing parent.
We have two issue for the last part from previous comment. #2833873: Display the type icon in the add button and #2833874: Display icons paragraph instance.
Leaving this issue open for more suggestion about outputting paragraphs type icon .

yannickoo’s picture

Hey! I just want to mention that I have suggested using the new Icon API for managing paragraph icons over in 2854585#24, that could bring this here to another level 🚀