vault backup: 2026-05-06 09:59:22

This commit is contained in:
Vadym Samoilenko 2026-05-06 09:59:22 +01:00
parent 197e2e1f5b
commit c262d708e2
2 changed files with 22 additions and 1 deletions

View file

@ -10,7 +10,7 @@ server: optical-dev
tags: [oliver, video, accessibility, ai, captions, audio-description, tts, celery, mongodb]
created: 2026-04-14
last_commit: 2026-05-06
commits: 365
commits: 366
port: 8000
db: MongoDB Atlas
service: docker-compose
@ -119,6 +119,18 @@ Key env vars (see `.env.prod.example` for complete list):
- RBAC enforced server-side; all reviewer actions emit audit log entries
## Sessions
### 2026-05-06 Fixed TypeScript type errors in ShareView
**Asked:** Fixed TypeScript type errors in ShareView decision state comparisons | Added 'submitting' state to type union and fixed conditional rendering logic | .claude/settings.local.json, frontend/src/routes/ShareView.tsx
**Done:** Fixed TypeScript type errors in ShareView decision state comparisons | Added 'submitting' state to type union and fixed conditional rendering logic | .claude/settings.local.json, frontend/src/routes/ShareView.tsx
### 2026-05-06 Fix TypeScript type error in ShareView.tsx
**Asked:** Fix TypeScript type error in ShareView.tsx where decisionState comparison with 'submitting' has no overlap with 'error' | 'idle' type.
**Done:** Added 'submitting' to conditional logic and corrected operator precedence with parentheses on line 206.
### 2026-05-06 Fix TypeScript type narrowing errors in
**Asked:** Fix TypeScript type narrowing errors in ShareView.tsx where 'submitting' state is unreachable due to operator precedence.
**Done:** Added 'submitting' state to the conditional logic at line 206 to properly include all decision states in type narrowing.
### 2026-05-06 Fix security validation error when changing
**Asked:** Fix security validation error when changing user role and update role-based access control.
**Done:** Updated role permissions to grant My QC Queue and Help section access, fixed defaultRoleKey mapping in Help.tsx.

View file

@ -11,3 +11,12 @@ tags: [daily]
- 09:52 | `video-accessibility`
- **Asked:** Fix security validation error when changing user role and update role-based access control.
- **Done:** Updated role permissions to grant My QC Queue and Help section access, fixed defaultRoleKey mapping in Help.tsx.
- 09:57 (<1min) | `video-accessibility`
- **Asked:** Fix TypeScript type narrowing errors in ShareView.tsx where 'submitting' state is unreachable due to operator precedence.
- **Done:** Added 'submitting' state to the conditional logic at line 206 to properly include all decision states in type narrowing.
- 09:57 | `video-accessibility`
- **Asked:** Fix TypeScript type error in ShareView.tsx where decisionState comparison with 'submitting' has no overlap with 'error' | 'idle' type.
- **Done:** Added 'submitting' to conditional logic and corrected operator precedence with parentheses on line 206.
- 09:58 | `video-accessibility`
- **Asked:** Fixed TypeScript type errors in ShareView decision state comparisons | Added 'submitting' state to type union and fixed conditional rendering logic | .claude/settings.local.json, frontend/src/routes/ShareView.tsx
- **Done:** Fixed TypeScript type errors in ShareView decision state comparisons | Added 'submitting' state to type union and fixed conditional rendering logic | .claude/settings.local.json, frontend/src/routes/ShareView.tsx