uiXpress
Posts Tables

Batch Operations Guide

Comprehensive guide to batch operations in the modern posts tables.

Overview

Batch operations allow you to perform actions on multiple posts simultaneously, saving time and improving efficiency when managing large numbers of posts.

Batch Selection

Selection Methods

Individual Selection:

  • Click checkbox per row
  • Selects single post
  • Toggle selection
  • Visual feedback

Range Selection:

  • Shift+click (future)
  • Selects range
  • Multiple posts
  • Visual feedback

Select All:

  • Header checkbox
  • Selects all visible
  • Current page only
  • Visual feedback

Selection Display

Floating Toolbar:

  • Appears when posts selected
  • Shows selected count
  • Action buttons
  • Clear selection
  • Bottom center

Toolbar Actions:

  • Publish button
  • Duplicate button
  • Delete button
  • Clear selection
  • Visual feedback

Batch Edit

Available Fields

Categories:

  • Multiselect dropdown
  • Searchable categories
  • Add/remove categories
  • Multiple selection
  • Visual tags

Tags:

  • Multiselect dropdown
  • Searchable tags
  • Add/remove tags
  • Multiple selection
  • Visual tags

Status:

  • Dropdown selector
  • All available statuses
  • Change status
  • Single selection
  • Visual badge

Author:

  • User selector
  • Searchable users
  • Change author
  • Single selection
  • Avatar display

Edit Process

Steps:

  1. Select multiple posts
  2. Click "Batch Edit" button
  3. Modal opens
  4. Make changes to fields
  5. Click "Update" button
  6. Confirmation dialog
  7. Confirm update
  8. All posts updated
  9. Success notification

Field Editing:

  • Categories: Add/remove
  • Tags: Add/remove
  • Status: Change
  • Author: Change

Update Logic:

  • Only changed fields updated
  • Empty fields ignored
  • Multiple posts processed
  • Sequential updates
  • Error handling

Confirmation

Confirmation Dialog:

  • "Publish changes?" title
  • Confirmation message
  • "Yes update them" button
  • Cancel option
  • Safety measure

Confirmation Process:

  1. Click "Update"
  2. Dialog appears
  3. Confirm or cancel
  4. If confirmed, updates proceed
  5. If cancelled, no changes

Batch Publish

Publish Process

Steps:

  1. Select posts to publish
  2. Floating toolbar appears
  3. Click publish button
  4. All selected published
  5. Status updates
  6. Success notification

Features:

  • Floating toolbar
  • One-click operation
  • Bulk publish
  • Status updates
  • Visual feedback

Publish Behavior:

  • Changes status to "publish"
  • Updates all selected
  • Sequential processing
  • Error handling
  • Success notification

Batch Duplicate

Duplication Process

Steps:

  1. Select posts to duplicate
  2. Click duplicate button
  3. Posts duplicated
  4. New drafts created
  5. Title: "{Original} (copy)"
  6. Success notification

Duplication Logic:

  • Copies all post data
  • Adds "(copy)" to title
  • Sets status to draft
  • Preserves content
  • Preserves metadata

Duplicated Fields:

  • Title (with "(copy)")
  • Content
  • Excerpt
  • Categories
  • Tags
  • Custom fields
  • Metadata

Excluded Fields:

  • Post ID
  • Date
  • Status (set to draft)
  • Author (keeps original)
  • Slug (regenerated)

Batch Delete

Deletion Process

Steps:

  1. Select posts to delete
  2. Click delete button
  3. Confirmation dialog
  4. Confirm deletion
  5. Posts deleted
  6. Success notification

Deletion Options:

  • Move to trash (if not trashed)
  • Permanent delete (if trashed)
  • Confirmation required
  • Cannot be undone
  • Success notification

Confirmation:

  • "Are you sure?" dialog
  • Warning message
  • "Yes delete it" button
  • Cancel option
  • Safety measure

Deletion Behavior

Trash vs Delete:

  • Not trashed: Move to trash
  • Already trashed: Permanent delete
  • Confirmation required
  • Cannot be undone
  • Success notification

Post-Trash:

  • Moves to trash status
  • Can be restored
  • Not permanently deleted
  • Shows in trash filter
  • Restore option

Permanent Delete:

  • Permanently removes
  • Cannot be restored
  • No recovery
  • Confirmation required
  • Final deletion

Selection Management

Selection Methods

Individual Selection:

  • Click checkbox
  • Toggle selection
  • Single post
  • Visual feedback

Range Selection:

  • Shift+click (future)
  • Selects range
  • Multiple posts
  • Visual feedback

Select All:

  • Header checkbox
  • Selects all visible
  • Current page only
  • Visual feedback

Selection Display

Floating Toolbar:

  • Appears when selected
  • Bottom center position
  • Shows selected count
  • Action buttons
  • Clear selection

Toolbar Actions:

  • Publish button
  • Duplicate button
  • Delete button
  • Clear selection button
  • Visual feedback

Toolbar Behavior:

  • Appears on selection
  • Disappears on clear
  • Shows action buttons
  • Visual feedback
  • Smooth transitions

Best Practices

Batch Operations Tips

Efficient Workflow:

  • Select multiple posts
  • Use batch edit for common changes
  • Use batch publish for quick publishing
  • Use batch duplicate for templates
  • Use batch delete carefully

Selection Strategy:

  • Select related posts
  • Use filters to narrow
  • Select by category
  • Select by author
  • Select by date

Error Prevention

Before Batch Operations:

  • Verify selection
  • Check permissions
  • Review changes
  • Confirm actions
  • Test with small batch

During Batch Operations:

  • Monitor progress
  • Check for errors
  • Review notifications
  • Verify updates
  • Confirm success

Troubleshooting

Common Issues

Batch Edit Not Working:

  • Check permissions
  • Verify selection
  • Check API endpoint
  • Review errors
  • Try again

Batch Publish Failing:

  • Check permissions
  • Verify selection
  • Check post status
  • Review errors
  • Try again

Batch Duplicate Errors:

  • Check permissions
  • Verify selection
  • Check API endpoint
  • Review errors
  • Try again

Batch Delete Issues:

  • Check permissions
  • Verify selection
  • Check confirmation
  • Review errors
  • Try again

Solutions

Refresh Data:

  • Refresh page
  • Re-fetch data
  • Check API
  • Verify permissions
  • Try again

Check Permissions:

  • Verify edit capability
  • Check user permissions
  • Review API permissions
  • Test with different user
  • Contact admin