Problem/Motivation

We start to have more and more actions. Now it's Collapse + Remove + Duplicate.
But there are more to come up.
Readability of the label is getting harder and harder.

We need more than text to identify them.

Proposed resolution

Add icons to each action in the collapsible action button.

In addition to Collapse, Remove, Duplicate, we also should consider library (convert to, detach from) actions.
And whatever else comes up. :-)

Remaining tasks

API changes

Data model changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

miro_dietiker created an issue. See original summary.

toncic’s picture

Issue summary: View changes
FileSize
12.99 KB

Here is proposal how should looks.

miro_dietiker’s picture

And as stated elsewhere (image is missing here), the edit button could be missing and only a lock is then displayed.

toncic’s picture

Issue summary: View changes
FileSize
12.75 KB

Yes here is a case when edit button is missing.

miro_dietiker’s picture

I think a user can't remove a paragraph if it is locked.

Also for Admins, if a paragraph is locked for others, we should display both lock and edit button?

toncic’s picture

For better understanding, we have three cases:
1. Edit button and collapsible button.

2. For Admins.

3. Paragraph is locked.

toncic’s picture

Small improvements.

Desktop version:

Mobile version:

miro_dietiker’s picture

Hm, this issue was not properly parented.