Commit Graph
84 Commits
Author SHA1 Message Date
thePR0M3TH3AN 06c7cf912a Add subscription toggle helper 2026-01-18 19:40:58 -05:00
thePR0M3TH3AN 52d2488d17 Refactor nostr signer access 2026-01-18 09:15:18 -05:00
google-labs-jules[bot] 3deb8d08f0 Implement profile-scoped caching and signer invalidation logic
- Updated `profileCache.js` to support clearing runtime memory on signer change.
- Updated `NostrClient` to trigger `clearSignerRuntime` on `setActiveSigner`.
- Updated list services (`subscriptions`, `userBlocks`, `hashtagPreferences`, `watchHistory`) to listen for `runtimeCleared` and reload data.
- Updated `NostrClient` sync metadata methods to default to the active profile pubkey.
- Added `partition-updated` event emission to `profileCache`.
2026-01-17 21:43:35 +00:00
google-labs-jules[bot] 9d06f43321 feat: implement incremental fetching for Nostr lists
Implements a `SyncMetadataStore` to persist last-seen timestamps for replaceable lists (Kind 10000, 30000, 30002, 30015).
Adds `fetchListIncrementally` helper to `NostrClient` which performs per-relay `since` queries.
Updates `SubscriptionsManager`, `UserBlockListManager`, `HashtagPreferencesService`, and `adminListStore` to utilize incremental fetching.
Prevents local cache wipes when incremental fetches return empty results (indicating "no updates").
2026-01-17 21:11:48 +00:00
google-labs-jules[bot] 926e6ebf39 Refactor user-specific lists to use centralized profileCache 2026-01-17 20:47:27 +00:00
google-labs-jules[bot] 86ffb8cb2a Define centralized cache policies and wire them into fetchers 2026-01-17 19:12:09 +00:00
google-labs-jules[bot] 1d8ab920ce Fix inconsistent subscriptions loading with persistent caching
Implements a stale-while-revalidate strategy for the SubscriptionsManager.
- Loads subscriptions from localStorage immediately to show UI state.
- Fetches fresh data from relays in the background.
- Preserves cached data if relays fail or return empty results (preventing "No subscriptions found" errors).
- Updates cache optimistically on subscribe/unsubscribe actions.
2026-01-16 16:18:02 +00:00
google-labs-jules[bot] fa23ffb53c fix(subscriptions): prevent spinner loop on background refresh 2026-01-12 13:52:14 +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] b07332395b Fix subscription feed hydration and infinite loading state 2026-01-08 19:24:10 +00:00
google-labs-jules[bot] 95ef008c58 Lazy-initialize signer from extension on demand 2026-01-07 19:51:48 +00:00
google-labs-jules[bot] 9d365bf65e Fix profile watch history and subscription lists syncing issues. 2026-01-07 18:44:43 +00:00
thePR0M3TH3AN cc49f41356 Remove legacy subscription kind handling 2026-01-06 16:03:38 -05:00
thePR0M3TH3AN fbc352e460 Fix fallback thumbnail asset paths 2025-11-03 19:15:44 -05:00
thePR0M3TH3AN 7db78b07f2 Restore legacy subscription list compatibility 2025-11-03 09:42:17 -05:00
thePR0M3TH3AN e496376236 Align subscription lists with NIP-51 follow set kind 2025-10-31 08:33:39 -04:00
thePR0M3TH3AN 2fae0a0e7c Update subscription and block lists to encrypted tag arrays 2025-10-30 15:51:21 -04:00
thePR0M3TH3AN bd40bd1997 Prefer nip44.v2 for private lists and update tests 2025-10-30 10:20:08 -04:00
thePR0M3TH3AN 0944ecf32a Fix owner checks by reusing selected video details 2025-10-26 19:48:38 -04:00
thePR0M3TH3AN 078c8788b3 Add ensureLoaded helper for subscriptions and align error UX 2025-10-26 14:16:51 -04:00
thePR0M3TH3AN 91404af8ad Make moderation thresholds resolve at runtime 2025-10-26 10:19:34 -04:00
thePR0M3TH3AN ba6b56dc26 Switch moderation hide flows to block 2025-10-25 21:54:31 -04:00
thePR0M3TH3AN 7d3a4fbd49 Wire moderation handlers for subscriptions list 2025-10-25 20:29:33 -04:00
thePR0M3TH3AN ad01cf852f Propagate tag preferences through feed runtimes 2025-10-25 17:38:31 -04:00
thePR0M3TH3AN 876020b90f Add popular tag strip support to recent videos 2025-10-23 15:13:05 -04:00
thePR0M3TH3AN 9ed0fae127 refactor: route nostr imports through facades 2025-10-22 22:40:17 -04:00
thePR0M3TH3AN 5536180682 refactor: centralize nostr client bootstrap 2025-10-22 21:09:18 -04:00
thePR0M3TH3AN 75ea73b178 Refactor Nostr client imports 2025-10-22 20:55:54 -04:00
thePR0M3TH3AN bc14817967 Refactor Nostr helper imports for view metrics 2025-10-22 19:24:54 -04:00
thePR0M3TH3AN 5e634e0d87 Refactor view event helpers into dedicated module 2025-10-22 15:30:43 -04:00
thePR0M3TH3AN 23482808b6 refactor: extract nostr toolkit helpers 2025-10-22 10:42:49 -04:00
thePR0M3TH3AN 36f5f8960a Allow direct signers to load and publish subscriptions offline 2025-10-21 21:43:04 -04:00
thePR0M3TH3AN cf65ace78e Add direct key auth flow with encrypted key storage 2025-10-21 15:43:53 -04:00
thePR0M3TH3AN 578d2ddde4 Refactor Nostr signer integration 2025-10-21 15:13:48 -04:00
thePR0M3TH3AN b331392a7e Improve subscription relay coverage 2025-10-20 23:03:44 -04:00
thePR0M3TH3AN d7405883d2 Ensure subscription publishing targets configured write relays 2025-10-20 22:59:29 -04:00
thePR0M3TH3AN c48a138785 Handle nip44.v2 subscription lists 2025-10-20 21:56:30 -04:00
thePR0M3TH3AN d7d12c3b74 Support nip44 subscription list decryption 2025-10-20 21:56:18 -04:00
thePR0M3TH3AN 2322b19a3f Improve subscriptions empty state rendering 2025-10-20 21:39:08 -04:00
thePR0M3TH3AN c1d8a8b9dc Normalize subscription authors to fix empty feed 2025-10-20 21:15:47 -04:00
thePR0M3TH3AN e49483d34d Optimize subscription feed retrieval and rendering 2025-10-20 21:04:52 -04:00
thePR0M3TH3AN 34ef65db7b Gate subscriptions feed on nostr warmup 2025-10-18 22:37:10 -04:00
thePR0M3TH3AN b29e196a5c Parallelize subscription relay fetches 2025-10-18 21:41:21 -04:00
thePR0M3TH3AN 8824eee942 Sync moderation summaries after user block changes 2025-10-17 22:49:58 -04:00
thePR0M3TH3AN 1d48358922 Refactor more menu controller to use popover engine 2025-10-16 11:07:23 -04:00
thePR0M3TH3AN deffbf7670 Ensure NIP-07 permissions are granted before signing and encrypting 2025-10-15 22:36:57 -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 19d971b49d refactor: adopt tokenized color utilities 2025-10-11 12:59:37 -04:00