Problem/Motivation

As a site administrator/ user with appropriate permissions to access theme configuration, i want direct access to the component library of a theme.

Steps to reproduce

Open /admin/appearance/ui/components with available themes. A user needs to click on UI libraries -> Components first to get to the components library. In case of more themes are active the component library is showing all components.

Proposed resolution

  • provide link Components in the theme overview next to Settings

Remaining tasks

  • Add MR with the proposed resolution

User interface changes

  • additional link to Components is available on the theme overview page

API changes

  • none

Data model changes

  • none
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

steffenr created an issue. See original summary.

steffenr’s picture

Assigned: steffenr » Unassigned
Status: Active » Needs review
steffenr’s picture

Issue summary: View changes
just_like_good_vibes’s picture

Assigned: Unassigned » pdureau

Pierre, would you review that one?

pdureau’s picture

Sure. will do

pdureau’s picture

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

A link is also added when no components in the theme.

Can we add it only for themes with SDC inside?

steffenr’s picture

Status: Needs work » Needs review

@pdureau good point. I've updated the MR and added an additional check to only show the link, if the theme has components.