Problem/Motivation

Discussed today in UI Suite monthly meeting.

Ensure consistency across UI Suite ecosystem.

Proposed resolution

Now that groups had been introduced in UI Styles:
- Introduce a weight property to CSS variables
- Form: sort groups alphabetically
- Form: inside group sort CSS variables by weight then alphabetically
- Form: place CSS variables without groups in a "Other" group
- Form: if there is only the "Other" group, remove the group and place CSS variables directly in the CSS variables fieldset

Remaining tasks

- write tests dedicated to sorting
- review
- create change record
- synchronize merge and release with UI Styles and Ui Suite Bootstrap
- update project page

Issue fork ui_skins-3332278

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Grimreaper created an issue. See original summary.

grimreaper’s picture

grimreaper’s picture

Issue summary: View changes

grimreaper’s picture

Issue summary: View changes
grimreaper’s picture

Status: Active » Needs review

  • Grimreaper committed b83ead25 on 1.0.x
    Issue #3332278 by Grimreaper: Group and sorting improvements
    
grimreaper’s picture

Assigned: grimreaper » Unassigned
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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