Comparing the drop down list back to the list of icons in the bundle can be a pain when your dealing with 150+ icons.

Suggestion: wrap icons with a Span tag with the icon name as the title.

CommentFileSizeAuthor
#1 add_span_with_title-2183263-1.patch389 bytesdustin@pi

Comments

dustin@pi’s picture

StatusFileSize
new389 bytes
markhalliwell’s picture

Status: Needs review » Needs work

There's no need to wrap it in an additional <span/> tag, just add it as:

'#attributes' => array(
  'title' => $icon,
),

FWIW, I have much higher plans with displaying the icons. I just never got around to it and haven't had the time yet to improve the overall experience.

markhalliwell’s picture

Status: Needs work » Fixed

Thanks @Dustin.Windibank!

Committed d1847a7 to 7.x-1.x.

I've also added an alter hook here, this would be useful to allow modules to alter these icon listings (ie: for the Bootstrap base theme to use it's tooltip plugin instead).

markhalliwell’s picture

Committed 060fc81 to 7.x-1.x.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

  • Commit d1847a7 on 7.x-1.x, icon_tabs-integration authored by Dustin@PI, committed by Mark Carver:
    Issue #2183263 by Dustin@PI: Add titles (hove text) to icon bundle list...
  • Commit 060fc81 on 7.x-1.x, icon_tabs-integration by Mark Carver:
    [#2183263] Follow up: added necessary api and hook info.