? Success

User tests: Successful: Unsuccessful:

avatar okonomiyaki3000
okonomiyaki3000
18 Oct 2016

Pull Request for Issue # .

Summary of Changes

This is a revival of #5147 which was really just a continuation of #1192 so please see those for historical discussions.

The basic idea here is to eliminate the need for the many different field types that generate specific kinds of lists while, at the same time, making list, checkboxes, and radiobutton types more flexible and consistent. This is done with the concept of option types. So that now the the <option> tag can take a type attribute (and probably other attributes as needed) which will determine which options are to appear in the select, radio, checkbox or other form control.

Testing Instructions

Create a form with fields using the list, radio, or checkboxes type and assign it options of one or more of the option types....

OK, that's a big hassle. I think what this pr really needs is for these option types to actually be used in the places where they can be used. That is coming soon.

Documentation Changes Required

Certainly.

avatar okonomiyaki3000 okonomiyaki3000 - open - 18 Oct 2016
avatar okonomiyaki3000 okonomiyaki3000 - change - 18 Oct 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Oct 2016
Labels Added: ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 18 Oct 2016
Category Layout Libraries Unit Tests
avatar okonomiyaki3000 okonomiyaki3000 - change - 18 Oct 2016
Title
J form option
JFormOption
avatar okonomiyaki3000 okonomiyaki3000 - edited - 18 Oct 2016
avatar okonomiyaki3000 okonomiyaki3000 - change - 18 Oct 2016
Title
J form option
JFormOption
avatar joomla-cms-bot joomla-cms-bot - change - 18 Oct 2016
Labels Removed: ?
avatar okonomiyaki3000
okonomiyaki3000 - comment - 19 Oct 2016

I'll look at some of these failing tests soon and also add some new tests but this latest commit actually puts this feature to use in many of the standard forms. You can now test the usability by using any of these modified forms (for example, the Global Configuration form).

avatar okonomiyaki3000 okonomiyaki3000 - change - 1 Nov 2016
The description was changed
avatar okonomiyaki3000
okonomiyaki3000 - comment - 1 Nov 2016

This should fix the failing tests but now it looks like I need to rebase.

avatar okonomiyaki3000
okonomiyaki3000 - comment - 1 Nov 2016

this should fix those conflicts but I had some errors and failures in the tests. only in tests that had nothing at all to do with this PR though. So whatever that means...

avatar okonomiyaki3000
okonomiyaki3000 - comment - 1 Nov 2016

OK, there was one legit error there that was probably mine. Let's see if it works now.

avatar joomla-cms-bot joomla-cms-bot - change - 21 Nov 2016
Category Layout Libraries Unit Tests Administration com_admin com_config com_contact com_languages com_users Front End com_mailto Installation Layout Libraries
avatar brianteeman
brianteeman - comment - 4 Jan 2018

@okonomiyaki3000 Do you want to resolve the merge conflicts or close this?

avatar dgt41
dgt41 - comment - 4 Jan 2018

I hope we can get this one in J4, the code so much better than the current codebase

avatar okonomiyaki3000
okonomiyaki3000 - comment - 5 Jan 2018

Hmm. I still want to do this but I think it might be easier to start a new branch instead of trying to rebase this one.

avatar roland-d
roland-d - comment - 22 Jul 2018

@okonomiyaki3000 Should we tag this for Joomla 4?

avatar okonomiyaki3000
okonomiyaki3000 - comment - 22 Jul 2018

I just need to redo the whole thing for Joomla 4.

avatar okonomiyaki3000 okonomiyaki3000 - change - 22 Jul 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-07-22 23:53:12
Closed_By okonomiyaki3000
avatar okonomiyaki3000 okonomiyaki3000 - close - 22 Jul 2018

Add a Comment

Login with GitHub to post a comment