Marcus Andrey Study
Ler em português Library

Complex products · Step 3 · 10 min read

Selection and bulk actions

When the weather window closes, a planner has to move twenty work orders, not one. How row selection works, the bar of actions that replaces the toolbar, selecting a page versus everything that matches, the keyboard, and what to say before and after an action that changes many records at once.

The forecast changes at ten in the morning, and twenty climbs this week are off. Wind above Gale's (fictional) 12 m/s climbing limit means no technician goes up. The planner has to move every one of those work orders to new dates. One by one, that's twenty times open, edit, save, close. With selection, it's filter, tick, one action. Bulk actions are where work software saves people the most time, and where one wrong click does the most damage. Both deserve design.

What you'll be able to do after reading:

  • Design row selection with checkboxes, including the header checkbox
  • Design the bar of actions that appears when rows are selected
  • Tell "select this page" apart from "select everything that matches"
  • Support selection from the keyboard
  • Write the confirmation and the result of a bulk action, including partial failures

1. Acting on many rows at once

The last of NN/g's four table tasks is "take action(s) on records" (Laubheimer, NN/g, 2022). A bulk action (also called a batch action) is one action applied to many selected rows: assign a crew to twelve work orders, move twenty to next week, cancel three.

Look for bulk actions where people repeat the same change on many records. In Gale, they come from the planner's and supervisor's work:

  • Assign crew and Change planned date, when the weather or a shortage moves the plan
  • Put on hold with a reason (waiting for parts, weather or permit)
  • Verify, for supervisors only: in Gale, only a supervisor verifies a finished work order
  • Export the selection to a file

Not every action should be bulk. Releasing a permit-to-work (the safety document that allows a climb) is one decision per turbine, made by a safety officer who has checked that turbine. A "release 20 permits" button would be fast and wrong.


2. Checkboxes in the first column

3 selected
–Work orderTurbineTaskStatePlanned start
✓WO-2026-018734CA-07-T14Gearbox oil changeScheduled3 Dec 2026, 08:00
WO-2026-018702CA-07-T03Blade inspectionOn hold: weather2 Dec 2026, 07:30
WO-2026-018655CA-12-T22Generator bearing swapOn hold: partsNot set
✓WO-2026-018611CA-12-T08Annual servicePlanned9 Dec 2026, 08:00
✓WO-2026-018590CA-21-T05Yaw motor faultIn progress1 Dec 2026, 09:15

When the whole page is ticked

All 25 work orders on this page are selected.
Selection in Gale Console. Ticking a row swaps the toolbar for a bar of actions that apply to the selection, with the count first and a way out last. The header box shows "some" with a dash. Ticking it selects the visible page only, and the line under it offers the larger set by number, so nobody changes 214 work orders by accident.Gale, Cabo Alto Energia and every number in it are fictional. Diagram: Marcus Andrey, CC BY 4.0.

Selection means marking rows so an action can apply to them. In a data table it is a column of checkboxes before the identifier. Carbon: "By default, the selectable variant allows users to select more than one row in a data table simultaneously", and the row checkboxes "have only two states, checked and unchecked" (Carbon, Data table usage).

Clicking the row and ticking the box are different things. In Gale, the work order number opens the work order; the checkbox selects it. Keep them apart, and make the checkbox's cell big enough to hit without opening the row by mistake. Mark selected rows with a background as well as the tick, so the selection is visible while scrolling.

The header checkbox selects every row at once and has a third state. Carbon: it "has three states, check, unchecked, and indeterminate". Indeterminate means some rows are ticked, not all; it is drawn as a dash. Clicking it when some are ticked usually selects all; clicking it when all are ticked clears them.

When people may pick only one row (choose the one work order to copy from), use radio buttons instead; Carbon has a variant "limiting the user to selecting only one row at a time".


3. The bar that replaces the toolbar

When the first row is ticked, the table's toolbar (search, filters, settings) gives way to a bulk action bar. Carbon: "Once an item from the table is selected, the batch action bar appears at the top of the table", and "when batch mode is active, single action icons and overflow menus on the row should be disabled". Leaving it: "the user can select the cancel button on the far right of the bar or deselect all items".

Gale's bar, from start to end:

  1. The count: "3 selected". People need to see that number before they press anything.
  2. The actions that apply to the selection, most common first.
  3. "Clear selection", the way out.

Show only what the person may do. A planner doesn't see "Verify", because she can't verify. When an action applies to some of the selected rows but not all (you can't change the date of a work order that's already Done), keep the button and say what will happen: "Change planned date (2 of 3)". Permissions people understand covers the rules behind this.


4. This page, or everything that matches

The header checkbox is ambiguous. Gale shows 25 rows per page, and the planner's filter matches 214 work orders. Does "select all" mean 25 or 214?

The safe answer is the one in the figure: the header checkbox selects the visible page, and a line appears under the bar: "All 25 work orders on this page are selected. Select all 214 that match your filters." Selecting the larger set is a second, deliberate click, and it says the number.

Two more rules hold the selection together:

  • Say when selected rows are out of sight. If the planner ticks three rows, then changes a filter so one of them disappears, the bar says "3 selected (1 not shown)". An action on rows people can't see is a surprise, so Gale keeps the selection, shows that count, and adds a "Show selected" link that lists exactly the rows the action will touch.
  • Keep the selection when sorting or paging. Sorting doesn't change which rows were picked, so it shouldn't drop them.

5. From the keyboard

People who use a table all day use the keyboard. At minimum:

  • Tab reaches every checkbox, and Space ticks it, as with any checkbox.
  • Shift+click on a second checkbox selects the range between the two. It's a desktop convention most people know from their email or file manager.
  • The bulk action bar is reachable with Tab right after the selection, not at the end of the page.

If the table is a grid (people move around the cells with the arrow keys; see Anatomy of a data table), the WAI-ARIA grid pattern lists the selection keys commonly used, among them "Shift + Space: Selects the row that contains the focus" and "Control + A: Selects all cells" (WAI-ARIA APG, Grid). Fast entry from the keyboard comes back to this in Step 4.


6. Before and after the action

1. The confirmation names what will change

Cancel 3 work orders?

  • WO-2026-018734 · CA-07-T14 · Gearbox oil change
  • WO-2026-018611 · CA-12-T08 · Annual service
  • WO-2026-018590 · CA-21-T05 · Yaw motor fault

Their 14 reserved part lines go back to stock, and the assigned crews get a notification.

2. The result says what happened to each

2 work orders cancelled.

1 not changed: WO-2026-018590 is In progress, and a crew is at the turbine. Stop the work first, then cancel.

The two moments after a bulk action that can't be taken back easily. The confirmation lists the three work orders by name and says what follows (the parts and the crews), so it is worth reading. The result reports per item: two worked, one didn't, why, and what to do next. The undo is there because people will still click too fast.Gale, Cabo Alto Energia and every number in it are fictional. Diagram: Marcus Andrey, CC BY 4.0.

Confirm only what is hard to undo. Jakob Nielsen: "Do not use confirmation dialogs for routine actions", because "if you cry wolf too many times, people will stop paying attention to the question" (Nielsen, Confirmation Dialogs Can Prevent User Errors — If Not Overused, NN/g, 2018). Assigning a crew can be changed back in a second: no dialog. Cancelling three work orders releases their reserved parts and tells the crews: confirm.

Make the confirmation specific. Nielsen again: "A confirmation dialog must restate the user's request and explain what the computer is about to do", and "saying these 2 items doesn't tell users which files will be deleted". Gale's dialog lists the three work orders by number, turbine and task, and says what follows: 14 reserved part lines go back to stock, and the crews get a notification. The button says the action and the number, "Cancel 3 work orders", not "OK".

Report per item. Bulk actions fail in parts. One work order in the three is In progress, with a crew at the turbine, and can't be cancelled from the table. The result says it plainly: two cancelled, one not, why, and a link to open the one that's left. "Action failed" or a silent success both leave the planner guessing which ones changed.

Offer undo when you can. Nielsen: "do try your best to offer undo". People will still click too fast, dialog or not.

Long actions run in the background. Rescheduling 214 work orders takes time. Let the planner keep working, show progress, and tell her when it's done, with the same per-item result. That is the subject of Background jobs, queues and notifications. And every bulk change goes into each work order's history, as if it had been made one by one; see Audit trails and history.


7. Common mistakes

  • A click anywhere on the row both opens and selects it.
  • Selected rows that look the same as the others once you scroll.
  • No count in the bar, so people act without knowing on how many.
  • "Select all" that silently means all 214, or silently means only 25.
  • Actions shown to people who can't use them, which then fail.
  • A confirmation for every small action, so nobody reads the one that matters.
  • "Are you sure?" with OK and Cancel, and no list of what will change.
  • One message for the whole batch when some items failed.

8. Vocabulary

Term Meaning
Bulk action One action applied to many selected rows at once; also called a batch action
Selection The set of rows marked for an action
Header checkbox The checkbox in the header row that selects or clears every row
Indeterminate The header checkbox's third state: some rows ticked, not all; drawn as a dash
Bulk action bar The bar that replaces the toolbar while rows are selected, with the count, the actions and a way out
Range selection Selecting every row between two, usually with Shift+click
Partial failure A bulk action that worked for some rows and not for others
Undo Reversing an action right after it, without starting again

9. Try it (no tools needed)

Imagine a table of your own photos, files or emails, with a checkbox column.

  1. Write down three actions you would do to many items at once, and one you would never want to do in bulk. Write why in one sentence each.
  2. Draw the bulk action bar for when 4 items are selected: the count, the three actions in order, and the way out.
  3. Pick the riskiest of the three actions. Write its confirmation: the title with the number, the list of items, what happens next, and the button's label.
  4. Write the result message for when 3 of the 4 worked and 1 didn't, including why and what to do about it.

You did it well if someone reading only your confirmation knows exactly which items will change and what follows, your button doesn't say "OK", and the result names the item that failed.

Reflection questions: Which of your actions needs no confirmation at all, because undo is enough? What would "select all" mean in your table, and how would people know?


10. If you already practise

  • Find your bulk actions in the data: look for the same edit made to many records by one person in a few minutes. Each one is a bulk action people are doing by hand.
  • Specify the per-item result with the developers early. It's far harder to add once the backend only returns "success" or "error".
  • Define the selection rules once in the design system (page versus all, what happens on filter change, the keyboard) and reuse them in every table.
  • Test with the largest set people will really select. A bar and a dialog that work for three items can break at three hundred.

Checklist

Learn more

Books, courses and videos to go deeper

Book links go to Amazon. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.

Sort, filter and search · Tables on a phone · Permissions people understand · Background jobs, queues and notifications · Audit trails and history · Fast entry from the keyboard

Saved only on this device.

↑ ↓ to move · Enter to open · Esc to close