-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Follow-up tasks from PR #169
Tasks
- Add caching to
getObservabilityData()server action usingunstable_cacheto reduce database load when multiple admins view the dashboard - Use Next.js
<Image>component for user avatars in active sessions panel with proper domain allowlist for security - Add date range filters for activity trends (7/14/30 days toggle)
- Consider WebSocket support for real-time updates instead of polling (significant architecture change)
Context
From code review comments on PR #169:
For a high-traffic admin dashboard, consider adding caching to the server action using
unstable_cachewith 30 second revalidation to prevent hammering the database if multiple admins view the dashboard simultaneously.
If
session.userThumbcomes from user-controlled Tautulli data, it could potentially be a non-image URL. Validate image URLs or use Next.js<Image>component with proper domain allowlist.
Consider adding date range filters for activity trends (7/14/30 days)
Consider WebSocket support for real-time updates instead of polling
See PR #169 for full context.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request