chore(work): finish 02-recording-analytics

This commit is contained in:
2026-05-18 13:38:16 +02:00
parent 67879ffad2
commit 92294bc7ff
3 changed files with 12 additions and 20 deletions

View File

@@ -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": []

View File

@@ -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.

View File

@@ -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)