Skip to content
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

Toggle checkboxes #2917

Merged
merged 2 commits into from
Aug 25, 2017
Merged

Conversation

clurdish
Copy link
Contributor

This adds the ability to toggle the checkboxes on the list section. The bulk menu is also disabled whenever the checkboxes instance variable is set to false on the list section.

The reason for this feature is to remove some of the clutter on the list page if no bulk actions are being used. Some of our clients have said it's distracting without bulk actions being available.

All tests are passing on CentOS 7 with Ruby 2.3.3. Code coverage has increased.

* bulk_menu deals with selected rows. No checkboxes means no bulk actions.
* ensures that export can be used with this configuration
@mshibuya mshibuya merged commit c3794fe into railsadminteam:master Aug 25, 2017
@mshibuya
Copy link
Member

Looks good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants