Problem/Motivation

With UIP2 it is possible to control styles with the attributes props and ui_styles_ui_patterns.

Also styles on slots are not working.

Until we know exactly hat to do, prepare a MR and patch to remove the form alteration on section to not bloater the interface with useless settings.

Issue fork ui_styles-3496352

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

Assigned: grimreaper » Unassigned
Status: Active » Postponed
StatusFileSize
new1.2 KB

Patch for Composer usage if a project want it.

grimreaper’s picture

StatusFileSize
new1.11 KB

MR rebased to update patch.

Previous one applied but added lines in the submitForm method instead of formAlter.

grimreaper’s picture

Assigned: Unassigned » grimreaper
Status: Postponed » Needs work

Discussed with @pdureau,

- For section, change the label (or use description) to indicate that it is deprecated and use the attributes prop instead.
- For regions/slots, it is not working, hide form elements and on form submit, unset existing configuration.
- Do a CR about the potential config loss.

grimreaper’s picture

Assigned: grimreaper » pdureau
Status: Needs work » Needs review

CR created: https://www.drupal.org/node/3592893

@pdureau can you give a review please? CR and MR.

grimreaper’s picture

Title: UI Patterns 2: remove styles on sections » UI Patterns 2: remove styles on regions

  • grimreaper committed 53baabbe on 8.x-1.x
    feat: #3496352 UI Patterns 2: remove styles on regions
    
    By: grimreaper...
grimreaper’s picture

Assigned: pdureau » Unassigned
Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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