Commit Graph
2601 Commits
Author SHA1 Message Date
thePR0M3TH3AN 4c6eae2f14 Merge pull request #1072 from PR0M3TH3AN/refactor-watch-history-context-10244638915022032080
Refactor watch history context to month-centric fields
2026-01-04 22:29:18 -05:00
google-labs-jules[bot] a3c7536543 Refactor watch history to use month-centric context
- Rename `WATCH_HISTORY_CHUNK` schema to "Watch history monthly payload" in `js/nostrEventSchemas.js`.
- Update `js/nostr/watchHistory.js` to replace `snapshotId` with `recordId` and `monthIdentifier` in logging and error tracking context.
- Ensure `fetch` logic uses `recordId` and `month` in chunk decryption context for clarity.
- Fix indentation for added fields in logging objects.
2026-01-05 03:23:32 +00:00
thePR0M3TH3AN 79a983b3f4 Merge pull request #1071 from PR0M3TH3AN/update-watch-history-normalization-9579929584971128125
Update watch history normalization logic
2026-01-04 22:16:25 -05:00
google-labs-jules[bot] f2d0ce939a Update watch history normalization for monthly payload format
This change updates `normalizePointersFromPayload` to process both legacy `items` and new `events` arrays from the watch history payload. It also adds logic to merge `watchedAt` timestamps from a map, supporting the new monthly format. Additionally, `mergeWatchHistoryItemsWithFallback` is updated to rely on the unified `items` list and hydrate metadata from fallback items for all entries, ensuring robust handling of sparse event pointers.
2026-01-05 00:05:40 +00:00
thePR0M3TH3AN 4e8364764e Merge pull request #1070 from PR0M3TH3AN/refactor-watch-history-payload-v2-2612877448360263100
Refactor watch history to use monthly payload schema
2026-01-04 18:54:18 -05:00
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
thePR0M3TH3AN 72f5a19cbb Merge pull request #1069 from PR0M3TH3AN/refactor-watch-history-single-event-16264182673393709707
Refactor watch history to single monthly event
2026-01-04 17:05:37 -05: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
thePR0M3TH3AN ae949daee6 Merge pull request #1068 from PR0M3TH3AN/refactor-watch-history-single-payload-7716078754821307450
Refactor watch history to use single monthly payload event
2026-01-04 16:21:10 -05: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 849f0badd6 Merge pull request #1067 from PR0M3TH3AN/codex/remove-chunkwatchhistorypayloaditems-function
Refactor watch history payload building
2026-01-03 13:57:58 -05:00
thePR0M3TH3AN ba666bdaba Refactor watch history payload building 2026-01-03 13:57:46 -05:00
thePR0M3TH3AN b12dd4060b Merge pull request #1066 from PR0M3TH3AN/codex/update-nostreventschemas-with-month-identifiers
Switch watch history schemas to month identifiers
2026-01-03 13:42:40 -05:00
thePR0M3TH3AN 9b12cbcb6f Switch watch history schemas to month identifiers 2026-01-03 13:42:28 -05:00
thePR0M3TH3AN f3ca1de36c Merge pull request #1065 from PR0M3TH3AN/codex/rewrite-watch-history-section-for-monthly-records
Document monthly watch history records
2026-01-03 13:10:09 -05:00
thePR0M3TH3AN adef1fb05d Document monthly watch history records 2026-01-03 13:09:42 -05:00
thePR0M3TH3AN f9c9109c07 Merge pull request #1064 from PR0M3TH3AN/codex/update-history-page-for-event-id-tracking
Update watch history copy for event ID tracking
2026-01-03 09:40:29 -05:00
thePR0M3TH3AN 006f561302 Simplify watch history messaging 2026-01-03 09:40:15 -05:00
thePR0M3TH3AN b764e51f17 Merge pull request #1063 from PR0M3TH3AN/codex/remove-metadata-toggle-from-profile-modal
Remove watch history metadata caching UI
2026-01-03 09:37:02 -05:00
thePR0M3TH3AN 6d719b7b6d Remove watch history metadata caching controls 2026-01-03 09:33:43 -05:00
thePR0M3TH3AN 72f9df063d Merge pull request #1062 from PR0M3TH3AN/codex/remove-metadata-handling-from-watch-history
Remove watch history metadata caching
2026-01-03 09:16:29 -05:00
thePR0M3TH3AN e9ce494ccd Remove watch history metadata caching 2026-01-03 09:11:26 -05:00
thePR0M3TH3AN 7f244e7155 Merge pull request #1061 from PR0M3TH3AN/codex/optimize-cache-write-mechanism
Add batched IndexedDB caching for nostr events
2026-01-02 15:35:55 -05:00
thePR0M3TH3AN db27c7f56a Refactor nostr event cache persistence 2026-01-02 15:33:51 -05:00
thePR0M3TH3AN 8839aa3073 Merge pull request #1060 from PR0M3TH3AN/codex/update-subscribevideos-with-pagination-and-defaults
Add paging and limits to nostr video subscription
2026-01-02 15:24:21 -05:00
thePR0M3TH3AN ff07ed8e01 Add paging and limits to nostr video subscription 2026-01-02 14:11:41 -05:00
thePR0M3TH3AN 0302b3cde6 Merge pull request #1059 from PR0M3TH3AN/codex/update-logout-handler-to-refresh-comments
Reload modal comments on logout
2026-01-02 13:20:42 -05:00
thePR0M3TH3AN 62c0c344e0 Reload modal comments on logout 2026-01-02 13:10:05 -05:00
thePR0M3TH3AN f4ef1a474b Merge pull request #1058 from PR0M3TH3AN/codex/update-auth/logout-flow-for-activeprofilepubkey
Reset moderation settings on logout
2026-01-02 12:51:22 -05:00
thePR0M3TH3AN 34789d4752 Reset moderation settings on logout 2026-01-02 12:50:18 -05:00
thePR0M3TH3AN 329ac681d1 Merge pull request #1057 from PR0M3TH3AN/codex/ensure-bootstrap.js-awaits-admin-list-hydration
Ensure trusted seeds hydrate before app creation
2026-01-02 12:29:04 -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 192df53959 Merge pull request #1056 from PR0M3TH3AN/codex/decouple-snapshot-rendering-for-comments
Render guest comment snapshots before auth gating
2026-01-02 11:38:46 -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 b14a7e60a0 Merge pull request #1055 from PR0M3TH3AN/codex/update-comment-handling-for-login-required-state
Handle login-required comment visibility
2026-01-02 10:33:08 -05:00
thePR0M3TH3AN a8119f5b43 Handle login-required comment visibility 2026-01-02 10:13:45 -05:00
thePR0M3TH3AN 4b8c149eb4 Merge pull request #1054 from PR0M3TH3AN/codex/add-tests-for-mixed-case-ids-and-exceptions
Add comment thread and modal regression tests
2025-12-29 22:08:32 -05:00
thePR0M3TH3AN 3e27f06a13 Add comment thread and modal regression tests 2025-12-29 22:00:32 -05:00
thePR0M3TH3AN 42ef3ddd46 Merge pull request #1053 from PR0M3TH3AN/codex/add-retries-to-batchfetchprofiles-call
Improve profile hydration retry diagnostics
2025-12-29 21:27:08 -05:00
thePR0M3TH3AN 3c6e397984 Improve profile hydration retry diagnostics 2025-12-29 21:19:00 -05:00
thePR0M3TH3AN d13f0f655a Merge pull request #1052 from PR0M3TH3AN/codex/create-hex-normalization-helper
Add shared hex normalization for comment flows
2025-12-12 13:43:16 -05:00
thePR0M3TH3AN 735d67313c Add shared hex normalization for comment flows 2025-12-12 13:42:15 -05:00
thePR0M3TH3AN af8a5828dd Merge pull request #1051 from PR0M3TH3AN/codex/add-logging-for-improved-fetching-branch
Add dev logging for improved comment cache fallback
2025-12-12 13:01:46 -05:00
thePR0M3TH3AN 624ab91c29 Add dev logging for improved comment cache fallback 2025-12-12 12:33:15 -05:00
thePR0M3TH3AN 086db6398a Merge pull request #1050 from PR0M3TH3AN/codex/enhance-getcachedcomments-for-error-handling
Surface comment cache storage failures
2025-12-12 12:11:54 -05:00
thePR0M3TH3AN 7a56e7a691 Surface comment cache storage failures 2025-12-12 12:10:37 -05:00
thePR0M3TH3AN 552d2a18e7 Merge pull request #1049 from PR0M3TH3AN/codex/normalize-videoeventid-for-comparison
Normalize comment thread video IDs
2025-12-12 12:05:20 -05:00