mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-17 00:44:18 +01:00
This fix addresses the "got unknown eose subid" warnings that were appearing in the logs when EOSE (End Of Stored Events) messages arrived from relays. The issue was that when `TimelineSub::try_add_remote()` and `TimelineSub::try_add_remote_with_relay()` created new subscription IDs, they were not being tracked in the `Subscriptions.subs` HashMap. When EOSE messages arrived for these subscription IDs, the `handle_eose()` function couldn't find them in the HashMap, causing the "unknown eose subid" warnings. Changes: - Modified `try_add_remote()` and `try_add_remote_with_relay()` to accept `&mut Subscriptions` and `&TimelineKind` parameters - Added subscription tracking by inserting subscription IDs with `SubKind::Timeline(timeline_kind)` into the Subscriptions HashMap - Updated all call sites throughout the codebase to pass the required parameters, including: - TimelineCache::open() - DecksCache::add_deck_default() - DecksCache::new_with_demo_config() - is_timeline_ready() - execute_note_action() - execute_and_process_note_action() - add_demo_columns() - demo_decks() This ensures all subscription IDs are properly tracked, eliminating the unknown EOSE warnings and allowing proper handling of EOSE messages.
Notedeck Chrome
Notedeck Chrome is the UI framework and container for the Notedeck Nostr browser. It manages multiple applications within a single cohesive interface, providing a consistent navigation experience through a persistent sidebar.
Overview
Notedeck Chrome acts as the container for various applications within the Notedeck ecosystem, primarily:
- Columns - The main Nostr columns interface for viewing timelines and interactions
- Dave - An ai assistant
- Other - Anything else tbd
The Chrome component provides:
- A consistent, unified sidebar for navigation between applications
- Theme management (light/dark mode support)
- Profile picture and account management
- Settings access
- Wallet integration
Features
- Application Switching: Switch between Damus columns view and Dave seamlessly
- Theme Support: Toggle between light and dark modes
- Profile Management: Quick access to account settings
- Responsive Design: Compatible with desktop and mobile interfaces
- Android Support: Native support for Android devices
Future:
- Signer: Apps will be sandboxed from the users key
Development Status
Notedeck is currently in ALPHA. Expect bugs and please report any issues you encounter.
Building from Source
For build instructions, see the DEVELOPER.md file.
License
Licensed under GPLv3 - see the Cargo.toml file for details.
Authors
- William Casarin jb55@jb55.com
- kernelkind kernelkind@gmail.com