Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be really really useful if the description for a field/sort/filter/etc that is shown when you select it from the list was also shown at the top of its settings form.
These descriptions often have very useful information (eg, taxonomy: all terms tells you you may get duplicates), and I often find I return to the add *thing* list just to read up on what a particular handler does.
Comment | File | Size | Author |
---|---|---|---|
#10 | 610418-10.views_.handler-help-options-form.patch | 1.02 KB | joachim |
#2 | views.handler-help-options-form.png | 51.15 KB | joachim |
#2 | 610418.views_.handler-help-options-form.patch | 770 bytes | joachim |
Comments
Comment #1
esmerel CreditAttribution: esmerel commentedComment #2
joachim CreditAttribution: joachim commentedHere's a one-line patch :)
Probably needs some more work elsewhere in the UI as the title of the form + the help text both in bold feels a bit shouty.
Comment #3
joachim CreditAttribution: joachim commentedPatch is on 3.x :)
Comment #4
dawehnerShouldn't we check_plain the output here?
Comment #5
joachim CreditAttribution: joachim commented$handler->help is a string set in hook_views_handler(). If we don't trust our developers....
Comment #6
joachim CreditAttribution: joachim commentedAFAIK $handler->help is a string defined in code in hook_views_handler(). If we don't trust our developers....
Comment #7
joachim CreditAttribution: joachim commented(d.org is doing something wacky with comments today!)
Comment #8
dawehnerDon't review patches at night!
Perhaps it would make sense here to make some kind of different visual appearance, for example em em
Comment #9
merlinofchaos CreditAttribution: merlinofchaos commentedI'm not sure I want a
<br />
there.I think I'd rather see something like:
Comment #10
joachim CreditAttribution: joachim commentedSure.
But some CSS is needed to pad it in now -- or some form tweaking I don't understand to get it into the title DIV.
Comment #11
merlinofchaos CreditAttribution: merlinofchaos commentedTweaked slightly and committed to all versions.