localgreenchain/components
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
..
analytics Add UI components for transport tracking, demand visualization, and analytics 2025-11-22 18:34:51 +00:00
demand Add UI components for transport tracking, demand visualization, and analytics 2025-11-22 18:34:51 +00:00
realtime Add real-time updates system with Socket.io 2025-11-23 03:51:51 +00:00
transport Add UI components for transport tracking, demand visualization, and analytics 2025-11-22 18:34:51 +00:00
vertical-farm Add vertical farming UI components and pages 2025-11-22 18:35:57 +00:00
EnvironmentalDisplay.tsx Add environmental tracking UI components and integrations 2025-11-16 16:58:53 +00:00
EnvironmentalForm.tsx Add environmental tracking UI components and integrations 2025-11-16 16:58:53 +00:00
footer.tsx Initial commit 2023-08-09 21:34:23 +00:00
form-item.tsx Initial commit 2023-08-09 21:34:23 +00:00
formatted-text.tsx Initial commit 2023-08-09 21:34:23 +00:00
layout.tsx Initial commit 2023-08-09 21:34:23 +00:00
link.tsx Initial commit 2023-08-09 21:34:23 +00:00
links.tsx Initial commit 2023-08-09 21:34:23 +00:00
locale-switcher.tsx Initial commit 2023-08-09 21:34:23 +00:00
media--image.tsx Initial commit 2023-08-09 21:34:23 +00:00
media.tsx Initial commit 2023-08-09 21:34:23 +00:00
meta.tsx Initial commit 2023-08-09 21:34:23 +00:00
navbar.tsx Initial commit 2023-08-09 21:34:23 +00:00
node--article.tsx Initial commit 2023-08-09 21:34:23 +00:00
node--landing-page.tsx Initial commit 2023-08-09 21:34:23 +00:00
node--page.tsx Initial commit 2023-08-09 21:34:23 +00:00
node--property.tsx Initial commit 2023-08-09 21:34:23 +00:00
node.tsx Initial commit 2023-08-09 21:34:23 +00:00
pager.tsx Initial commit 2023-08-09 21:34:23 +00:00
paragraph--cards.tsx Initial commit 2023-08-09 21:34:23 +00:00
paragraph--faq.tsx Initial commit 2023-08-09 21:34:23 +00:00
paragraph--feature.tsx Initial commit 2023-08-09 21:34:23 +00:00
paragraph--hero.tsx Initial commit 2023-08-09 21:34:23 +00:00
paragraph--view.tsx Initial commit 2023-08-09 21:34:23 +00:00
paragraph.tsx Initial commit 2023-08-09 21:34:23 +00:00
PrivacySettings.tsx Add Tor integration and privacy features for anonymous plant sharing 2025-11-16 12:32:59 +00:00
section-header.tsx Initial commit 2023-08-09 21:34:23 +00:00
section.tsx Initial commit 2023-08-09 21:34:23 +00:00
view--properties_listing.tsx Initial commit 2023-08-09 21:34:23 +00:00