Mike Kell
|
ab56c942c7
|
feat(stage-10E): SquareSyncController + square()/multi() factories + KcBootstrap Square validation + ID conflation fix
Stage 10E - feat/square-catalog-sync-service-controller
P1.1 AppServices.square() / multi() factories (kell_web + kell_mobile)
P1.2 SquareCatalogSyncService ID conflation fix (squareCatalogObjectId lookup)
P1.4 SquareSyncController ChangeNotifier (SyncPhase, syncAll, reset, disposal guard)
P1.5 KcBootstrap Square credential validation with fallback warning
New files:
feature_wordpress/lib/src/application/square_sync_controller.dart
feature_wordpress/test/square_sync_controller_test.dart (18 tests)
Modified files:
feature_wordpress/lib/src/domain/product_draft.dart (squareCatalogObjectId field)
feature_wordpress/lib/src/application/square_catalog_sync_service.dart (ID conflation fix)
feature_wordpress/lib/feature_wordpress.dart (barrel export)
kell_web/lib/composition/app_services.dart (square/multi factories)
kell_mobile/lib/composition/mobile_app_services.dart (square/multi factories)
kell_web/test/composition/app_services_test.dart (+23 tests)
kell_mobile/test/composition/mobile_app_services_test.dart (+23 tests)
docs/development/build_execution_tracker.md
Test results: 537/537 feature_wordpress, 47/47 kell_web, 49/49 kell_mobile,
34/34 core, 167/167 feature_inventory - 834 total, 0 failures
dart analyze --fatal-infos: no issues found across all 5 packages
|
2026-07-25 16:26:53 -04:00 |
Mike Kell
|
0a45ecb1c0
|
feat(wc-catalog-expansion): Stage 9C — WooCommerce catalog expansion
- Add ProductCategory domain model (id, name, slug, parentId, count) with copyWith, equality, toString
- Add ProductImage domain model (id, url, alt, position) with copyWith, equality
- Extend ProductPublishingRepository contract: createProduct, deleteProduct, updateProductImages, getProductImages, getCategories, createCategory, updateCategory, deleteCategory
- Implement all 8 new methods in FakeProductPublishingRepository with seed categories
- Implement all 8 new methods in WordPressProductPublishingRepository
- Add WooCommerceApiClient methods: createProduct, deleteProduct, getCategories (paginated), createCategory, updateCategory, deleteCategory, getProductImages, setProductImages
- Add use cases: CreateProduct, DeleteProduct, GetCategories, CreateCategory, UpdateProductImages
- Update feature_wordpress.dart barrel exports
- Update test stubs in dashboard_controller_test.dart and product_publishing_page_test.dart
- Add 69 new tests in wc_catalog_expansion_test.dart (388 total feature_wordpress, 24 kell_web — all passing)
- Update master_development_brief.md and build_execution_tracker.md
|
2026-07-11 10:23:31 -04:00 |