Mike Kell
116255f8ac
feat(stage-10F): SquareSyncStatusPanel + IntegrationsPage + MobileIntegrationsPage + squareSyncController wired into both shells
2026-07-25 16:55:46 -04:00
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
eb8e2250d6
feat(stage-10d): SquareCatalogSyncService + SquareSyncResult + SyncError + InventorySyncAdapter
2026-07-25 15:17:22 -04:00
Mike Kell
7ccc119a62
feat(stage-10c): SquareCatalogRepository + SquareInventoryRepository
2026-07-25 15:04:26 -04:00
Mike Kell
a6f888c672
feat(stage-10b): Square catalog and inventory sync mappers + ProductIdMapping
2026-07-25 07:59:13 -04:00
Mike Kell
a127ddba3a
feat(stage-9d): product creation UI, category management page, mobile create-product page
2026-07-11 10:50:32 -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
Mike Kell
c4f76a90e5
feat: add bulk publish and bulk submit-for-review actions (Stage 7B)
...
Validate Docs / validate-docs (push) Successful in 59s
Details
Flutter Analyze / Dart Analyze (push) Has been cancelled
Details
Flutter Test / Flutter Tests (push) Has been cancelled
Details
- Enable pendingReview in WordPressProductMapper.toWooCommerceStatus()
(maps to WooCommerce 'pending'; only unpublished throws ArgumentError)
- Add Publish and Submit for Review buttons to _MultiSelectBar with
confirmation dialogs and proper plural/singular messaging
- Refactor multi-select bar layout from Row to Wrap for responsive overflow
- Add 3 controller tests: bulk publish, bulk pending review, mixed statuses
- Add 5 page widget tests: button visibility, confirmation dialogs, cancel
preserves selection, plural count
- Update repository test: remove pendingReview from unsupported-throws
- Update mapper test: pendingReview now returns 'pending'
- 319/319 feature_wordpress tests passing, dart analyze clean
- Update master_development_brief.md and build_execution_tracker.md
2026-05-30 11:17:13 -04:00
Mike Kell
b61c886c23
chore: remove 8 unnecessary_import directives and 1 unused variable
...
Validate Docs / validate-docs (push) Successful in 49s
Details
Publish Docs / publish-docs (push) Successful in 1m28s
Details
Flutter Analyze / Dart Analyze (push) Has been cancelled
Details
Flutter Test / Flutter Tests (push) Has been cancelled
Details
- feature_wordpress/test: removed 8 unnecessary_import directives across
5 test files (barrel exports already cover these symbols)
- kell_mobile/test: removed unused productCards local variable
- dart analyze --fatal-infos now passes clean across all packages
- All 410 tests still pass (311 feature_wordpress, 14 kell_mobile,
24 kell_web, 41 design_system, 20 core)
- Updated build_execution_tracker.md (Stage 7A → merged)
- Updated master_development_brief.md (next branch, validation state)
2026-05-30 10:53:00 -04:00
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
Mike Kell
871ae8c48b
feat(Stage 6B): Android mobile workflow hardening
...
- Restore Material Design 48x48dp minimum touch targets on 12 IconButtons
in ProductPreviewPanel by removing constraints/padding overrides
- Replace fixed-width SizedBox(width:80) on price edit TextField with
Expanded for flexible layout on narrow mobile screens
- Add tooltip 'Edit price' for consistency with other edit buttons
- Wrap ProductPreviewPanel in SafeArea in MobileProductDetailPage to
prevent content clipping under notches/gesture bars
- Add 6 new touch target rendered-size tests verifying >= 48x48dp
- Update master_development_brief.md and build_execution_tracker.md
Tests: 300/300 feature_wordpress, 14/14 kell_mobile, 24/24 kell_web,
41/41 design_system — 379 total, all passing.
Stage 6 (Android operational maturity) complete.
2026-05-30 09:45:10 -04:00
Mike Kell
a0aea373c2
feat(wordpress): Stage 3B — list efficiency improvements
...
Add compact/standard view toggle (ListDensity enum) to controller and page, allowing users to switch between a dense single-row layout and the full metadata card view.
Add staleness detection: isStale() flags products not modified in 30+ days with a schedule icon; staleCount() returns the count of stale items in the current filtered view.
Add keyboard navigation: selectNextDraft/selectPreviousDraft with arrow-key wrapping support; page wires up Focus + onKeyEvent for arrow-down/arrow-up.
Update ProductDraftCard with compact layout variant (two-row dense metadata), stale indicator icon, and description snippet in standard mode. Wrap long text in Flexible widgets to prevent overflow.
Increase standard card height from 160px to 180px to accommodate the new description snippet row.
Export ListDensity and ProductSortField from barrel file.
Add 42 new focused tests covering listDensity toggle, staleness boundary conditions, staleCount with filters, keyboard navigation wrapping, and compact card rendering. All 294 tests pass, dart analyze clean.
2026-05-22 08:51:32 -04:00
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
Mike Kell
02cc75c655
feat: publishing workflow UX hardening (Stage 2B)
Validate Docs / validate-docs (push) Successful in 1m9s
Details
2026-04-11 16:40:10 -04:00
Mike Kell
cf0889d4a9
feat: post-write consistency hardening (Stage 2A)
...
Validate Docs / validate-docs (push) Successful in 1m4s
Details
Add _refreshSelection() to ProductPublishingController to preserve and refresh selectedDraft by id after all write-triggered reloads. Selection stays on the same product with latest data, or auto-selects first visible item if the original leaves the active filter.
- 11 new post-write consistency tests (234 total)
- dart analyze clean
2026-04-11 16:11:06 -04:00
Mike Kell
b69edd3e4a
feat(wordpress): add category-only product edit (Stage 1B)
Validate Docs / validate-docs (push) Successful in 1m3s
Details
2026-04-11 15:54:51 -04:00
Mike Kell
8d1a01581a
tage 1A — Description-only product edit implemented
Validate Docs / validate-docs (push) Successful in 56s
Details
2026-04-11 11:07:36 -04:00
Mike Kell
ae9c1dd90c
feat(feature_wordpress): add name-only product update
Publish Docs / publish-docs (push) Successful in 57s
Details
2026-04-11 10:36:00 -04:00
Mike Kell
f8f373b018
fix(feature_wordpress): allow pending review products to move to draft
Publish Docs / publish-docs (push) Successful in 1m12s
Details
2026-04-11 08:16:49 -04:00
Mike Kell
ed2333d188
Implement WooCommerce publishDraft flow
Validate Docs / validate-docs (push) Successful in 1m24s
Details
2026-04-05 20:15:00 -04:00
Mike Kell
039612cb6e
Update main with product publishing
Publish Docs / publish-docs (push) Successful in 1m57s
Details
2026-04-05 20:03:10 -04:00
Mike Kell
7ab526f083
feat(wordpress): add real WooCommerce read-only product repository
Validate Docs / validate-docs (push) Successful in 1m9s
Details
2026-04-04 15:14:38 -04:00
Mike Kell
23ea1bebe1
feat(workflows): add shared filtering search and selection persistence
Validate Docs / validate-docs (push) Successful in 1m0s
Details
2026-04-04 14:59:26 -04:00
Mike Kell
e06c2d8f94
refactor(kell-web): add app-level dependency composition
Validate Docs / validate-docs (push) Successful in 1m9s
Details
2026-04-04 13:38:51 -04:00
Mike Kell
226b21d22d
feat(products): add product publishing workspace vertical slice
Validate Docs / validate-docs (push) Successful in 50s
Details
2026-04-04 13:13:26 -04:00
Mike Kell
59548cedbd
Add Flutter app and package monorepo scaffold
Publish Docs / publish-docs (push) Successful in 59s
Details
2026-04-04 09:19:46 -04:00