Dear VBO maintainers and users,

This is a Feature Request for a UX improvement,
regarding the "Select all # rows in this view" functionality.

Background:

The way to apply a VBO to all rows of a view is as of this writing a two-step process:

  1. A user clicks on the "Select all" checkbox at the top of the checkboxes column
  2. A button appears labeled "Select all # rows in this view". Once the user presses this button all the rows of the view at hand will be processed by the selected VBO operation.

Comments/Critique:

  • Cryptic: This functionality is often reported by our customers as cryptic. It often needs to be explained to them so that they can use it.
  • Confusing with paginated browsing: In combination with https://www.drupal.org/node/1207348, this can be a source of confusion , since moving to a next page makes the informative text and button disappear, and the user does not know anymore if that choice is still in effect.

Our recommendation to the end-user:

  1. Click on the "Select all" checkbox to make the "Select all # rows in this view" button appear
  2. Click on the newly appearred button
  3. Directly after that, select and execute VBO operation (dont click anywhere else in the page)

The new feature:

Based on the current state of this module, as described above, we propose a change in order to impove the functionality for the end-user.

  • A new button next to the "Execute" button, called "Execute on all" (see example_execute_on_all.png)
  • Deactivating/doing-away-with the current 2-step, emerging-button functionality

The advantages:

  • Very simple to understand and use
  • Obvious/visible from the very start

The technical details:

  • Alter the form to add a new submit button
  • Use the new button's id during form_validate and form_submit to detect and act on all rows

Example

example_execute_on_all.png

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pkosenko’s picture

My question is somewhat different. I can see that the button attempts to delete all possible items that the VBO filters turn up, even if they don't all fit on the current page. However, this could be a nightmare if there are thousands and thousands of items.

I cannot find where in the UX one can SUPPRESS the "Select all rows in this view" (confusing wording), although I can see the item in the VBO export code. So I would request that the ability to SUPPRESS the button be added to the request.

$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;

stefanos.petrakis@gmail.com’s picture

Hey @pkosenko.

I think that your comment (the previous one) should best be an own issue, it focuses on a different problem.