? ? Pending

User tests: Successful: Unsuccessful:

avatar cyrezdev
cyrezdev
27 Feb 2022

Pull Request to extend PR #35610.
cc/ @nikosdion

Summary of Changes

  • Integrate inline help (toggle button) feature to com_config component Options view
  • [com_content] : show inline help toggle button
  • Other components will be updated if it's ok with this PR the way i did it. ;-)

Testing Instructions

  1. Apply Patch
  2. Go to Articles component
  3. Open Options
  4. Inline help text hidden
  5. Click on the toggle inline help button on top right to show / hide inline help.

Actual result BEFORE applying this Pull Request

No inline help toggle button in com_content options.

Expected result AFTER applying this Pull Request

Toggle button to show/hide inline help in com_content options.

Documentation Changes Required

To integrate inline help toggle button in any component (core + third party), add the following line in your config.xml file for components. (after element)
<inlinehelp button="show" targetclass=""/>

Params:

  • button : 'show' to enable the toggle button for inline help text.
  • targetclass : the class of the DIVs to toggle visibility on.
avatar cyrezdev cyrezdev - open - 27 Feb 2022
avatar cyrezdev cyrezdev - change - 27 Feb 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Feb 2022
Category Administration com_config com_content
avatar cyrezdev cyrezdev - change - 27 Feb 2022
The description was changed
avatar cyrezdev cyrezdev - edited - 27 Feb 2022
avatar cyrezdev cyrezdev - change - 28 Feb 2022
The description was changed
avatar cyrezdev cyrezdev - edited - 28 Feb 2022
avatar cyrezdev cyrezdev - change - 28 Feb 2022
Title
Integrate inline help feature to com_config component Options view (see #35610)
Integrate inline help toggle button to com_config component Options view (see #35610)
avatar cyrezdev cyrezdev - edited - 28 Feb 2022
avatar cyrezdev cyrezdev - change - 28 Feb 2022
The description was changed
avatar cyrezdev cyrezdev - edited - 28 Feb 2022
avatar prakhar3062
prakhar3062 - comment - 28 Feb 2022

branch is out of date so not able to test it

avatar alikon
alikon - comment - 28 Feb 2022

you can use the Prebuilt package

avatar nikosdion
nikosdion - comment - 1 Mar 2022

I have tested this item successfully on 80c2f8a

I am 100% onboard with this change. It will allow 3PDs to use this feature as well (which is something I am personally really looking forward to!).

As for com_content and other components, we will need to go through their Options pages with a fine comb to see which options need to be documented and how. But as you said that't the subject of another PR :)


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37158.

avatar nikosdion nikosdion - test_item - 1 Mar 2022 - Tested successfully
avatar cyrezdev
cyrezdev - comment - 1 Mar 2022

It will allow 3PDs to use this feature as well (which is something I am personally really looking forward to!).

Testing with my own extension, and working perfectly (even including your inlinehelp button in my edit view works well!)
I have maybe one suggestion: possibility to set by default visibility on show or hide (currently only hidden by default).
Storing in user session preference could be a bonus too.
This is a very useful feature, and allow better options documentation without throwing unnecessary text for advanced users.
Good work! ?

As for com_content and other components, we will need to go through their Options pages with a fine comb to see which options need to be documented and how. But as you said that't the subject of another PR :)

So, should i enable it in all core components in this PR, or wait inlinehelp review for each component, and enable option when review is complete ?

avatar nikosdion
nikosdion - comment - 1 Mar 2022

@cyrezdev Regarding this:

possibility to set by default visibility on show or hide (currently only hidden by default).
Storing in user session preference could be a bonus too.

If you read the original PR (#35610), namely the “Why make this change” you will see why this is not going to happen. You already figure it out yourself.

This is a very useful feature, and allow better options documentation without throwing unnecessary text for advanced users.

Yup. That's why.

Ideally, we'd need real user testing to know if the assumption that beginners will click that button is true or if we need to revise. Fat chance of that happening.

The next best thing I could do is deploy support of Show Inline Help to my security software which has an infamously extensive configuration page. The past ~9 years it had tooltips. Now it has Show Inline Help. Within a few short months I will know if Show Inline Help works for inexperienced users. Until then, I am not fighting this battle no more! :D

So, should i enable it in all core components in this PR, or wait inlinehelp review for each component, and enable option when review is complete ?

Leave this PR as is. If it gets RTC and we get official word it's getting merged you can do a new PR for all other core components and then we can then work on PRs for the help strings of each component (one per component) — the latter will need additional review from native English speakers to ensure clarity and conciseness.

avatar laoneo
laoneo - comment - 2 Mar 2022

I have tested this item successfully on 80c2f8a


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37158.

avatar laoneo laoneo - test_item - 2 Mar 2022 - Tested successfully
avatar laoneo laoneo - change - 2 Mar 2022
Labels Added: ?
avatar alikon alikon - alter_testresult - 2 Mar 2022 - nikosdion: Tested successfully
avatar alikon alikon - alter_testresult - 2 Mar 2022 - laoneo: Tested successfully
avatar alikon alikon - change - 2 Mar 2022
Status Pending Ready to Commit
avatar alikon
alikon - comment - 2 Mar 2022

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37158.

avatar alikon
alikon - comment - 2 Mar 2022

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37158.

avatar cyrezdev
cyrezdev - comment - 2 Mar 2022

Ideally, we'd need real user testing to know if the assumption that beginners will click that button is true or if we need to revise. Fat chance of that happening.

For another PR: Maybe an alert information message on top of config to inform user of this new functionnality when available ?

Capture d’écran 2022-03-02 à 17 24 58

avatar bembelimen bembelimen - change - 3 Mar 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-03-03 02:15:49
Closed_By bembelimen
Labels Added: ?
avatar bembelimen bembelimen - close - 3 Mar 2022
avatar bembelimen bembelimen - merge - 3 Mar 2022
avatar bembelimen
bembelimen - comment - 3 Mar 2022

Thx

Add a Comment

Login with GitHub to post a comment