chore(work): finish 05-core-consent-react
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"updated_at": "2026-05-19T13:27:09.259Z",
|
||||
"updated_at": "2026-05-19T19:21:30.369Z",
|
||||
"epics": {
|
||||
"binder-wrap-helper": {
|
||||
"status": "done",
|
||||
@@ -284,10 +284,10 @@
|
||||
"blocks": []
|
||||
},
|
||||
"05-core-consent-react": {
|
||||
"status": "todo",
|
||||
"status": "done",
|
||||
"title": "core-consent React subpath — ConsentProvider + useConsent()",
|
||||
"ac_total": 1,
|
||||
"ac_completed": 0,
|
||||
"ac_completed": 1,
|
||||
"depends_on": [
|
||||
"04-core-consent-implementation"
|
||||
],
|
||||
@@ -569,11 +569,6 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"story": "06-core-dsr",
|
||||
@@ -609,7 +604,6 @@
|
||||
"story": "09-cookie-consent-banner",
|
||||
"title": "CookieConsentBanner component in core-ui",
|
||||
"waiting_on": [
|
||||
"dsr-consent-and-cookie-banner/05-core-consent-react",
|
||||
"dsr-consent-and-cookie-banner/08-core-ui-scaffold"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,12 +3,12 @@ id: 05-core-consent-react
|
||||
epic: dsr-consent-and-cookie-banner
|
||||
title: core-consent React subpath — ConsentProvider + useConsent()
|
||||
type: technical-story
|
||||
status: todo
|
||||
status: done
|
||||
feature: core-consent
|
||||
depends-on: [04-core-consent-implementation]
|
||||
blocks: [09-cookie-consent-banner]
|
||||
created: 2026-05-19T12:00:00Z
|
||||
updated: 2026-05-19T09:55:07.020Z
|
||||
updated: 2026-05-19T19:21:30.198Z
|
||||
---
|
||||
|
||||
## Goal
|
||||
@@ -43,4 +43,4 @@ The `<CookieConsentBanner>` component (Story 09) reads consent state and dispatc
|
||||
|
||||
## 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.
|
||||
|
||||
@@ -16,7 +16,7 @@ features:
|
||||
auth,
|
||||
]
|
||||
created: 2026-05-19T12:00:00Z
|
||||
updated: 2026-05-19T13:27:09.005Z
|
||||
updated: 2026-05-19T19:21:30.198Z
|
||||
---
|
||||
|
||||
## 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] [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)
|
||||
- [ ] [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)
|
||||
- [ ] [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)
|
||||
|
||||
Reference in New Issue
Block a user