Commit graph

15 commits

Author SHA1 Message Date
d1ac7da1a6 refactor for better message handling 2025-02-16 11:00:41 +01:00
5eb46e96c3 refactor: improve nostr connection and message handling
- Add WebSocket manager class for better connection handling
- Split message handling into separate store
- Add encryption service class
- Create chat composable for reusable chat logic
- Add error handling service
- Add connection status indicators throughout app
- Add message persistence service
- Improve subscription reliability with EOSE handling
- Add connection state management
- Hide status text on mobile for better space usage

These changes improve code organization, reliability, and user experience by:
- Better separation of concerns
- More robust error handling
- Clearer connection status feedback
- Improved message persistence
- More maintainable WebSocket management
- Better mobile responsiveness

Breaking changes:
- Message handling moved to separate store
- WebSocket connections now managed through NostrWebSocketManager
- Encryption now handled through NostrEncryption service
2025-02-16 11:00:41 +01:00
d27f66e95d updates 2025-02-16 11:00:41 +01:00
d694f9b645 lots of login dialog and nostr subsription relate updates 2025-02-16 11:00:41 +01:00
8b3f1aa14b improve subscribe to messages 2025-02-16 11:00:41 +01:00
6283c76861 fix tailwind colors; gradients work now! 2025-02-16 11:00:41 +01:00
f3eb1622eb improve UI 2025-02-16 11:00:41 +01:00
b32c609a3b fix z-index of mobile menu bar relative to directory search/filter; improve ui 2025-02-16 11:00:41 +01:00
3aa8050b3f implement logout dialog, fix unused imports 2025-02-16 11:00:41 +01:00
231658b980 big milestone 2!!! 2025-02-16 11:00:41 +01:00
ac906ca6c9 big milestone! 2025-02-16 11:00:41 +01:00
02e699aad5 add quick town selection and category selection from homescreen with localstorage! 2025-02-11 01:41:12 +01:00
73f5683fbc add tuktuk category (taxis will be for driving to the airport, etc) 2025-02-11 00:54:22 +01:00
1134671d7d not sure the importance of this 2025-02-11 00:33:02 +01:00
f3927b97a4 PWA 2025-02-11 00:25:47 +01:00