As Karen pointed in #324610, the new UI to add fields makes currently no use of the fields and widget description texts provided in hook_[field|widget]_info.

We could imagine a JS-based solution that displays the descriptions when the user hovers over the entries in the dropdown selectors.
I'm just not sure of where.
- We don't want this to take too much additional screen estate
- below the select : obviously no good, because this area gets hidden when the select is unfolded
- above the select : the area only has the width of the enclosing table cell, which might cause linebreaks and scrolling hiccups
- I was thinking maybe the area to the right of the 'Add' separator ?

Suggestions ?

CommentFileSizeAuthor
#1 cck-hints.png6.42 KByched

Comments

yched’s picture

StatusFileSize
new6.42 KB

See screenshot

karens’s picture

The problem with the screenshot is that the help text is kind of far away from the thing it's describing, so people are likely to miss it. But I don't know that I have any better ideas. Is there any way to get a 'tooltips' type popup hovering right by the field type name? Have you seen http://www.lullabot.com/articles/announcing-beautytips-jquery-tooltip-pl...? Can we use something like that somewhere?

yched’s picture

"the help text is kind of far away from the thing it's describing"
Not that much, IMO. I don't think a user would miss something flickering in this area.

I saw the jQ tooltip annoucement, didn't think about this here. Hm. To keep in mind.

Well, main trouble for now is I can't seem to have mouseover events caught on individual select options.

$('option', some_select_).mouseover(function(){
  $("#content-field_overview-hints").html("mouse over");
}).mouseout(function(){
  $("#content-field_overview-hints").html("");
});

Works in FF, not in IE7.
If any one has tried this before and has suggestions ? Google raised nothing so far.

yched’s picture

Status: Active » Closed (won't fix)

OK, actually it seems only FF would support such a solution. Other browsers I've tried (IE, Opera, Safari, Chrome) do not trigger any JS events when hovering the unfolded options.

So unless we come with another idea, which I don't for now, this is a won't fix...