google-labs-jules[bot]
b79a8eb0d0
Refactor watch history to use monthly payload schema
...
* Redefine `parseWatchHistoryPayload` to support `month`, `events` (IDs), and `watchedAt` map.
* Update `mergeWatchHistoryItemsWithFallback` to merge new monthly fields with fallback items.
* Update `buildWatchHistoryPayload` to produce payloads with `events` instead of `items`.
* Update `WatchHistoryManager` to remove legacy chunk index handling.
* Ensure backward compatibility for legacy chunk payloads.
2026-01-04 22:15:27 +00:00
google-labs-jules[bot]
595d4cbe07
Refactor watch history to use single monthly event
...
Replaces the legacy chunked storage architecture with a single encrypted event per month.
- Renames `buildWatchHistoryChunkEvent` to `buildWatchHistoryEvent`.
- Updates `WatchHistoryManager` to publish and fetch single events, maintaining read compatibility for legacy chunks.
- Simplifies payload construction and removes chunk indexing logic.
- Updates tests to verify single-event publishing and legacy fallback.
2026-01-04 22:03:34 +00:00
google-labs-jules[bot]
34b835d4e1
Refactor watch history to use single monthly payload event
...
Replaces the chunked watch history implementation with a single monthly payload.
This simplifies the event structure and removes chunking logic while maintaining backward compatibility for reading legacy chunked events.
Updates `parseWatchHistoryPayload`, `buildWatchHistoryPayload`, `publishSnapshot` and `fetch` in `js/nostr/watchHistory.js`.
Updates tests to reflect the new single-event behavior.
2026-01-04 21:19:41 +00:00
thePR0M3TH3AN
ba666bdaba
Refactor watch history payload building
2026-01-03 13:57:46 -05:00
thePR0M3TH3AN
9b12cbcb6f
Switch watch history schemas to month identifiers
2026-01-03 13:42:28 -05:00
thePR0M3TH3AN
006f561302
Simplify watch history messaging
2026-01-03 09:40:15 -05:00
thePR0M3TH3AN
6d719b7b6d
Remove watch history metadata caching controls
2026-01-03 09:33:43 -05:00
thePR0M3TH3AN
e9ce494ccd
Remove watch history metadata caching
2026-01-03 09:11:26 -05:00
thePR0M3TH3AN
db27c7f56a
Refactor nostr event cache persistence
2026-01-02 15:33:51 -05:00
thePR0M3TH3AN
ff07ed8e01
Add paging and limits to nostr video subscription
2026-01-02 14:11:41 -05:00
thePR0M3TH3AN
62c0c344e0
Reload modal comments on logout
2026-01-02 13:10:05 -05:00
thePR0M3TH3AN
34789d4752
Reset moderation settings on logout
2026-01-02 12:50:18 -05:00
thePR0M3TH3AN
40e8f436e6
Avoid trusted seed retry blocking app startup
2026-01-02 12:26:53 -05:00
thePR0M3TH3AN
9310929f0d
Ensure trusted seeds hydrate before app creation
2026-01-02 12:18:57 -05:00
thePR0M3TH3AN
16539400e8
Ensure comment snapshots show in video modal on first open
2026-01-02 11:37:22 -05:00
thePR0M3TH3AN
2c8066fd9d
Handle synchronous comment snapshots in video modal
2026-01-02 11:24:04 -05:00
thePR0M3TH3AN
9d859b07ed
Render guest comment snapshots before auth gating
2026-01-02 11:08:28 -05:00
thePR0M3TH3AN
a8119f5b43
Handle login-required comment visibility
2026-01-02 10:13:45 -05:00
thePR0M3TH3AN
3c6e397984
Improve profile hydration retry diagnostics
2025-12-29 21:19:00 -05:00
thePR0M3TH3AN
735d67313c
Add shared hex normalization for comment flows
2025-12-12 13:42:15 -05:00
thePR0M3TH3AN
624ab91c29
Add dev logging for improved comment cache fallback
2025-12-12 12:33:15 -05:00
thePR0M3TH3AN
7a56e7a691
Surface comment cache storage failures
2025-12-12 12:10:37 -05:00
thePR0M3TH3AN
6caa31ae51
Normalize comment thread video IDs
2025-12-12 12:03:39 -05:00
thePR0M3TH3AN
203a0a6d0c
Normalize comment profile pubkeys in modal
2025-12-12 11:14:50 -05:00
thePR0M3TH3AN
2dd2be9345
Normalize comment thread event ids
2025-12-12 11:05:00 -05:00
thePR0M3TH3AN
dacf5557bb
Persist comment cache during teardown
2025-12-12 10:40:48 -05:00
thePR0M3TH3AN
a6dcc44c12
Normalize comment cache keys
2025-12-12 10:29:33 -05:00
thePR0M3TH3AN
49adb42e36
Fix logger import path for comments controller
2025-12-12 10:04:30 -05:00
thePR0M3TH3AN
5c08f8771e
Add fallback comments disabled placeholder
2025-12-12 09:19:04 -05:00
thePR0M3TH3AN
047a465d66
Refine comments modal disable handling
2025-12-12 09:12:13 -05:00
thePR0M3TH3AN
f777ff7049
Add guard for missing video modal comment selectors
2025-12-12 09:06:34 -05:00
thePR0M3TH3AN
a4bd71ef78
update
2025-11-19 10:25:01 -05:00
thePR0M3TH3AN
04e72a0b46
Propagate video root identifier from pointer metadata
2025-11-14 09:30:01 -05:00
thePR0M3TH3AN
a1ec4c89a6
Merge pull request #1037 from PR0M3TH3AN/codex/update-video-comment-handling-with-videorootid
...
Add root identifier plumbing to modal comments
2025-11-12 21:00:48 -05:00
thePR0M3TH3AN
8a111d8ee8
Handle lowercase root identifiers when fetching comments
2025-11-12 20:56:15 -05:00
thePR0M3TH3AN
ec2da8af20
Allow comment threads without ensurePool
2025-11-12 20:37:51 -05:00
thePR0M3TH3AN
f27128b3d3
Handle legacy hashtag preference events
2025-11-12 20:35:49 -05:00
thePR0M3TH3AN
74bbe8e078
Add root identifier plumbing to modal comments
2025-11-12 20:31:43 -05:00
thePR0M3TH3AN
05c8b1a486
Update hashtag preference kind
2025-11-12 20:15:55 -05:00
thePR0M3TH3AN
6331896f6a
Sanitize additional Nostr tags
2025-11-12 09:54:34 -05:00
thePR0M3TH3AN
9e969e8120
Sanitize mute tags before publishing block list
2025-11-12 09:28:04 -05:00
thePR0M3TH3AN
ad6374de92
update
2025-11-07 16:19:50 -05:00
thePR0M3TH3AN
cad9db188e
update
2025-11-06 16:15:14 -05:00
thePR0M3TH3AN
f60aae282b
update
2025-11-06 15:37:17 -05:00
thePR0M3TH3AN
0c011f14b3
update
2025-11-06 13:57:38 -05:00
thePR0M3TH3AN
48de1a3c4e
update
2025-11-05 16:41:16 -05:00
thePR0M3TH3AN
cdb82e6e72
update
2025-11-05 16:17:56 -05:00
thePR0M3TH3AN
5aa1f8687b
update
2025-11-05 15:20:14 -05:00
thePR0M3TH3AN
6025f6e078
update
2025-11-05 14:49:33 -05:00
thePR0M3TH3AN
e90f3770ef
update
2025-11-05 11:12:38 -05:00