Commit Graph
45 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN cfbbf78941 chore(ai): add automated PR review report
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-28 23:49:33 +00:00
thePR0M3TH3AN 7c47208255 Adjust NIP-07 permissions for decrypt flows 2026-01-28 14:47:06 -05:00
google-labs-jules[bot]andPR0M3TH3AN 63d4b3ffd1 feat(dm): implement incremental delivery for direct messages
- Added `onMessage` callback to `NostrClient.listDirectMessages` to stream decrypted messages.
- Updated `NostrService.loadDirectMessages` to use the callback and trigger `applyDirectMessage` incrementally.
- Updated `ProfileModalController` to allow rendering updates during the initial load if the reason is `load-incremental`.
- Verified changes with existing tests and code review.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-28 00:11:32 +00:00
google-labs-jules[bot] 603b0b1a69 test(ai): add unit tests for NostrClient and NostrService (agent) 2026-01-26 14:09:53 +00:00
google-labs-jules[bot] ad3375ed09 fix: ensure access control lists are loaded before playback
Introduced `waitForReady` in `AccessControl` to block until moderation lists are fetched, and updated `playVideoByEventId` and `trustBootstrap` to use it, preventing false "not whitelisted" errors in private tabs.
2026-01-23 04:39:18 +00:00
thePR0M3TH3AN 225c6a1674 Add unread DM badge to profile button 2026-01-19 14:57:10 -05:00
thePR0M3TH3AN 1fbfee5915 Add DM decrypt limits and caches 2026-01-19 13:51:48 -05:00
thePR0M3TH3AN 9ea9fe2f08 Add DM attachment upload and preview flow 2026-01-19 12:51:34 -05:00
thePR0M3TH3AN 51b550adaa Improve DM relay selection fallback handling 2026-01-19 10:31:13 -05:00
thePR0M3TH3AN 4cc51d7a79 Add NIP-44 verification to DM decrypt worker 2026-01-19 09:40:51 -05:00
thePR0M3TH3AN ab286d2bb3 Add DM notification manager for seen state 2026-01-19 08:59:41 -05:00
thePR0M3TH3AN b05e898391 Add worker DM decrypt and persistence 2026-01-19 08:49:58 -05:00
google-labs-jules[bot] d4779a0825 feat: optimistic persistent filtered-videos cache (localStorage) for faster initial grid render
- Adds `STORAGE_KEY_FILTERED_VIDEOS` and `MAX_PERSISTED_VIDEOS` constants.
- Implements `loadPersistedFilteredVideos` and `persistFilteredVideos` helper methods.
- Updates `loadVideos` to load persistent videos optimistically and emit "persistent-cache" updates.
- Ensures all persistent data is strictly re-filtered (blocked authors, NSFW, access control) before use.
- Skips emitting empty in-memory cache updates if optimistic data is available to prevent UI flashing.
- Persists fresh filtered results in `applyAndNotify` to keep cache up-to-date.
- Adds comprehensive verification script logic (tested via `scripts/verify-optimistic-cache.mjs` before cleanup).
2026-01-18 04:31:43 +00:00
google-labs-jules[bot] 1c7daff733 Update Event Details Modal to use hydrateVideoHistory and improved layout 2026-01-14 19:54:38 +00:00
google-labs-jules[bot] 4b5a46c5bd Add Event Details modal to video card menu 2026-01-14 19:29:32 +00:00
google-labs-jules[bot] 14d7423e29 Remove blocking access control checks to fix slow initial video loading 2026-01-13 14:25:22 +00:00
google-labs-jules[bot] 8a61acb09c Add debug logging to trace subscription loading hang 2026-01-12 00:10:04 +00:00
google-labs-jules[bot] fdf8815792 Fix subscriptions loading hang by removing undefined constant and cleaning up debug logs 2026-01-11 23:42:16 +00:00
google-labs-jules[bot] e63ca6eee3 Fix infinite spinner in Subscriptions tab by correcting method context in NostrService and improving error resilience. 2026-01-11 22:13:36 +00:00
google-labs-jules[bot] b07332395b Fix subscription feed hydration and infinite loading state 2026-01-08 19:24:10 +00:00
thePR0M3TH3AN 3996986e63 Remove nostr shim and retarget imports 2026-01-06 15:32:21 -05:00
thePR0M3TH3AN ff07ed8e01 Add paging and limits to nostr video subscription 2026-01-02 14:11:41 -05:00
thePR0M3TH3AN e777b40065 Add cached DM snapshot storage and hydration 2025-10-26 20:23:28 -04:00
thePR0M3TH3AN 9a75dd1bde Ensure authors always see their own videos 2025-10-26 19:38:09 -04:00
thePR0M3TH3AN a534e20c10 Add DM decryptor and service integrations 2025-10-26 19:07:30 -04:00
thePR0M3TH3AN 75ea73b178 Refactor Nostr client imports 2025-10-22 20:55:54 -04:00
thePR0M3TH3AN e49483d34d Optimize subscription feed retrieval and rendering 2025-10-20 21:04:52 -04:00
thePR0M3TH3AN e226446e8f Add structured delete summaries and relay failure reporting 2025-10-20 11:21:45 -04:00
thePR0M3TH3AN 9de3be34bc Add tombstone guards to nostr video cache 2025-10-20 10:25:50 -04:00
thePR0M3TH3AN 0a8f3a7b05 Add delete modal for full video removal 2025-10-19 22:26:12 -04:00
thePR0M3TH3AN 34ef65db7b Gate subscriptions feed on nostr warmup 2025-10-18 22:37:10 -04:00
thePR0M3TH3AN bf908c3b05 Optimize subscription author lookup 2025-10-18 21:46:27 -04:00
thePR0M3TH3AN 19957d398f Improve zap popover toggling and logout handling 2025-10-18 14:51:51 -04:00
thePR0M3TH3AN 071a8a3671 Add moderation service and reporting flow 2025-10-17 15:33:09 -04:00
thePR0M3TH3AN 0a2a2c4e78 Fix syntax errors blocking app bootstrap 2025-10-15 15:08:55 -04:00
thePR0M3TH3AN 7ae07b1369 refactor: migrate console usage to shared loggers 2025-10-15 14:37:25 -04:00
thePR0M3TH3AN d705cf176b Revert "Refactor logging to centralized logger" 2025-10-15 11:14:10 -04:00
thePR0M3TH3AN 37ba57aa37 Refactor logging to centralized logger 2025-10-15 11:11:14 -04:00
thePR0M3TH3AN 85258e27ea Respect NSFW flag while letting authors review their uploads 2025-10-09 22:58:07 -04:00
thePR0M3TH3AN 0434401596 Show original posted timestamp for videos 2025-10-08 21:21:44 -04:00
thePR0M3TH3AN 04865ffdc5 Add NIP-71 metadata wiring and caching 2025-10-08 14:47:26 -04:00
thePR0M3TH3AN d53ce6742a Hide private videos from non-owners 2025-10-08 09:41:38 -04:00
thePR0M3TH3AN 62fe113bf4 Add NIP-71 video builder and dual publish workflow 2025-10-04 21:14:41 -04:00
thePR0M3TH3AN 9041f9c0b7 feat: pass nip71 metadata through publish pipeline 2025-10-04 18:49:43 -04:00
thePR0M3TH3AN 61815ba289 Add nostr service layer for video operations 2025-10-03 13:41:44 -04:00