feat(wordpress): add category-only product edit (Stage 1B)

This commit is contained in:
Mike Kell 2026-04-11 15:54:40 -04:00
parent 3e233b0df6
commit 24671f5f59
1 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,53 @@
# Build Execution Tracker
## Current status
- main baseline updated through: description-only-edit
- current branch: feat/category-only-edit (implementation complete, pending merge)
- next branch: feat/post-write-consistency
- current stage: Stage 1 — Web application completion (Stage 1B complete)
## Slice tracker
### feat/description-only-edit
- status: merged to main
- inspection: complete
- implementation: complete
- tests: passed (212/212)
- analyze: passed
- brief updated: yes
### feat/category-only-edit
- status: implementation complete, pending merge to main
- inspection: complete
- implementation: complete
- tests: passed (223/223 feature_wordpress, 5/5 kell_web dashboard)
- analyze: passed (dart analyze — no issues found)
- brief updated: yes
- changed files:
- `lib/src/domain/product_publishing_repository.dart` — added `updateProductCategory` contract
- `lib/src/application/update_product_category.dart` — new use case (created)
- `lib/src/application/product_publishing_controller.dart` — added `CategoryActionResult`, `updateCategory`, `lastCategoryResult`, `consumeCategoryResult`
- `lib/src/data/fake_product_publishing_repository.dart` — implemented `updateProductCategory`
- `lib/src/data/wordpress_product_publishing_repository.dart` — implemented `updateProductCategory` (WP API mapping)
- `lib/src/presentation/widgets/product_preview_panel.dart` — added inline category edit UI (`onCategoryChanged`, `_buildCategoryRow`)
- `lib/src/presentation/product_publishing_page.dart` — wired `UpdateProductCategory` use case and `onCategoryChanged` callback
- `lib/src/presentation/widgets/status_action_snack_bar.dart` — added `showCategoryActionSnackBar`
- `lib/feature_wordpress.dart` — barrel export for `update_product_category.dart`
- `test/product_publishing_controller_test.dart` — added `updateCategory` test group (5 tests)
- `test/fake_product_publishing_repository_test.dart` — added `updateProductCategory` test group (6 tests)
- `test/widgets/product_publishing_page_test.dart` — updated mock to include `updateProductCategory`
- `apps/kell_web/test/dashboard/application/dashboard_controller_test.dart` — updated mock to include `updateProductCategory`
- `docs/development/master_development_brief.md` — updated baseline, validation state, next branch
- `docs/development/build_execution_tracker.md` — this file
### feat/post-write-consistency
- status: queued (Stage 2A)
- inspection: pending
- implementation: pending
- tests: pending
- analyze: pending
- brief updated: no