Pulse/frontend-modern/src/hooks
rcourtman 420e4960dc feat(ui): add learning status hook and enhance AI indicator visibility
New useLearningStatus hook:
- Polls /api/ai/intelligence/learning every 60 seconds
- Provides resourceCount(), metricCount(), learningState()
- Convenience accessors: isActive(), isLearning(), isWaiting()

Enhanced AIStatusIndicator:
- Now shows when ANY baselines exist (not just when Patrol enabled)
- Tooltip shows 'X resources baselined' for transparency
- Healthy state  45 resources baselined'shows '
- Works even without Pro license since baselines are FREE

This makes the AI presence visible from the moment Pulse starts
learning, providing immediate value feedback to all users.
2025-12-21 11:45:55 +00:00
..
__tests__ fix: Robust OCI container detection with state persistence 2025-12-12 20:06:39 +00:00
useAnomalies.ts feat(ui): add anomaly indicator components and hooks 2025-12-21 11:04:18 +00:00
useBreakpoint.ts feat: improve responsive table layout with tighter columns 2025-11-25 20:37:28 +00:00
useColumnVisibility.ts Redesign Ceph, Replication, and Mail Gateway pages for UI consistency 2025-12-13 00:08:29 +00:00
useDebouncedValue.ts refactor: remove legacy DISABLE_AUTH flag and enhance authentication UX 2025-10-27 19:46:51 +00:00
useLearningStatus.ts feat(ui): add learning status hook and enhance AI indicator visibility 2025-12-21 11:45:55 +00:00
usePersistentSignal.ts Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
useResources.ts fix: add null safety checks for resources() in useResourcesAsLegacy 2025-12-13 21:30:36 +00:00