-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Move searchtools, sort and item count to dropdown #17059
Conversation
Can you make the dropdown collapse when you click away please |
I have tested this item ✅ successfully on abdd678 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17059. |
@brianteeman Dropdown now closes with click away |
I have tested this item ✅ successfully on 1e72e40 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17059. |
.custom-select { | ||
&.active { | ||
color: #fff; | ||
background: #fefefe url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 4 5\'%3E%3Cpath fill=\'%23fff\' d=\'M2 0L0 2h4zm0 5L0 3h4z\'/%3E%3C/svg%3E") no-repeat scroll right .75rem center / 8px 10px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#fefefe
>> $white-offset
@@ -110,7 +110,7 @@ | |||
self.filterButton.addEventListener('click', function(e) { | |||
self.toggleFilters(); | |||
e.stopPropagation(); | |||
e.preventDefault(); | |||
e.preventDefault(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove whitespace after e.preventDefault();
I have tested this item ✅ successfully on 1e72e40 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17059. |
works great with core. Looks odd with com-patchtester. not sure if thats an issue or not This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17059. |
com_patchtester doesn't use search tools since it's not using the "legacy" MVC. So I'm kind of winging it in the 4.0 layouts to make it look similar. |
@mbabker all good then ;) |
* Move searchtools to dropdown * Add eventlistener to body to close dropdown
Pull Request for Issue # .
Summary of Changes
Moves searchtools, sort and item count to a dropdown menu under a 'Table Options' toggle in list views.
Testing Instructions
Apply patch and navigate to list view (Articles).
Before
After
Documentation Changes Required
Yes