Severity: P2 - LOW (Cosmetic)
Component: UI - Notification System
Pages: My Applications, possibly others
Issue
Error messages displayed twice in notification toasts simultaneously.
Example: "Failed to create session" shown twice
Impact
- Poor UX
- Visual clutter
- Users see redundant error messages
Root Cause
Likely one of:
- Error handler called twice (component + global handler)
- Notification triggered in both API interceptor and component
- Error bubbling through multiple layers
Files to Check
ui/src/api/client.ts - Axios interceptors
ui/src/hooks/useNotification.ts - Notification hook
ui/src/pages/user/MyApplications.tsx - Component error handling
Fix Required
// BEFORE (likely causing duplicates):
try {
await api.post('/sessions', data)
} catch (error) {
showNotification(error.message, 'error') // Called here
// AND also called in axios interceptor
}
// AFTER (only show once):
try {
await api.post('/sessions', data)
} catch (error) {
// Error already shown by axios interceptor
// OR show here but disable interceptor notification
}
Fix Strategy
- Decide: Show errors in components OR in global interceptor, not both
- Add flag to prevent duplicate notifications
- Use notification deduplication (track recent messages)
Testing
Effort: 1-2 hours
Priority: Can defer to v2.1
Source: .claude/reports/UI_BUG_FIXES_REQUIRED.md
Severity: P2 - LOW (Cosmetic)
Component: UI - Notification System
Pages: My Applications, possibly others
Issue
Error messages displayed twice in notification toasts simultaneously.
Example: "Failed to create session" shown twice
Impact
Root Cause
Likely one of:
Files to Check
ui/src/api/client.ts- Axios interceptorsui/src/hooks/useNotification.ts- Notification hookui/src/pages/user/MyApplications.tsx- Component error handlingFix Required
Fix Strategy
Testing
Effort: 1-2 hours
Priority: Can defer to v2.1
Source:
.claude/reports/UI_BUG_FIXES_REQUIRED.md