RTC PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar conseilgouz
conseilgouz
7 Sep 2024

Summary of Changes

Add inlinehelp toggle button for custom fields

Testing Instructions

Edit a custom field and play with inlinehelp toggle button.

Actual result BEFORE applying this Pull Request

  • no inlinehelp button
  • description shown

Expected result AFTER applying this Pull Request

  • Inlinehelp toggle button in toolbar next to help button.
  • Descriptions hidden by default

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar conseilgouz conseilgouz - open - 7 Sep 2024
avatar conseilgouz conseilgouz - change - 7 Sep 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Sep 2024
Category Administration com_fields Front End Plugins
avatar Kostelano Kostelano - test_item - 7 Sep 2024 - Tested successfully
avatar Kostelano
Kostelano - comment - 7 Sep 2024

I have tested this item ✅ successfully on b650613


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

avatar conseilgouz
conseilgouz - comment - 7 Sep 2024

I made a mistake, it is not relevant

About Color field : it does not respect other fields definition : no directory params and I did not find yet where its value is defined.

avatar conseilgouz conseilgouz - change - 7 Sep 2024
Labels Added: PR-4.4-dev
avatar conseilgouz
conseilgouz - comment - 7 Sep 2024

I just created params/color.xml so inline help button is displayed for color custom field.

avatar Kostelano Kostelano - test_item - 7 Sep 2024 - Tested successfully
avatar Kostelano
Kostelano - comment - 7 Sep 2024

I have tested this item ✅ successfully on 43d1e6c

> I just created params/color.xml so inline help button is displayed for color custom field.

Yes, this solves the problem, the retest is successful.


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

avatar conseilgouz
conseilgouz - comment - 7 Sep 2024

@Kostelano : thank you

avatar joomla-cms-bot joomla-cms-bot - change - 7 Sep 2024
Category Administration com_fields Front End Plugins Administration com_fields
avatar conseilgouz
conseilgouz - comment - 7 Sep 2024

Instead of defining inlinehelp in every custom field plugin, it's done once in administrator/components/com_fields/forms/field.xml

This could also be done in administrator/components/com_fields/forms/group.xml after adding $toolbar->inlinehelp(); in administrator/components/com_fields/src/View/Group/HtmlView.php, but there is no description in any group.xml field, so Inline Help button will never be displayed.

avatar Kostelano Kostelano - test_item - 8 Sep 2024 - Tested successfully
avatar Kostelano
Kostelano - comment - 8 Sep 2024

I have tested this item ✅ successfully on 2a13f15

Everything works


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

avatar fgsw
fgsw - comment - 9 Sep 2024

@conseilgouz can you ad [4.4] at begin of title? So user see what branch this pull request is without open it.

avatar conseilgouz conseilgouz - change - 9 Sep 2024
Title
[inlinehelp] Add inlinehelp toggle button for custom fields
[4.4 inlinehelp] Add inlinehelp toggle button for custom fields
avatar conseilgouz conseilgouz - edited - 9 Sep 2024
avatar conseilgouz conseilgouz - change - 9 Sep 2024
Title
[4.4 inlinehelp] Add inlinehelp toggle button for custom fields
[4.4][inlinehelp] Add inlinehelp toggle button for custom fields
avatar conseilgouz conseilgouz - edited - 9 Sep 2024
avatar fgsw fgsw - test_item - 9 Sep 2024 - Tested successfully
avatar fgsw
fgsw - comment - 9 Sep 2024

I have tested this item ✅ successfully on 2a13f15

Test:

  • Content: Articles, Category
  • Contacts: Contact, Mail, Category
  • Users

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44029.
avatar alikon alikon - change - 9 Sep 2024
Status Pending Ready to Commit
avatar alikon
alikon - comment - 9 Sep 2024

RTC


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

avatar laoneo laoneo - change - 9 Sep 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-09-09 14:31:45
Closed_By laoneo
Labels Added: RTC
avatar laoneo laoneo - close - 9 Sep 2024
avatar laoneo laoneo - merge - 9 Sep 2024
avatar laoneo
laoneo - comment - 9 Sep 2024

Thanks!

Add a Comment

Login with GitHub to post a comment