chore(work): finish 05-core-consent-react

This commit is contained in:
2026-05-19 21:21:28 +02:00
parent 9b6deac954
commit 86d949294f
3 changed files with 8 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
{ {
"updated_at": "2026-05-19T13:27:09.259Z", "updated_at": "2026-05-19T19:21:30.369Z",
"epics": { "epics": {
"binder-wrap-helper": { "binder-wrap-helper": {
"status": "done", "status": "done",
@@ -284,10 +284,10 @@
"blocks": [] "blocks": []
}, },
"05-core-consent-react": { "05-core-consent-react": {
"status": "todo", "status": "done",
"title": "core-consent React subpath — ConsentProvider + useConsent()", "title": "core-consent React subpath — ConsentProvider + useConsent()",
"ac_total": 1, "ac_total": 1,
"ac_completed": 0, "ac_completed": 1,
"depends_on": [ "depends_on": [
"04-core-consent-implementation" "04-core-consent-implementation"
], ],
@@ -569,11 +569,6 @@
} }
}, },
"ready": [ "ready": [
{
"epic": "dsr-consent-and-cookie-banner",
"story": "05-core-consent-react",
"title": "core-consent React subpath — ConsentProvider + useConsent()"
},
{ {
"epic": "dsr-consent-and-cookie-banner", "epic": "dsr-consent-and-cookie-banner",
"story": "06-core-dsr", "story": "06-core-dsr",
@@ -609,7 +604,6 @@
"story": "09-cookie-consent-banner", "story": "09-cookie-consent-banner",
"title": "CookieConsentBanner component in core-ui", "title": "CookieConsentBanner component in core-ui",
"waiting_on": [ "waiting_on": [
"dsr-consent-and-cookie-banner/05-core-consent-react",
"dsr-consent-and-cookie-banner/08-core-ui-scaffold" "dsr-consent-and-cookie-banner/08-core-ui-scaffold"
] ]
} }

View File

@@ -3,12 +3,12 @@ id: 05-core-consent-react
epic: dsr-consent-and-cookie-banner epic: dsr-consent-and-cookie-banner
title: core-consent React subpath — ConsentProvider + useConsent() title: core-consent React subpath — ConsentProvider + useConsent()
type: technical-story type: technical-story
status: todo status: done
feature: core-consent feature: core-consent
depends-on: [04-core-consent-implementation] depends-on: [04-core-consent-implementation]
blocks: [09-cookie-consent-banner] blocks: [09-cookie-consent-banner]
created: 2026-05-19T12:00:00Z created: 2026-05-19T12:00:00Z
updated: 2026-05-19T09:55:07.020Z updated: 2026-05-19T19:21:30.198Z
--- ---
## Goal ## Goal
@@ -43,4 +43,4 @@ The `<CookieConsentBanner>` component (Story 09) reads consent state and dispatc
## Tasks ## Tasks
- [ ] Add `<ConsentProvider>` + `useConsent()` hook in `packages/core-consent/src/react/` + barrel export + `"./react"` subpath in `package.json`; RTL tests asserting context propagation, method delegation, and missing-provider error; all gates pass. - [x] Add `<ConsentProvider>` + `useConsent()` hook in `packages/core-consent/src/react/` + barrel export + `"./react"` subpath in `package.json`; RTL tests asserting context propagation, method delegation, and missing-provider error; all gates pass.

View File

@@ -16,7 +16,7 @@ features:
auth, auth,
] ]
created: 2026-05-19T12:00:00Z created: 2026-05-19T12:00:00Z
updated: 2026-05-19T13:27:09.005Z updated: 2026-05-19T19:21:30.198Z
--- ---
## Goal ## Goal
@@ -33,7 +33,7 @@ Epic A delivered declarative PII inventory + retention + sub-processors. Epic B
- [x] [02 — Audit action enum amendment (ADR-018)](02-audit-enum-amendment/_story.md) - [x] [02 — Audit action enum amendment (ADR-018)](02-audit-enum-amendment/_story.md)
- [x] [03 — core-consent foundation: types + brand + withConsent + conformance + ESLint rule](03-core-consent-foundation/_story.md) - [x] [03 — core-consent foundation: types + brand + withConsent + conformance + ESLint rule](03-core-consent-foundation/_story.md)
- [x] [04 — core-consent implementation: Payload impl + DI + migration helpers + tRPC router](04-core-consent-implementation/_story.md) - [x] [04 — core-consent implementation: Payload impl + DI + migration helpers + tRPC router](04-core-consent-implementation/_story.md)
- [ ] [05 — core-consent React subpath: ConsentProvider + useConsent()](05-core-consent-react/_story.md) - [x] [05 — core-consent React subpath: ConsentProvider + useConsent()](05-core-consent-react/_story.md)
- [ ] [06 — core-dsr: scaffold + interfaces + Payload impls + handlers + dsrRouter](06-core-dsr/_story.md) - [ ] [06 — core-dsr: scaffold + interfaces + Payload impls + handlers + dsrRouter](06-core-dsr/_story.md)
- [ ] [07 — core-api router composition: dsrRouter + consentRouter into appRouter](07-core-api-router-composition/_story.md) - [ ] [07 — core-api router composition: dsrRouter + consentRouter into appRouter](07-core-api-router-composition/_story.md)
- [ ] [08 — core-ui scaffold](08-core-ui-scaffold/_story.md) - [ ] [08 — core-ui scaffold](08-core-ui-scaffold/_story.md)