User Interface medium complexity frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Sticky toolbar on the user list page that appears when one or more row checkboxes are selected. Exposes deactivate, reactivate, change role, resend invitation, and export actions, and drives a server-side preview plus confirmation dialog before mutations run.

Feature: Bulk Actions

bulk-action-toolbar

Sources & reasoning

Source lists Bulk Actions as the third feature of admin-user-management. No explicit phase assignment in the source roadmap (Phase 1 admin MVP names only invitation, deactivation, role assignment), so per the resolution rule the second non-mobilization phase 'Core Product' is used.

Responsibilities

  • Render row-checkbox column and select-all control on the user list
  • Show/hide the sticky action toolbar based on current selection state
  • Request server-side affected-count preview before any destructive action
  • Display confirmation dialog with action summary and proceed/cancel
  • Surface per-row success/failure results after batch completion

Interfaces

onSelectionChange(selectedUserIds: string[]): void
previewAction(action: BulkActionType, userIds: string[]): BulkPreview
executeAction(action: BulkActionType, userIds: string[], payload?: object): BulkActionResult
renderToolbar(selection: Selection): ReactNode