If you have JS on, then the token tree with its collapsible groups is quite nice.
Without JS, though, the table is quite overwhelming (for instance with
'#global_types' => TRUE) and it is not immediately obvious that some rows are only headings for the following ones.
The attached patch adds a 'token-group-nojs' class to those rows, which makes them bold, and then removes that class via JS, so that it doesn't make the nice collapsible groups scream at you.
I tested this with applied also, and it doesn't seem to conflict, although this would need a reroll if that got in.
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1067268-token-groups-nojs.patch. View
|#5||1067268-bold-token-groups-no-js.patch||672 bytes||Dave Reid|
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1067268-bold-token-groups-no-js.patch. View
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch token_bold_group_titles_0.patch. View
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch token_bold_group_titles.patch. View