localgreenchain/pages
Claude 7098335ce7
Add real-time updates system with Socket.io
Implement Agent 6: Real-Time Updates feature for LocalGreenChain:

- Add Socket.io server with room-based subscriptions
- Create client-side hooks (useSocket, useLiveFeed, usePlantUpdates)
- Add SocketProvider context for application-wide state
- Implement UI components:
  - ConnectionStatus: Shows WebSocket connection state
  - LiveFeed: Real-time event feed display
  - NotificationToast: Toast notifications with auto-dismiss
  - LiveChart: Real-time data visualization
- Add event type definitions and formatting utilities
- Create socket API endpoint for WebSocket initialization
- Add socket stats endpoint for monitoring
- Extend tailwind with fadeIn/slideIn animations

Integrates with existing EventStream SSE system for fallback.
2025-11-23 03:51:51 +00:00
..
api Add real-time updates system with Socket.io 2025-11-23 03:51:51 +00:00
blog/page Initial commit 2023-08-09 21:34:23 +00:00
plants Add environmental tracking UI components and integrations 2025-11-16 16:58:53 +00:00
vertical-farm Add vertical farming UI components and pages 2025-11-22 18:35:57 +00:00
[[...slug]].tsx Initial commit 2023-08-09 21:34:23 +00:00
_app.tsx Initial commit 2023-08-09 21:34:23 +00:00
_document.tsx Initial commit 2023-08-09 21:34:23 +00:00
index.tsx Implement LocalGreenChain: Plant Cloning Blockchain System 2025-11-16 05:11:55 +00:00
transparency.tsx Add comprehensive transparency system for LocalGreenChain 2025-11-23 03:29:56 +00:00