Commit Graph
2742 Commits
Author SHA1 Message Date
thePR0M3TH3AN 0a9dece335 Add per-profile cache documentation 2026-01-07 21:17:54 -05:00
thePR0M3TH3AN ade3e7a6bd Merge pull request #1140 from PR0M3TH3AN/codex/update-documentation-for-scalability-improvements
Docs: warn on magnet-only uploads and document `fetchVideos` request limits
2026-01-07 21:08:01 -05:00
thePR0M3TH3AN c5a03ee470 Update docs for magnet-only warning and fetch limits 2026-01-07 21:07:31 -05:00
thePR0M3TH3AN c405eebea7 Merge pull request #1139 from PR0M3TH3AN/improve-scalability-ux-15527506408449322934
Improve scalability limits and magnet upload UX
2026-01-07 20:29:51 -05:00
google-labs-jules[bot] c934e243c3 feat: warn on magnet-only uploads and make video fetch limit configurable
- Add a confirmation dialog in `UploadModal.js` when a user uploads a video with only a magnet link to warn about potential data loss.
- Replace the hardcoded limit of 300 in `NostrClient.fetchVideos` with a configurable limit that respects `DEFAULT_VIDEO_REQUEST_LIMIT` and `MAX_VIDEO_REQUEST_LIMIT`, improving client-side scalability.
2026-01-08 01:24:31 +00:00
thePR0M3TH3AN 5630dc0cb5 Merge pull request #1138 from PR0M3TH3AN/codex/add-document-on-url-and-torrent-availability-checks
Add documentation for video availability checks
2026-01-07 20:20:35 -05:00
thePR0M3TH3AN e4cac249e8 Add video availability checks documentation 2026-01-07 20:20:20 -05:00
thePR0M3TH3AN 3b15eb5fcd Merge pull request #1137 from PR0M3TH3AN/codex/create-documentation-for-video-grid-filtering
Add documentation for video grid filtering
2026-01-07 20:18:43 -05:00
thePR0M3TH3AN 01b4cb8897 Add documentation for video grid filtering 2026-01-07 20:18:32 -05:00
thePR0M3TH3AN 01647cd63b Merge pull request #1136 from PR0M3TH3AN/codex/add-watch-history-documentation
docs: add watch history system overview
2026-01-07 20:09:14 -05:00
thePR0M3TH3AN d88468d428 Add watch history system overview 2026-01-07 20:09:03 -05:00
thePR0M3TH3AN 58051acb23 Merge pull request #1135 from PR0M3TH3AN/codex/add-documentation-for-nostr-events-flow
Document comment threading and discussion count flow
2026-01-07 20:08:40 -05:00
thePR0M3TH3AN 370f23feb6 Add comment threading flow documentation 2026-01-07 20:08:20 -05:00
thePR0M3TH3AN 46027b10e0 Merge pull request #1134 from PR0M3TH3AN/codex/add-documentation-for-moderation-actions
Add moderation action flow documentation
2026-01-07 20:06:47 -05:00
thePR0M3TH3AN 06177c5e28 Add moderation action flow doc 2026-01-07 20:06:30 -05:00
thePR0M3TH3AN 15df67ba58 Merge pull request #1133 from PR0M3TH3AN/codex/create-auth-architecture-documentation
docs: Add consolidated auth architecture overview
2026-01-07 20:06:04 -05:00
thePR0M3TH3AN 9e5b8e2b14 Add auth architecture documentation 2026-01-07 20:04:52 -05:00
thePR0M3TH3AN 26b6f92bc4 Merge pull request #1132 from PR0M3TH3AN/codex/add-documentation-for-trustbootstrap.js
Add relay trust bootstrap documentation
2026-01-07 20:04:29 -05:00
thePR0M3TH3AN 5bbc8a5801 Add trust bootstrap relay documentation 2026-01-07 20:04:18 -05:00
thePR0M3TH3AN 86e0156eff Merge pull request #1131 from PR0M3TH3AN/codex/create-documentation-for-r2service.js
Add Cloudflare R2 service documentation
2026-01-07 20:03:30 -05:00
thePR0M3TH3AN 36944dc7d0 Add R2 service documentation 2026-01-07 20:03:03 -05:00
thePR0M3TH3AN 16052cc0fa Merge pull request #1130 from PR0M3TH3AN/codex/create-documentation-for-playback-fallback
Add playback fallback documentation and README link
2026-01-07 20:02:27 -05:00
thePR0M3TH3AN 7183e033e9 Add playback fallback documentation 2026-01-07 20:02:11 -05:00
thePR0M3TH3AN cc130ae513 Merge pull request #1129 from PR0M3TH3AN/tag-pref-filter-stage-2603521350073003498
Incorporate tag preferences into blacklist filter stage
2026-01-07 19:56:34 -05:00
google-labs-jules[bot] 7d274bc331 feat: incorporate tag preferences into blacklist filter stage
- Implements `hasDisinterestedTag` helper in `js/feedEngine/utils.js` to check for disinterested tags in both raw Nostr tags and NIP-71 metadata.
- Updates `createBlacklistFilterStage` in `js/feedEngine/stages.js` to filter out videos matching `context.runtime.tagPreferences` disinterests.
- Ensures existing blacklist logic remains undisturbed.
- Verified with new unit test `tests/feed-engine-tag-pref.test.mjs` and existing feed engine tests.
2026-01-08 00:52:57 +00:00
thePR0M3TH3AN 05292925c8 Merge pull request #1128 from PR0M3TH3AN/codex/validate-community-web-of-trust-system-behavior
Add web-of-trust examples guide
2026-01-07 19:46:48 -05:00
thePR0M3TH3AN 04a0e1d4a5 Add web-of-trust examples guide 2026-01-07 19:46:28 -05:00
thePR0M3TH3AN b5daafaeb7 Merge pull request #1127 from PR0M3TH3AN/codex/document-instance-config.js-usage-in-readme
Add instance-config documentation and README link
2026-01-07 19:41:09 -05:00
thePR0M3TH3AN 1b8625c07f Add instance config documentation 2026-01-07 19:40:55 -05:00
thePR0M3TH3AN 8fd66fadbe Merge pull request #1126 from PR0M3TH3AN/fix-profile-history-scroll-8985911645291982464
Fix profile watch history nested scrolling
2026-01-07 15:51:06 -05:00
google-labs-jules[bot] 13b5fab7b3 Remove nested scrolling in profile watch history.
Removes the fixed height and overflow from the watch history container in the profile modal, allowing it to expand fully. Updates the profile modal controller to use the main modal panes container as the scroll root for infinite scrolling.
2026-01-07 20:43:38 +00:00
thePR0M3TH3AN 6a57491889 Merge pull request #1125 from PR0M3TH3AN/codex/fix-watch-history-profile-hydration-2978019440032498499
fix: hydrate author profiles in watch history feed
2026-01-07 15:34:59 -05:00
google-labs-jules[bot] f2c87051ce feat: add profile hydration to watch history feed
This change introduces `createWatchHistoryProfileHydrationStage` to the
watch history feed pipeline. The stage resolves author profiles for
hydrated videos by:
1. Checking the global `getProfileCacheEntry` for cached profiles.
2. Batching missing profiles into a single Kind 0 relay request.
3. Updating the global cache (`setProfileCacheEntry`) with fetched data.
4. Attaching the resolved profile to `item.metadata.profile`.

This ensures that channel images populate correctly in the watch history
UI (both sidebar and profile modal).
2026-01-07 20:28:44 +00:00
thePR0M3TH3AN 4ff8abe451 Merge pull request #1124 from PR0M3TH3AN/lazy-signer-init-4436426689501350541
Lazy-initialize signer from extension on write operations
2026-01-07 15:18:51 -05:00
google-labs-jules[bot] 95ef008c58 Lazy-initialize signer from extension on demand 2026-01-07 19:51:48 +00:00
thePR0M3TH3AN 375b96bfa9 Merge pull request #1123 from PR0M3TH3AN/fix-profile-lists-sync-9443704948998622735
Fix profile menu list syncing and population issues
2026-01-07 14:40:44 -05:00
google-labs-jules[bot] 19dd570607 Fix profile watch history and subscription lists syncing issues. 2026-01-07 19:22:23 +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 8cb3da3129 Merge pull request #1122 from PR0M3TH3AN/fix-watch-history-sync-17826641022307563096
Fix watch history sync speed, caching, and deletion persistence
2026-01-07 13:34:39 -05:00
google-labs-jules[bot] 346f969f79 Fix watch history sync speed, caching, and deletion bug 2026-01-07 18:29:58 +00:00
thePR0M3TH3AN 3ad1533819 Merge pull request #1121 from PR0M3TH3AN/update-profile-watch-history-526383577837963653
Update profile watch history to match main features
2026-01-07 13:17:08 -05:00
google-labs-jules[bot] ddcbc0f004 Update profile watch history to match main features
- Shorten npubs in history view cards.
- Add Refresh, Privacy Banner, and Info to Profile Modal Watch History.
- Wire up Profile Modal Watch History controls.
2026-01-07 18:11:49 +00:00
thePR0M3TH3AN b8c3f639b5 Merge pull request #1120 from PR0M3TH3AN/enhance-history-view-sorting-and-npub-format-3434405391875002561
Enhance watch history sorting and shorten npub display
2026-01-07 12:34:04 -05:00
google-labs-jules[bot] c29a5c3bbe fix: switch to jsdelivr for external modules
Replaces unreliable esm.sh imports with cdn.jsdelivr.net to prevent site crashes due to CORS and timeout errors.
Updates imports for `nostr-tools`, `buffer`, and `@aws-sdk/client-s3` in `js/nostrToolsBootstrap.js`, `js/bufferPolyfill.js`, and `js/storage/r2-s3.js`.
Adds jsdelivr as a prioritized remote source in `nostrToolsBootstrap` while retaining esm.sh as a fallback.
2026-01-07 17:30:22 +00:00
google-labs-jules[bot] 0169d39aff feat: improve watch history sorting and npub display
Shortens long encoded npubs in the history view card (e.g., `npub1...0h64`) for cleaner UI.
Updates the watch history sorting logic to group items by day (using local date string) and sort videos within each day by creation date (newest first), ensuring consistent chronological ordering regardless of exact view timestamp.
Applies sorting changes to both the view renderer (`historyView.js`) and the feed engine (`watchHistoryFeed.js`) for consistency.
2026-01-07 17:18:09 +00:00
thePR0M3TH3AN 7f8405d366 Merge pull request #1119 from PR0M3TH3AN/fix-hydration-hang-1209416647514971888
Prevent watch history hydration hang by adding timeout to pool.list
2026-01-07 09:56:27 -05:00
google-labs-jules[bot] a54d5db263 Fix: Add timeout to pool.list shim to prevent hydration hanging
When relays fail to connect or do not send EOSE, the legacy `pool.list` shim
would hang indefinitely, blocking watch history hydration.
This change adds a timeout (default 7000ms) to ensure it returns whatever events
it has collected, preventing the UI from getting stuck.
2026-01-07 14:46:35 +00:00
thePR0M3TH3AN 425f772fcc Merge pull request #1118 from PR0M3TH3AN/fix-watch-history-dynamic-refresh-8086273073608034739
Fix Watch History Dynamic Pulling and Add Refresh Button
2026-01-07 09:34:18 -05:00
google-labs-jules[bot] c322fcee14 fix(watch-history): add manual refresh and fix dynamic pulling
This commit addresses issues with the watch history not updating dynamically and adds a manual refresh mechanism.

Changes:
- Added a "Refresh" button to the watch history view in `views/history.html` and `js/historyView.js`.
- Updated `watchHistoryService.js` to accept a `forceRefresh` option in `loadLatest`, which bypasses the cache freshness check and triggers a relay fetch.
- Updated `js/feedEngine/watchHistoryFeed.js` to propagate the `forceRefresh` flag from the runtime context to the service.
- Added user feedback (toast messages and logs) for "Clear Local History" and "Republish Now" actions.
- Updated `tests/watch-history.test.mjs` to align with the new `fetchHistory` signature.
2026-01-07 14:05:21 +00:00
thePR0M3TH3AN a5994f1380 Merge pull request #1117 from PR0M3TH3AN/fix-zap-signing-compatibility-17075194725684270757
Fix zap signing compatibility with nostr-tools v2
2026-01-07 08:46:25 -05:00