User tests: Successful: Unsuccessful:
Usually when I was using Joomla Admin, the multi-select on the list view was not very user-friendly since clicking on such a small square can sometimes fail on the first try. So I came up with a solution for
When you click on a row on the articles list view (for example), it will highlight the whole line:
When you click on the select-all checkbox, it will highlight all items on that page:
I'm aware of backwards compatibility so the regular checkbox will still work as before while still highlighting the whole line.
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript |
Title |
|
and use a class instead of changing directly the styles
Do you mean adding a class to the row when the action is done?
variables.scss
el.classList.toggle('foo');
) to toggle the classLabels |
Added:
?
|
Category | JavaScript | ⇒ | Administration Templates (admin) JavaScript |
I have questions on the topics not checked:
"use strict";
var color = '#d9edf7', rows = document.querySelectorAll('tr[class^="row"]');
The above snippet should take care of the first checkbox.
For compiling SCSS you need to have installed node and npm
Then in the root directory of joomla run npm install
Once complete run grunt compile
Here are the instructions: https://github.com/joomla/joomla-cms/blob/4.0-dev/grunt-readme.md
I think that is all :)
@franz-wohlkoenig it's ready for testing now, everything fixed
btw @C-Lodder I didn't use the element.classList.toggle('foo');
because it was causing weird behaviours when you selected one row and then selected them all after, it would live the previous row unselected and it's not the wanted behaviour
I have tested this item
I have tested this item
an optical Feedback like another Curser would help to see that i can move Column.
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
I have tested this item
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-04-01 11:35:53 |
Closed_By | ⇒ | wilsonge |
Can you drop jquery (you don't need it for such easy task) and use a class instead of changing directly the styles