Sub-page for each styleguide section / group / item

Created on 9 May 2021, almost 4 years ago
Updated 25 February 2024, about 1 year ago

Problem/Motivation

Currently the styleguide for one theme is one very long page.

This is uncomfortable for page load time, and for scrolling to the right place.

Other modules with similar functionality, e.g. ui_patterns preview page, have sub-pages where you can look at one specific item.

Proposed resolution

Create sub-pages for each group or item.

✨ Feature request
Status

Active

Version

2.0

Component

User interface

Created by

πŸ‡©πŸ‡ͺGermany donquixote

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡©πŸ‡ͺGermany donquixote

    No idea where to start though...

    We need to decide how the routes / paths should be like, and how to navigate between them.

    Currently we have paths like '/admin/appearance/styleguide/' . $theme_name.
    The navigation is using a secondary layer of tabs (local task links) below the primary tab "Styleguide".

    How would a sub-navigation look like?

  • πŸ‡·πŸ‡ΊRussia Chi

    I have a module that does support this feature. It's not currently actively maintained but still working. It might be used for inspiration.

  • πŸ‡ΊπŸ‡ΈUnited States agentrickard Georgia (US)

    Flagging, as I am interested in picking this back up, time permitting.

Production build 0.71.5 2024