chore(work): finish 06-analytics-protocol-bind-context

This commit is contained in:
2026-05-18 17:40:19 +02:00
parent a832a7dfaa
commit 0f8e3b8caf
3 changed files with 8 additions and 13 deletions

View File

@@ -3,12 +3,12 @@ id: 06-analytics-protocol-bind-context
epic: product-analytics-channel
title: Add AnalyticsProtocol and BindContext.analytics
type: technical-story
status: todo
status: done
feature: core-shared
depends-on: [05-assert-feature-conformance-analyzed]
blocks: [09-documentation]
created: 2026-05-18T12:05:00Z
updated: 2026-05-18T10:46:27.080Z
updated: 2026-05-18T15:40:20.464Z
---
## Goal
@@ -39,4 +39,4 @@ Feature binders that need analytics accept `ctx.analytics` from the aggregator's
## Tasks
- [ ] Add `AnalyticsProtocol` structural type to `packages/core-shared/src/di/bind-protocols.ts` and `analytics?: AnalyticsProtocol` to `BindContext` + `BindProductionContext`; export from the `@repo/core-shared/di` barrel — all gates pass on this commit.
- [x] Add `AnalyticsProtocol` structural type to `packages/core-shared/src/di/bind-protocols.ts` and `analytics?: AnalyticsProtocol` to `BindContext` + `BindProductionContext`; export from the `@repo/core-shared/di` 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-18T15:36:52.400Z
updated: 2026-05-18T15:40:20.464Z
---
## Goal
@@ -24,7 +24,7 @@ Consumers routinely bolt analytics SDKs on at the React component layer, bypassi
- [x] [03 — Add Analyzed brand and withAnalytics wrapper](03-analyzed-brand-and-with-analytics-wrapper/_story.md)
- [x] [04 — Extend manifest schema and wireUseCase with analyticsEvents](04-manifest-schema-and-wire-use-case/_story.md)
- [x] [05 — Extend assertFeatureConformance to check Analyzed brand](05-assert-feature-conformance-analyzed/_story.md)
- [ ] [06 — Add AnalyticsProtocol and BindContext.analytics](06-analytics-protocol-bind-context/_story.md)
- [x] [06 — Add AnalyticsProtocol and BindContext.analytics](06-analytics-protocol-bind-context/_story.md)
- [ ] [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)
- [ ] [09 — Documentation](09-documentation/_story.md)