apps for kell creations management
Go to file
Mike Kell dfe7ae1811 feat: add multi-select groundwork to product publishing (Stage 3A)
Add read-only multi-selection state to the product publishing workspace, preparing for future bulk actions without introducing any bulk writes.

Controller (ProductPublishingController):

- Add _multiSelectedIds Set<String> for tracking multi-selected product IDs

- Add toggleMultiSelect(id) to add/remove individual IDs

- Add clearMultiSelection() to deselect all

- Add selectAllVisible() to select all currently visible (filtered/searched) drafts

- Add isMultiSelected(id), multiSelectedIds, multiSelectedCount, isMultiSelectActive getters

- Multi-selection is independent of single-item preview selection

- Multi-selection persists across load cycles and write operations

UI (ProductDraftCard):

- Add optional isMultiSelected/onMultiSelectToggle props

- Show leading Checkbox when multi-select mode is active

- Tapping checkbox toggles multi-select; tapping card body still fires single-item preview

UI (ProductPublishingPage):

- Add _MultiSelectBar widget above product list when multi-select is active

- Shows selected count, Select All button, and Clear button

- Replace deprecated withOpacity() calls with withValues(alpha:)

Tests:

- 15 new multi-select controller tests covering toggle, clear, select-all,

  filter/search interaction, independence from preview selection, persistence

  across loads and writes, and listener notifications

- Total: 262 feature_wordpress tests passing

Validation:

- dart analyze: clean (0 issues)

- flutter test: 262/262 passed

Changed files:

- lib/src/application/product_publishing_controller.dart

- lib/src/presentation/widgets/product_draft_card.dart

- lib/src/presentation/product_publishing_page.dart

- test/product_publishing_controller_test.dart

- docs/development/master_development_brief.md
2026-05-22 08:33:24 -04:00
.forgejo/workflows Added PlantUML SVG inages to workflow and system landscape page 2026-03-30 08:16:38 -04:00
.vscode Added VSCode settings and Flutter Development 2026-04-04 08:12:59 -04:00
architecture/workspace Add deployment architecture 2026-04-03 17:25:33 -04:00
docs feat: add multi-select groundwork to product publishing (Stage 3A) 2026-05-22 08:33:24 -04:00
kell_creations_apps feat: add multi-select groundwork to product publishing (Stage 3A) 2026-05-22 08:33:24 -04:00
policies Add policy repository structure and initial governance documents 2026-04-03 19:33:22 -04:00
.gitignore Initial MkDocs scaffold 2026-03-29 01:09:53 +00:00
draft fix(feature_wordpress): allow pending review products to move to draft 2026-04-11 08:16:49 -04:00
mkdocs.yml Add architecture traceability index 2026-04-03 20:06:29 -04:00