From 42edebcf6d9627fcdb3cfdc8d0f03a1d09956066 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Sun, 26 Oct 2025 21:50:09 -0400 Subject: [PATCH] update --- components/profile-modal.html | 144 ++ content/roadmap.md | 4 +- ...d_Enhanced_Migration_of_Note_Spec_Logic.md | 7 +- css/tailwind.generated.css | 6 +- css/tailwind.source.css | 6 +- css/tokens.css | 3 + docs/nostr-event-schemas.md | 10 + js/accessControl.js | 211 +- js/app.js | 1182 +++++----- js/channelProfile.js | 19 +- js/directMessagesStore.js | 327 +++ js/dmDecryptor.js | 589 +++++ js/feedEngine/stages.js | 27 +- js/index.js | 77 + js/nostr/client.js | 547 ++++- js/nostr/toolkit.js | 363 ++- js/nostrToolsBootstrap.js | 132 +- js/services/moderationService.js | 66 + js/services/nostrService.js | 624 +++++- js/services/r2Service.js | 57 +- js/services/videoNotePayload.js | 379 ++++ js/subscriptions.js | 57 +- js/ui/appChromeController.js | 303 +++ js/ui/components/EditModal.js | 38 +- js/ui/components/UploadModal.js | 56 +- js/ui/components/VideoModal.js | 303 +-- .../video-modal/commentsController.js | 141 ++ .../video-modal/moderationController.js | 118 + .../video-modal/reactionsController.js | 76 + .../video-modal/similarContentController.js | 73 + .../video-modal/utils/commentAvatar.js | 81 + js/ui/profileIdentityController.js | 179 ++ js/ui/profileModalController.js | 1990 ++++++++++++++++- js/ui/videoListViewController.js | 95 + js/watchHistoryService.js | 60 +- tests/dm-decryptor.test.mjs | 170 ++ tests/moderation-stage.test.mjs | 70 + tests/moderation/video-card.test.mjs | 52 + tests/nostr-publish-rejection.test.mjs | 163 ++ tests/nostr-service-access-control.test.mjs | 160 ++ tests/nostr/toolkit.test.mjs | 87 + tests/subscriptions-manager.test.mjs | 22 + tests/video-modal-controllers.test.mjs | 79 + tests/video-note-payload.test.mjs | 190 ++ tests/watch-history.test.mjs | 113 + 45 files changed, 8446 insertions(+), 1010 deletions(-) create mode 100644 js/directMessagesStore.js create mode 100644 js/dmDecryptor.js create mode 100644 js/services/videoNotePayload.js create mode 100644 js/ui/appChromeController.js create mode 100644 js/ui/components/video-modal/commentsController.js create mode 100644 js/ui/components/video-modal/moderationController.js create mode 100644 js/ui/components/video-modal/reactionsController.js create mode 100644 js/ui/components/video-modal/similarContentController.js create mode 100644 js/ui/components/video-modal/utils/commentAvatar.js create mode 100644 js/ui/profileIdentityController.js create mode 100644 js/ui/videoListViewController.js create mode 100644 tests/dm-decryptor.test.mjs create mode 100644 tests/nostr-service-access-control.test.mjs create mode 100644 tests/video-modal-controllers.test.mjs create mode 100644 tests/video-note-payload.test.mjs diff --git a/components/profile-modal.html b/components/profile-modal.html index cbddee90..f4e7213f 100644 --- a/components/profile-modal.html +++ b/components/profile-modal.html @@ -109,6 +109,24 @@ > Hashtags + + + + +
+ You haven’t added any friends yet. +
+ + + +