Skip to content

Toggle checkboxes#2917

Merged
mshibuya merged 2 commits into
railsadminteam:masterfrom
clurdish:toggle-checkboxes
Aug 25, 2017
Merged

Toggle checkboxes#2917
mshibuya merged 2 commits into
railsadminteam:masterfrom
clurdish:toggle-checkboxes

Conversation

@clurdish
Copy link
Copy Markdown
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
Copy Markdown
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