Open slowbot opened 5 years ago
@slowbot Just want to make sure to flag the nuance that we need to be able to customize the prompt and explanation
@rdeshpande Can you help track adding the tooltip to a subquestion?
@jmadans Simple example of field helper. branch: simplehelptext @rdeshpande
This does not have to happen for Jan 31 go live, but would like to work on it for a next release for sure.
I've created a new branch helpwidget
that contains styles/JS for both a simple help tip as well as the widget with the disclosure mechanism. Examples of both are in the YAML for page 2.
Let me know if this (fairly straightforward) HTML markup is suitable for use in authoring…if not, I could possibly come up with a simpler text format and use JS to expand it into the appropriate HTML markup. I'd originally looked into using the templates feature for this, but there were some reasons why I ended up using custom HTML fields.
Request from @jmadans to document where the CSS/JS is for this…
Starting at line 523 (at the moment) in source/style.scss: 5 selectors for .help-tip
, .help-widget
, and .help-widget-body
Lines 4-8 in jcc/abilitytopay/data/static/a2p.js: handles the click event for the disclosure link