Commit Graph

44 Commits

Author SHA1 Message Date
Mike Kell 2af9a8b6cb docs: update tracker for merged feat/test-coverage-visibility (Stage 4D)
Publish Docs / publish-docs (push) Successful in 1m5s Details
- Update current status to Stage 4D complete (Stage 4 complete)

- Add feat/test-coverage-visibility slice entry with coverage baseline

- Set next branch to feat/android-app-shell (Stage 5A)
2026-05-22 10:22:59 -04:00
Mike Kell f30ad24d8a feat(ci): add test coverage visibility to CI pipeline (Stage 4D)
Enhance flutter-test.yml to run tests with --coverage and parse lcov.info

files, producing aggregate summary table with per-package line coverage.

Changes:

- flutter-test.yml: add --coverage flag, lcov.info parsing, coverage %

- collect_coverage.sh: new local coverage helper with summary table

- tools/README.md: document collect_coverage.sh script

- .gitignore: add coverage/ directories

- master_development_brief.md: mark Stage 4D complete, document baseline

  coverage table, update next branch to Stage 5A, resolve improvement #5

Baseline coverage (2026-05-22):

- core: 85.7%% (42/49 lines, 20 tests)

- design_system: 100.0%% (88/88 lines, 41 tests)

- feature_wordpress: 84.7%% (857/1012 lines, 294 tests)

- kell_web: 54.1%% (191/353 lines, 24 tests)

- Overall: 78.4%% (1178/1502 lines, 379 tests)

No minimum thresholds enforced — visibility first.
2026-05-22 10:22:05 -04:00
Mike Kell 71abe9df7f docs: update briefs for merged feat/flutter-cicd (Stage 4C)
Publish Docs / publish-docs (push) Successful in 1m16s Details
- master_development_brief.md: mark Stage 4C complete, update baseline commit,

  next recommended branch (Stage 4D), tools/ description, resolve improvement #9

- build_execution_tracker.md: update current status to Stage 4C, add missing

  feat/shared-composition-pattern and feat/flutter-cicd slice entries
2026-05-22 10:11:51 -04:00
Mike Kell 9eafc68fec feat(core): extract shared composition pattern into core package (Stage 4B)
Validate Docs / validate-docs (push) Successful in 1m13s Details
Extract AppConfig/AppEnvironment, AppServices, Bootstrap, and AppScope into core package as KcAppConfig, KcAppServices, KcBootstrap, and KcAppScope generic abstractions.

New core composition types:

- KcAppConfig: runtime config from --dart-define (KC_ENV, WC credentials)

- KcAppEnvironment: enum for fake/wordpress environments

- KcAppServices: abstract base for app service containers

- KcServiceFactory<T>: generic factory for fake/wordpress service creation

- KcBootstrap: shared bootstrap with env switch and WP credential fallback

- KcAppScope<T>: InheritedWidget exposing typed services + config to tree

kell_web backward compatibility:

- AppConfig/AppEnvironment are now typedefs to Kc-prefixed types

- AppServices extends KcAppServices with concrete repositories

- AppScope extends KcAppScope<AppServices> with direct InheritedWidget lookup

- Bootstrap delegates to KcBootstrap.run with app-specific factory

Tests: 20 new core tests, all 379 tests passing (core 20, design_system 41, feature_wordpress 294, kell_web 24). dart analyze clean.
2026-05-22 09:57:51 -04:00
Mike Kell 8facefdff1 feat(design-system): Stage 4A — design system expansion and shared widget migration
- Migrate EmptyStatePanel, SectionHeader, SummaryCard from kell_web into design_system as KcEmptyState, KcSectionHeader, KcSummaryCard

- Add KcTypography shared typography scale with full Material 3 text style hierarchy

- Add KcBreakpoints responsive layout breakpoint utilities (compact/medium/expanded/large)

- Add KcLoadingState and KcErrorState shared state widgets

- Update kc_theme.dart to use KcTypography.applyKcTypography()

- Update kell_web dashboard_page.dart to use design_system widgets directly

- Replace kell_web shell widget files with backward-compatible typedef re-exports

- Expand design_system tests from 3 to 41 (all passing)

- All existing tests passing: design_system 41/41, feature_wordpress 294/294, kell_web 24/24

- dart analyze clean across design_system and kell_web
2026-05-22 09:42:31 -04:00
Mike Kell bee610ca2c docs: add Stage 4 — Platform foundations and cross-platform readiness
Publish Docs / publish-docs (push) Successful in 1m9s Details
2026-05-22 09:26:39 -04:00
Mike Kell 02090cde6a docs: add suggested improvements to master development brief
Publish Docs / publish-docs (push) Successful in 1m3s Details
2026-05-22 09:17:08 -04:00
Mike Kell eaf3e70d30 docs: update master development brief — Stage 3B complete, Stage 3 done
Publish Docs / publish-docs (push) Successful in 1m10s Details
Mark Stage 3B (list efficiency improvements) as complete with 294 tests passing. Update baseline commit reference, test count, and next recommended branch to Stage 4A (Android app shell).
2026-05-22 08:53:10 -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 49a3702cec Updated build status
Publish Docs / publish-docs (push) Successful in 1m34s Details
2026-04-11 16:49:51 -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 73b4a49939 docs: update briefs for merged feat/post-write-consistency (Stage 2A)
- Mark Stage 2A complete in master brief and build tracker

- Refresh main baseline to 7acff83

- Next slice: feat/publishing-ux-hardening (Stage 2B)
2026-04-11 16:18:00 -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 24671f5f59 feat(wordpress): add category-only product edit (Stage 1B) 2026-04-11 15:54:40 -04:00
Mike Kell 3e233b0df6 Master Development Brief updated after Stage 1A merge
Publish Docs / publish-docs (push) Successful in 1m3s Details
2026-04-11 11:15:37 -04:00
Mike Kell de44b02d76 added master development brief
Publish Docs / publish-docs (push) Successful in 1m3s Details
2026-04-11 10:48:49 -04:00
Mike Kell d4bab30f75 Add architecture traceability index
Publish Docs / publish-docs (push) Successful in 1m17s Details
2026-04-03 20:06:29 -04:00
Mike Kell e83949e2c3 Publish initial policy repository documentation
Publish Docs / publish-docs (push) Successful in 47s Details
2026-04-03 19:55:25 -04:00
Mike Kell eddaac8287 Add deployment architecture
Publish Docs / publish-docs (push) Successful in 1m59s Details
2026-04-03 17:25:33 -04:00
Mike Kell 8b418dd788 ready to commit policy workflow
Publish Docs / publish-docs (push) Successful in 1m21s Details
2026-04-03 17:13:38 -04:00
Mike Kell cbda03a432 Add inventory to production dynamic workflow
Publish Docs / publish-docs (push) Successful in 1m19s Details
2026-03-30 20:05:55 -04:00
Mike Kell c9cff949d9 Add social campaign publishing dynamic workflow
Publish Docs / publish-docs (push) Successful in 47s Details
2026-03-30 19:23:21 -04:00
Mike Kell 80c260fdc8 Add product publishing dynamic workflow
Publish Docs / publish-docs (push) Successful in 39s Details
2026-03-30 19:12:58 -04:00
Mike Kell 8d1443a446 Add order to fulfillment dynamic workflow
Publish Docs / publish-docs (push) Successful in 1m53s Details
2026-03-30 18:59:45 -04:00
Mike Kell 11ca265ed9 Embed remaining PlantUML diagrams in architecture pages
Publish Docs / publish-docs (push) Successful in 1m39s Details
2026-03-30 18:44:45 -04:00
Mike Kell 3ee48dd4c7 Add PlantUML Diagram images to platform-containers.md and inventory.md
Publish Docs / publish-docs (push) Successful in 40s Details
2026-03-30 08:20:36 -04:00
Mike Kell 31fd922df5 Added PlantUML SVG inages to workflow and system landscape page
Publish Docs / publish-docs (push) Successful in 1m34s Details
2026-03-30 08:16:38 -04:00
Mike Kell 571e0c06d0 Add financial analysis component architecture
Publish Docs / publish-docs (push) Successful in 28s Details
2026-03-30 07:49:46 -04:00
Mike Kell 29c6f724b3 Add social media management component architecture
Publish Docs / publish-docs (push) Successful in 30s Details
2026-03-30 07:30:50 -04:00
Mike Kell f6592a497c Add wordpress management component architecture
Publish Docs / publish-docs (push) Successful in 17s Details
2026-03-30 07:18:37 -04:00
Mike Kell cdafe7f696 Add craft manufacturing and MRP component architecture
Publish Docs / publish-docs (push) Successful in 17s Details
2026-03-30 07:10:13 -04:00
Mike Kell 4a575e506f Add enterprise audit logging and compliance architecture
Publish Docs / publish-docs (push) Successful in 18s Details
2026-03-30 07:01:21 -04:00
Mike Kell 1abd605f82 Add enterprise integration and orchestration architecture
Publish Docs / publish-docs (push) Successful in 22s Details
2026-03-30 06:53:37 -04:00
Mike Kell 55d234114c Add enterprise identity and access architecture
Publish Docs / publish-docs (push) Successful in 21s Details
2026-03-30 06:45:05 -04:00
Mike Kell 01b3c77fd9 Add CI/CD workflow documentation
Publish Docs / publish-docs (push) Successful in 20s Details
2026-03-29 20:42:57 -04:00
Mike Kell 83b4b7973b Add enterprise data architecture diagram and documentation 2026-03-29 06:06:07 -04:00
Mike Kell 6c20c619b9 Add enterprise shared services architecture diagram and documentation 2026-03-29 05:53:21 -04:00
Mike Kell d1f514cf2e Updated Architecture Workflow to reflect process to create docs.kellsupport.com site 2026-03-28 22:01:33 -04:00
Mike Kell 63c3ed91c7 Add inventory component architecture diagram and documentation 2026-03-28 21:55:51 -04:00
Mike Kell 445d16079f Add platform container architecture diagram and documentation 2026-03-28 21:50:58 -04:00
Mike Kell 6a53aeb0e3 Add platform context architecture diagram and documentation 2026-03-28 21:45:36 -04:00
Mike Kell 17706a5d58 Add system landscape architecture diagram and documentation 2026-03-28 21:38:34 -04:00
Mike Kell e86db579d0 Initial MkDocs scaffold 2026-03-29 01:09:53 +00:00