Problem/Motivation

The simple/short/tooltip descriptions need some love to deal with recent changes to markup/features.

Proposed resolution

Standardize the feature so it's more stable and displays properly.

Remaining tasks

  • Standardize on an actual name for this "feature".
    Done - Now called "Smart form descriptions".
  • Only show tooltips for input elements (i.e. not fieldsets).
    Done - By default this only applies to elements which have #input => TRUE set on them. Optionally, one can programmatically specify #smart_description => TRUE to force a non-input element to be processed.
  • Tooltips are duplicated on checkbox and radio element types.
    Done - #2461717: Checkbox and radio input elements should be rendered inside label fixed this.
  • Tooltips need to be on the child elements for checkboxes and radios element types.
    No longer necessary
  • Tooltips should just check for links in the description (<a> elements) to determine "short description" eligibility.
    Done - There is now an "allowed tags" setting with sensible defaults that assists in determining this filtering criteria.

User interface changes

See change record.

API changes

See change record.

Comments

markhalliwell’s picture

Title: Refine tooltips for simple form descriptions » Refactor "smart form descriptions" (via tooltips)
Issue summary: View changes

  • markcarver committed b0c5caa on 7.x-3.x
    Issue #2461945 by markcarver: Refactor "smart form descriptions" (via...
markhalliwell’s picture

Version: 7.x-3.x-dev » 8.x-3.x-dev
Assigned: Unassigned » neardark
Issue summary: View changes
Status: Active » Patch (to be ported)
DrCord’s picture

So is this now in the bootstrap theme for 7.x-3.x-dev? I am using Bootstrap 7.x-3.1-beta2+16-dev, should I just update to get this?

  • markcarver committed ae79916 on 7.x-3.x
    Issue #2461945 by markcarver: Refactor "smart form descriptions" (via...
markhalliwell’s picture

@DrCord, yes... this had been committed to 7.x-3.x-dev. It may take a while for the packing to catch up though. I'm hoping to release 7.x-3.1-beta3 soon (within a couple days) though, so maybe wait.

DrCord’s picture

@markcarver - thanks for your hard work on this theme. It would be stellar if you released a beta3 soon!

neardark’s picture

Assigned: neardark » Unassigned
Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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