chore(work): finish 08-react-provider

This commit is contained in:
2026-05-18 17:56:52 +02:00
parent a7e0bf290d
commit 940a804944
3 changed files with 8 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
{
"updated_at": "2026-05-18T15:44:56.132Z",
"updated_at": "2026-05-18T15:56:54.448Z",
"epics": {
"binder-wrap-helper": {
"status": "done",
@@ -323,10 +323,10 @@
]
},
"08-react-provider": {
"status": "todo",
"status": "done",
"title": "Add React provider to @repo/core-analytics",
"ac_total": 1,
"ac_completed": 0,
"ac_completed": 1,
"depends_on": [
"02-recording-analytics"
],
@@ -346,11 +346,6 @@
}
},
"ready": [
{
"epic": "product-analytics-channel",
"story": "08-react-provider",
"title": "Add React provider to @repo/core-analytics"
},
{
"epic": "product-analytics-channel",
"story": "09-documentation",

View File

@@ -3,12 +3,12 @@ id: 08-react-provider
epic: product-analytics-channel
title: Add React provider to @repo/core-analytics
type: technical-story
status: todo
status: done
feature: core-analytics
depends-on: [02-recording-analytics]
blocks: [09-documentation]
created: 2026-05-18T12:07:00Z
updated: 2026-05-18T10:46:27.080Z
updated: 2026-05-18T15:56:54.277Z
---
## Goal
@@ -40,4 +40,4 @@ Server-side use cases receive analytics through `BindContext.analytics`. Client-
## Tasks
- [ ] Add `AnalyticsProvider` + `useAnalytics()` to `packages/core-analytics/src/react/`, wire `./react` subpath export in `package.json`, write React Testing Library test using `RecordingAnalytics` asserting `track` flows through context — all gates pass on this commit.
- [x] Add `AnalyticsProvider` + `useAnalytics()` to `packages/core-analytics/src/react/`, wire `./react` subpath export in `package.json`, write React Testing Library test using `RecordingAnalytics` asserting `track` flows through context — 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-18T15:44:55.963Z
updated: 2026-05-18T15:56:54.277Z
---
## Goal
@@ -26,5 +26,5 @@ Consumers routinely bolt analytics SDKs on at the React component layer, bypassi
- [x] [05 — Extend assertFeatureConformance to check Analyzed brand](05-assert-feature-conformance-analyzed/_story.md)
- [x] [06 — Add AnalyticsProtocol and BindContext.analytics](06-analytics-protocol-bind-context/_story.md)
- [x] [07 — Add no-undeclared-analytics-event ESLint rule](07-eslint-rule-no-undeclared-analytics-event/_story.md)
- [ ] [08 — Add React provider to @repo/core-analytics](08-react-provider/_story.md)
- [x] [08 — Add React provider to @repo/core-analytics](08-react-provider/_story.md)
- [ ] [09 — Documentation](09-documentation/_story.md)