Add a filter field to the token browser

Created on 3 October 2024, about 2 months ago

Problem/Motivation

At the moment you have to expand every token in the token browser, some top level items are two or three additional levels deep, to get an overview of the list of available tokens or find some you are looking for in case you are already familiar with the concept of tokens.

* I've reviewed and discussed the ui of the token module from an a11y perspective together with @drupa11y - this issue is one of the results.

Steps to reproduce

Try to find the Fallback date format for a comment an author has posted

Proposed resolution

Add a filter field on top of the token table within the token browser. filtering narrows down the list of available tokens in the table to the ones that match the filter criteria. That way it isn't required for someone neither memorizing all the token names nor at least the rough position of a desired token in the hierarchy. The user is able to filter for the terminology they are familiar with. In case that brings no match the person is still able to expand the different token and search for the token they are looking for.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

User interface

Created by

🇩🇪Germany rkoller Nürnberg, Germany

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024