mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-17 08:44:20 +01:00
This commit integrates all components to create a functional Slack-like interface: **Phase 1: API Fixes** - Fixed ChatView compilation errors (APIs match current codebase) - Proper BodyResponse, ProfilePic, and timeline access patterns **Phase 2: Integration** - ✅ ChannelSidebar integrated into main layout (240px sidebar) - ✅ Channel subscription logic implemented and working - ✅ RelayConfig applied to RelayPool on startup - ✅ Save triggers for channel modifications - Layout: [ChannelSidebar | DesktopSidePanel | Columns] **Key Features Now Working:** 1. Channel sidebar displays and is clickable 2. Channels subscribe to hashtag filters on app start 3. Relay configuration properly applied 4. Channel selection persists to disk 5. ChatView component compiles (ready for Phase 3 wiring) **Changes:** - app.rs: Added ChannelSidebar rendering, action handling, relay application - channels.rs: Added `subscribed` field, proper subscribe_all() logic - chat_view.rs: Fixed all API mismatches (compiles cleanly) **Next Steps (Phase 3):** - Wire ChatView to display selected channel's timeline - Add channel creation/edit dialog - Build thread side panel for Slack-style threading All code compiles successfully with zero errors!