[UI] Trim the output on the Custom token page

Created on 18 May 2021, about 4 years ago
Updated 3 February 2025, 6 months ago

Problem/Motivation

Some workarounds with Rules Scheduler not executing PHP filter (could be mime-mail related) led me to try using Custom Token as a workaround.

The token in question is using PHP to create an embedded view. Everything works great from the custom token standpoint but the overview page that lists all of the tokens, is now a huge page of scrolling.

Proposed resolution

What I think would make the UI/UX better is to either
a) have a setting to "trim" the output on the /admin/structure/token-custom page or
b) make the output of the overview page collapsible with settings to enable / disable collapse by default. Maybe combine this with trim?

Additional Thought

Writing this issue made me realize I could always trim the output using CSS, so I might have to do that as a workaround but I think some options to cover more use-cases out-of-the-box would be nice.

✨ Feature request
Status

Active

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States philsward

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