Created on 26 July 2011, over 13 years ago
Updated 16 June 2023, over 1 year ago

We've encountered several problems with the current token UI which uses the treeTable jQuery plugin:
- It is not accessible basically at all
- It is pretty bad performance-wise.
- It has to load all possible tokens in order to render it (and we're running into problems with recursive tokens).
- It would not be appropriate to move the current UI into Drupal core. It should be.

Once we get past Token 7.x-1.0 I want to seriously consider how we can improve this. Ideas:
- Use jQuery UI Accordion for the token type groupings rather than including them into the table - this should help improve performance since we're adding viewer rows that have to be processed.
- Use AJAX when a user wants to view nested tokens (get deeper in the token tree) - then we will only have to load the first level of tokens by default. Getting further will require relatively small request each time.

πŸ“Œ Task
Status

Active

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States dave reid Nebraska USA

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.

Production build 0.71.5 2024