Improve usability of Views bulk action form in Seven theme

Created on 16 August 2016, over 8 years ago
Updated 17 May 2023, almost 2 years ago

Problem/Motivation

The styling for the Views bulk action form is limited and can lead to confusion when presented along side other form elements. For example, on the administration content listing page (/admin/content) the bulk action form is presented beneath the exposed filter form and confusion can exist between the fields and apply buttons for the two forms.

Before:

Proposed resolution

Add a wrapper mechanism and some simple block styles to the bulk action form wherever it appears in the Seven theme (both for views bulk operations and hardcoded bulk operations like the comment list).

Maybe in the future

An enhanced version is possible that 'joins' the Views table header visually with the bulk action form, adding an additional pointer arrow to the 'select' checkbox column. This approach would not work when the View doesn't use a table display, so we discarded this for now.

Remaining tasks

Reviews.

User interface changes

Change of Views bulk action form styling background and border, see proposed resolution.

API changes

No changes. Adding #bulk_operations element.

Data model changes

None

📌 Task
Status

Needs work

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom kjay

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • VDC

    Related to the Views in Drupal Core initiative.

  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇵🇭Philippines roberttabigue

    Hi @kjay,

    Moving this now to RTBC because when I am using Seven 1.0.0-alpha1 as a default theme to Drupal core 9.5.6 version, this how it looks now and Bulk action functionalities works well.

    Please see the attached screenshots for reference.

    Thanks.

  • Status changed to Needs work almost 2 years ago
  • 🇵🇭Philippines roberttabigue

    Hi @kjay,

    My apologies, I will transition the issue back to "Needs work" since the Patches are currently not working.

    Thanks.

Production build 0.71.5 2024