Files
notedeck/crates/notedeck_chrome
Claude 46dd99be03 Fix unknown EOSE subscription ID warnings
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.
2025-11-12 14:27:13 +00:00
..
2025-08-26 17:10:38 -07:00
2025-10-02 12:33:36 -07:00
2025-04-21 13:31:47 -07:00
2025-07-17 14:52:26 -07:00

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