feat: Add Storybook configuration and motion tokens implementation
- Introduced Storybook configuration files (`main.ts`, `preview.ts`, `tsconfig.json`) for Angular components. - Created motion tokens in `motion-tokens.ts` to define durations, easing functions, and transforms. - Developed a Storybook story for motion tokens showcasing their usage and reduced motion fallback. - Added SCSS variables for motion durations, easing, and transforms in `_motion.scss`. - Implemented accessibility smoke tests using Playwright and Axe for automated accessibility checks. - Created portable and sealed bundle structures with corresponding JSON files for evidence locker. - Added shell script for verifying notify kit determinism.
This commit is contained in:
9
docs/notifications/fixtures/redaction/sample.json
Normal file
9
docs/notifications/fixtures/redaction/sample.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"tenant_id": "tenant-123",
|
||||
"delivery_id": "00000000-0000-4000-8000-000000000001",
|
||||
"channel": "email",
|
||||
"subject": "User signup",
|
||||
"body": "User john@example.com joined",
|
||||
"redacted_body": "User ***@example.com joined",
|
||||
"pii_hash": "TBD"
|
||||
}
|
||||
1
docs/notifications/fixtures/rendering/index.ndjson
Normal file
1
docs/notifications/fixtures/rendering/index.ndjson
Normal file
@@ -0,0 +1 @@
|
||||
{"template_id":"tmpl-incident-start","locale":"en-US","channel":"email","expected_hash":"TBD","body_sample_path":"tmpl-incident-start.email.en-US.json"}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"subject": "Incident started: ${incident_id}",
|
||||
"body": "Incident ${incident_id} started at ${started_at}. Severity: ${severity}.",
|
||||
"merge_fields": ["incident_id", "started_at", "severity"],
|
||||
"preview_hash": "TBD"
|
||||
}
|
||||
10
docs/notifications/fixtures/traces/sample-trace.json
Normal file
10
docs/notifications/fixtures/traces/sample-trace.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"trace_id": "00000000000000000000000000000001",
|
||||
"tenant_id": "tenant-123",
|
||||
"rule_id": "RULE-INCIDENT",
|
||||
"channel_id": "email-default",
|
||||
"attributes": {
|
||||
"delivery_id": "00000000-0000-4000-8000-000000000001",
|
||||
"status": "sent"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user