diff --git a/docs/work/_system/_state.json b/docs/work/_system/_state.json index 06a3f32..d2cee5b 100644 --- a/docs/work/_system/_state.json +++ b/docs/work/_system/_state.json @@ -1,5 +1,5 @@ { - "updated_at": "2026-05-18T11:33:07.052Z", + "updated_at": "2026-05-18T11:38:17.851Z", "epics": { "binder-wrap-helper": { "status": "done", @@ -255,10 +255,10 @@ "blocks": [] }, "02-recording-analytics": { - "status": "todo", + "status": "done", "title": "Add RecordingAnalytics to @repo/core-testing", "ac_total": 1, - "ac_completed": 0, + "ac_completed": 1, "depends_on": [ "01-scaffold-core-analytics-package" ], @@ -348,13 +348,13 @@ "ready": [ { "epic": "product-analytics-channel", - "story": "02-recording-analytics", - "title": "Add RecordingAnalytics to @repo/core-testing" + "story": "03-analyzed-brand-and-with-analytics-wrapper", + "title": "Add Analyzed brand and withAnalytics wrapper" }, { "epic": "product-analytics-channel", - "story": "03-analyzed-brand-and-with-analytics-wrapper", - "title": "Add Analyzed brand and withAnalytics wrapper" + "story": "08-react-provider", + "title": "Add React provider to @repo/core-analytics" }, { "epic": "product-analytics-channel", @@ -394,14 +394,6 @@ "waiting_on": [ "product-analytics-channel/05-assert-feature-conformance-analyzed" ] - }, - { - "epic": "product-analytics-channel", - "story": "08-react-provider", - "title": "Add React provider to @repo/core-analytics", - "waiting_on": [ - "product-analytics-channel/02-recording-analytics" - ] } ], "needs_prd_ship": [] diff --git a/docs/work/epics/product-analytics-channel/02-recording-analytics/_story.md b/docs/work/epics/product-analytics-channel/02-recording-analytics/_story.md index 217d9fc..d0681f0 100644 --- a/docs/work/epics/product-analytics-channel/02-recording-analytics/_story.md +++ b/docs/work/epics/product-analytics-channel/02-recording-analytics/_story.md @@ -3,12 +3,12 @@ id: 02-recording-analytics epic: product-analytics-channel title: Add RecordingAnalytics to @repo/core-testing type: technical-story -status: todo +status: done feature: core-testing depends-on: [01-scaffold-core-analytics-package] blocks: [08-react-provider] created: 2026-05-18T12:01:00Z -updated: 2026-05-18T10:46:27.080Z +updated: 2026-05-18T11:38:17.680Z --- ## Goal @@ -39,4 +39,4 @@ Every story that needs to assert analytics behaviour (including the React provid ## Tasks -- [ ] Add `RecordingAnalytics` implementing `IAnalytics` to `@repo/core-testing` — recorded arrays for `track`, `identify`, `pageView`; `flush()` returns `Promise.resolve()`; sibling test covers all methods and flush; export added to barrel — all gates pass on this commit. +- [x] Add `RecordingAnalytics` implementing `IAnalytics` to `@repo/core-testing` — recorded arrays for `track`, `identify`, `pageView`; `flush()` returns `Promise.resolve()`; sibling test covers all methods and flush; export added to barrel — all gates pass on this commit. diff --git a/docs/work/epics/product-analytics-channel/_epic.md b/docs/work/epics/product-analytics-channel/_epic.md index 83b8e35..079d3d2 100644 --- a/docs/work/epics/product-analytics-channel/_epic.md +++ b/docs/work/epics/product-analytics-channel/_epic.md @@ -6,7 +6,7 @@ type: epic status: in-progress features: [core-analytics, core-shared, core-testing, core-eslint] created: 2026-05-18T12:00:00Z -updated: 2026-05-18T11:33:06.880Z +updated: 2026-05-18T11:38:17.680Z --- ## Goal @@ -20,7 +20,7 @@ Consumers routinely bolt analytics SDKs on at the React component layer, bypassi ## Stories - [x] [01 — Scaffold @repo/core-analytics package](01-scaffold-core-analytics-package/_story.md) -- [ ] [02 — Add RecordingAnalytics to @repo/core-testing](02-recording-analytics/_story.md) +- [x] [02 — Add RecordingAnalytics to @repo/core-testing](02-recording-analytics/_story.md) - [ ] [03 — Add Analyzed brand and withAnalytics wrapper](03-analyzed-brand-and-with-analytics-wrapper/_story.md) - [ ] [04 — Extend manifest schema and wireUseCase with analyticsEvents](04-manifest-schema-and-wire-use-case/_story.md) - [ ] [05 — Extend assertFeatureConformance to check Analyzed brand](05-assert-feature-conformance-analyzed/_story.md)