[2.0.0-beta2] Some UX tweaks in Component validator

Created on 22 August 2024, 3 months ago
Updated 15 September 2024, 2 months ago

Problem/Motivation

From Kristen β†’ :

when I choose critical or error and there are none, then the fieldsets don't show up

I am not sure I understand this one:

  • in which page. /admin/reports/ui-components ? /admin/reports/ui-components/details ? /admin/reports/ui-components/component/{component_id} ?
  • which fieldset is expected to show up?

I did something wrong as my test one is empty

I guess it is about "Render: {{ story_id }" and "HTML rendered: {{ story_id }}" fieldsets in /admin/reports/ui-components/component/[component_id}

They use the #story property of the SDC render element, which is resolved by https://git.drupalcode.org/project/ui_patterns/-/blob/2.0.x/modules/ui_p...

Proposed resolution

For the first subject, let's ask Kristen first.

For the second subject:

  • Do we add a dependency from ui_patterns_devel to ui_patterns_library ?
  • Do we add a condition to show "Render: {{ story_id }" and "HTML rendered: {{ story_id }}" fields only if ui_patterns_library is activated?

I like both proposals.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

UI Patterns Devel [2.x only]

Created by

πŸ‡«πŸ‡·France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024