kell_creations/kell_creations_apps/packages/feature_wordpress
Mike Kell ffc643739c feat: add bulk move-to-draft action (Stage 7A)
Add bulk status-change capability to the product publishing workspace,
starting with 'Move to Draft' as the first controlled bulk action.

Controller:
- Add BulkActionResult value class (successCount, failureCount,
  targetStatus, failedProductNames, totalCount, allSucceeded)
- Add bulkUpdateStatus() method: processes selected products
  sequentially with per-row updating state, single reload after
  completion, auto-clears multi-selection
- Add lastBulkActionResult / consumeBulkActionResult() pattern

Presentation:
- Add showBulkActionSnackBar() with three variants: all-success
  (green), total-failure (red), partial-failure (amber with up to
  3 failed product names)
- Update _MultiSelectBar with 'Move to Draft' OutlinedButton.icon
  and onBulkMoveToDraft callback
- Add _confirmBulkMoveToDraft() confirmation dialog
- Wire bulk result listener into _onControllerChanged

Tests:
- 11 new bulkUpdateStatus tests: no-op on empty selection, moves
  all to draft, sets result on all-success, clears multi-selection,
  clears updatingIds, handles mixed statuses, consume clears result,
  starts null, preserves preview selection, persists filter/sort,
  disposal safety
- Total: 311/311 feature_wordpress, 24/24 kell_web

Tracking:
- Update master_development_brief.md: Stage 7A marked complete,
  entry criteria marked as all met, test count updated to 311
- Update build_execution_tracker.md: new slice entry added
2026-05-30 10:36:00 -04:00
..
lib feat: add bulk move-to-draft action (Stage 7A) 2026-05-30 10:36:00 -04:00
test feat: add bulk move-to-draft action (Stage 7A) 2026-05-30 10:36:00 -04:00
.gitignore Add Flutter app and package monorepo scaffold 2026-04-04 09:19:46 -04:00
.metadata Add Flutter app and package monorepo scaffold 2026-04-04 09:19:46 -04:00
CHANGELOG.md Add Flutter app and package monorepo scaffold 2026-04-04 09:19:46 -04:00
LICENSE Add Flutter app and package monorepo scaffold 2026-04-04 09:19:46 -04:00
README.md Add Flutter app and package monorepo scaffold 2026-04-04 09:19:46 -04:00
analysis_options.yaml Add Flutter app and package monorepo scaffold 2026-04-04 09:19:46 -04:00
pubspec.yaml feat(mobile): Stage 5A — Android app shell and bootstrap 2026-05-28 19:10:14 -04:00

README.md

TODO: Put a short description of the package here that helps potential users know whether this package might be useful for them.

Features

TODO: List what your package can do. Maybe include images, gifs, or videos.

Getting started

TODO: List prerequisites and provide or point to information on how to start using the package.

Usage

TODO: Include short and useful examples for package users. Add longer examples to /example folder.

const like = 'sample';

Additional information

TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.