Skip to content

Tracking: Style Book iterative tasks #64707

Closed

Description

@vcanales

Part of:

Several pieces comprise the work required to iterate over the discussion in #53431, so I'm starting this tracking issue to compile the efforts:

TODO

In Progress

Misc bugs and enhancements

Not planned

Activity

  1. added
    [Type] Tracking Issue
    on Aug 22, 2024
  2. added
    Global Styles
    on Aug 26, 2024
  3. ramonjd commented on Sep 23, 2024

    @ramonjd
    Member

    Come up with a way for the UI to display lots of categories.

    Was playing around with something like this. Rough, but you get the idea:

    2024-09-23.17.05.18.mp4
  4. ramonjd commented on Oct 1, 2024

    @ramonjd
    Member

    Look at how themes can define their own examples for the "Overview" category.

    The MVP would be to create a static, curated list of Core blocks to display on the landing page. See: #53431 (comment)

    The style book landing page would, however, provide a convenient space to feature a theme's custom blocks or (one day) patterns.

    That means that Gutenberg would need to define a, or piggyback off an existing, API to allow themes et. al to register blocks/patterns that should feature on the landing page. Ideally, the order in which they appear should be configurable.

    Some random thoughts/options:

    • Create a new core category/taxonomy for the style book landing page - one that blocks and patterns could share. Patterns can have one or more categories. Block cannot. It might be useful for blocks to also support category lists, or subcategories so that they can "live" in two categories at once, for example, "text" and "featured/style-book/whatever"
    • Build up on existing Block/Patterns API to support a flag during block registration, e.g., $config['featured'] = true.
    • Create an interface/function/hook to add blocks/patterns to the style book landing page that would, behind the scenes, add a custom, but "hidden" category/taxonomy to the block/pattern. E.g., add_filter( 'add_to_style_book', $block_or_pattern_name, $order ).
    • ??
  5. changed the title [-]Tracking: Style Book Iteration[/-] [+]Tracking: Style Book Iterative tasks[/+] on Oct 15, 2024
  6. changed the title [-]Tracking: Style Book Iterative tasks[/-] [+]Tracking: Style Book iterative tasks[/+] on Oct 15, 2024
  7. ramonjd commented on Oct 23, 2024

    @ramonjd
    Member

    Come up with a way for the UI to display lots of categories.

    The tabs component is used to display the categories. The tab can display with horizontal scrolling —https://wordpress.github.io/gutenberg/?path=/story/components-tabs--size-and-overflow-playground — but it'd be good to be able scroll to the active tab.

  8. yogeshbhutkar commented on Dec 30, 2024

    @yogeshbhutkar
    Contributor

    Refactor Blocks for Translatable Text in block.json's example attribute

    Refactor the following blocks to implement translatable text in contrast to static text in the block.json example. Ensure that the text strings are properly marked for translation, and all necessary fields in block.json's example attribute are updated accordingly to support internationalization (i18n).

    Tracker

    • comments-pagination-next
    • comments-pagination-previous
    • post-navigation-link
    • query-no-results
    • table-of-contents
  9. ramonjd commented on Oct 28, 2025

    @ramonjd
    Member

    Closing for now.

  10. ramonjd commented on Oct 28, 2025

    @ramonjd
    Member

    Sorry I closed before I could comment properly. What I wanted to say was that we can track the issues individually and create a new tracking issue as this one is stale.

    In my opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global Styles[Feature] Style Book[Type] Tracking Issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions