? Failure

User tests: Successful: Unsuccessful:

avatar C-Lodder
C-Lodder
25 Jan 2019

Summary of Changes

This PR utilises the dropdowns Custom Element.

It still requires some JS refactoring and support for RTL, however that can be done in the CE repo at a later date

Requires joomla-projects/custom-elements#111 to be merged

To-do

  • Properly import the dropdown custom element when using npm i

Result

screeny

avatar C-Lodder C-Lodder - open - 25 Jan 2019
avatar C-Lodder C-Lodder - change - 25 Jan 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Jan 2019
Category Administration Templates (admin) Layout Libraries
avatar C-Lodder C-Lodder - change - 25 Jan 2019
Labels Added: ?
avatar infograf768
infograf768 - comment - 25 Jan 2019

It still requires some JS refactoring and support for RTL, however that can be done in the CE repo at a later date

Rant:: RTL is almost always forgotten until last minute (if it is). It should always be dealt with for any PR imho, and not "later". Nothing personal. Just a general rant.

avatar C-Lodder C-Lodder - change - 25 Jan 2019
The description was changed
avatar C-Lodder C-Lodder - edited - 25 Jan 2019
avatar C-Lodder
C-Lodder - comment - 25 Jan 2019

@infograf768 RTL support added

avatar dgrammatiko
dgrammatiko - comment - 25 Jan 2019

FWIW the code for the Dropdown Element is utterly crap (talking for my own code here, not the changes Charlie did) in the other repo BUT the only attribute that will remain also in the upcoming Custom Element is for. So I guess this is ok-ish.

Although I will recommend to simply copy the CE in the main repo for the time being and remove it when the new one is available in the other repo...

avatar C-Lodder
C-Lodder - comment - 25 Jan 2019

@dgrammatiko sure, I'll copy the CSS/JS over so it can at least be tested. Please note the wrapper I've used though. Not ideal but actually essential

avatar dgrammatiko
dgrammatiko - comment - 25 Jan 2019

@C-Lodder I would suggest to implement the dropdown first on the control panel layout so we can drop Bootstrap js from the template index.php but I'm ok with whatever...

avatar C-Lodder
C-Lodder - comment - 19 Feb 2019

@dgrammatiko I will do that as a separate PR

avatar C-Lodder C-Lodder - change - 24 Apr 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-04-24 08:57:15
Closed_By C-Lodder
Labels Removed: J4 Issue
avatar C-Lodder C-Lodder - close - 24 Apr 2019

Add a Comment

Login with GitHub to post a comment