In-App Notification Logic Verification & FEEDBACK_RESOLVED Propagation Fix

Date
ImpactMedium

Decisions

D1: FEEDBACK_RESOLVED type 3-tier synchronization

  • Context: In Sprint 64, FEEDBACK_RESOLVED was added to the Identity entity but was not propagated to Gateway enum and Frontend type/icon, causing feedback resolution notifications to appear with type mismatch and only the default Bell icon.
  • Choice: Apply updates across Gateway enum, Frontend Notification type union, NotificationBell TYPE_ICON/TYPE_ROUTE, and NotificationToast TYPE_ICON
  • Alternatives: None
  • Code Paths: services/gateway/src/common/types/identity.types.ts, frontend/src/lib/api.ts, frontend/src/components/layout/NotificationBell.tsx, frontend/src/components/ui/NotificationToast.tsx

Patterns

P1: Propagation checklist when adding NotificationType enum

  • Where: Identity entity → Gateway types → Frontend api.ts → NotificationBell (TYPE_ICON, TYPE_ROUTE) → NotificationToast (TYPE_ICON)
  • When to Reuse: All 5 files must be updated whenever a new notification type is added

Metrics

  • Commits: 1, Files changed: 7