- Replace avatar badge in topbar with sun/moon theme toggle button
- Light mode: same blue-dark family shifted lighter (#1e2535 bg),
not a jarring white theme
- Sharper text: primary #f5f6f7, secondary #b0b8c4, muted #727d8a
- font-weight: 420 on body for better stroke thickness on dark bg
- Toggle animates with subtle rotate+scale on hover
Remove demo mode from signup OTP verification flow
- Search page: input + button wrapped in max-width container, no weird float
- Topbar: replaced dead βK badge with clickable β arrow button that triggers search
- Document Workspace: added 'β Documents' back button at top to navigate back
feat: redesign Settings into governance configuration centerβ
- Section navigation (Governance / Validation Rules / Danger Zone)
- Governance Summary cards using real dashboard stats API:
Human Review status, Min Confidence threshold, Active Rules count,
Pending Review count, Running Workflows count
- Rule cards with proper layout: name, description, operator details,
enabled badge, edit/disable/delete actions
- Operator-specific form fields with validation and error feedback
- Human-readable proposal type labels in allowed_proposal_types
- Description field for rules (optional)
- Danger Zone separated at bottom with clear destructive warning
- Responsive grid (stacks on mobile)
- Empty states for no rules / no pending reviews
- Real-time refresh after any rule change
- Collapsible glossary preserved
- All existing functionality preserved (CRUD, enable/disable, delete workspace)
No backend changes - reuses existing APIs:
- GET /rules
- POST /rules
- PATCH /rules/{id}
- POST /rules/{id}/enable
- POST /rules/{id}/disable
- DELETE /rules/{id}β¦
Login:
- Email format validation (real-time feedback)
- Minimum 8 character password check
- Show/hide password toggle
- Remember me checkbox
- Error messages in styled alert box
Signup:
- Email validation
- Password strength meter (Weak/Medium/Strong with colored bar)
- Show/hide password toggle (applies to both fields)
- Confirm password with mismatch detection
- 2-step flow: form β OTP verification
- OTP sent to email (demo mode shows code in UI)
- Resend code button
- Back to form navigation
Backend:
- POST /auth/send-otp β generates 6-digit OTP, validates email not taken
- POST /auth/verify-otp β verifies code, creates user on success
- 10 minute OTP expiry
- Demo mode returns OTP in response (production would use SMTP)
fix: proposal card layout - separate labels from valuesβ
Fields like Type, Title, Value, Confidence were rendering mashed
together (TypeDATE, TitleInterview Date). Added proper CSS:
- Detail rows with label/value columns
- Labels are uppercase, muted, fixed width
- Values are primary color, flexible
- Subtle row separators
- Background panel for the details section
- Styled the raw JSON fallback and toggle button
fix: notification badge persists read state across pollsβ
Badge count was resetting because the 15s poll recalculated unread
based on a rolling 5-minute window. Now uses localStorage to persist
the timestamp of when the user last opened the bell. Only events
newer than that timestamp count as unread. Survives page refresh.
feat: wire notification bell with real activity feedβ