Problem/Motivation

Accidental removal of existing condition state due to confusedly similar states operations icons for 'Add' and 'Close'.

Proposed resolution

Reconsider design of 'Add' and 'Close' icons in order to make the actions of each instantly intuitive.

Comments

racinggrinner created an issue. See original summary.

jrockowitz’s picture

Do you have any suggestions? Please keep in mind that space is limited.

jrockowitz’s picture

StatusFileSize
new71.87 KB
new23.37 KB

I think we should use a minus icon and also apply the change to the multiple element widget.

Drupal core is using Libricons #2032773: Use Libricons (icon font) in Seven, consider using it more broadly in core

This might be the right icon.
https://github.com/ry5n/libricons/blob/master/src/9986-minus.svg

jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new3.21 KB

The attached patch changes the 'X' icon to a '-' icon.

  • jrockowitz committed 54cc63d on 8.x-5.x
    Issue #3058311 by jrockowitz, racinggrinner: Reconsider design of states...
jrockowitz’s picture

Status: Needs review » Fixed

Using +/- make the actions of each instantly intuitive. So I committed the patch. Please download the latest dev release to review.

jrockowitz’s picture

Status: Fixed » Needs work

I think there needs to be a border around the +/- icons.

jrockowitz’s picture

StatusFileSize
new2 KB
new30.22 KB

jrockowitz’s picture

Status: Needs work » Needs review
jrockowitz’s picture

StatusFileSize
new22.85 KB
new2 KB

Same patch but instead of square buttons it uses round buttons.

jrockowitz’s picture

Status: Needs review » Fixed

Now I think the new look-n-feel with the minus icon (instead of an X) works fine.

racinggrinner’s picture

Thanks @jrockowitz. Impressive turn around. Your contribution to Webform in Drupal 8 is nothing short of outstanding.

  • jrockowitz committed d25bd0e on 8.x-5.x
    Issue #3058311 by jrockowitz, racinggrinner: Reconsider design of states...

  • 71f41c3 committed on 8.x-5.x
    Issue #3058311 by jrockowitz, racinggrinner: Reconsider design of states...

  • a864485 committed on 8.x-5.x
    Issue #3058311 by jrockowitz, racinggrinner: Reconsider design of states...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.