From 37ba57aa3739475d76f4405466c3cc5cc4f7dcc7 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Wed, 15 Oct 2025 11:11:14 -0400 Subject: [PATCH] Refactor logging to centralized logger --- .../iframe_forms/iframe-application-form.html | 31 +- .../iframe_forms/iframe-bug-fix-form.html | 31 +- .../iframe-content-appeals-form.html | 31 +- .../iframe_forms/iframe-feedback-form.html | 31 +- .../iframe_forms/iframe-request-form.html | 31 +- js/accessControl.js | 5 +- js/adminListStore.js | 27 +- js/analytics.js | 7 +- js/app.js | 357 ++++++++---------- js/blog/carousel.js | 5 +- js/blog/index.js | 18 +- js/blog/zapthreadsEmbed.js | 9 +- js/channelProfile.js | 49 +-- js/config.js | 28 +- js/designSystem.js | 7 +- js/dom/cardObserver.js | 11 +- js/feedEngine/engine.js | 5 +- js/gridHealth.js | 5 +- js/healthService.js | 3 +- js/historyView.js | 35 +- js/index.js | 41 +- js/nostr.js | 351 ++++++++--------- js/nostrEventSchemas.js | 11 +- js/nostrPublish.js | 3 +- js/nostrToolsBootstrap.js | 11 +- js/nwcSettings.js | 9 +- js/payments/nwcClient.js | 29 +- js/payments/platformAddress.js | 15 +- js/payments/zapSplit.js | 7 +- js/r2-quick.js | 17 +- js/r2.js | 13 +- js/relayManager.js | 15 +- js/services/authService.js | 7 +- js/services/nostrService.js | 23 +- js/services/playbackService.js | 5 +- js/services/r2Service.js | 31 +- js/services/watchHistoryTelemetry.js | 25 +- js/state/appState.js | 9 +- js/state/cache.js | 17 +- js/subscriptions.js | 37 +- js/themeController.js | 10 +- js/ui/components/UploadModal.js | 15 +- js/ui/components/VideoCard.js | 3 +- js/ui/components/VideoModal.js | 3 +- js/ui/components/nip71FormManager.js | 4 +- js/ui/moreMenuController.js | 15 +- js/ui/profileModalController.js | 63 ++-- js/ui/views/VideoListView.js | 9 +- js/ui/watchHistoryController.js | 11 +- js/ui/zapController.js | 21 +- js/urlHealthObserver.js | 3 +- js/userBlocks.js | 25 +- js/utils/logger.js | 99 +++++ js/utils/storage.js | 9 +- js/viewCounter.js | 25 +- js/viewManager.js | 11 +- js/watchHistoryService.js | 93 ++--- js/webtorrent.js | 11 +- torrent/app.js | 23 +- torrent/dist/beacon.js | 2 +- torrent/src/beacon-vendor.js | 5 +- views/about.html | 11 +- views/community-guidelines.html | 11 +- views/getting-started.html | 11 +- views/ipns.html | 11 +- views/links.html | 11 +- views/roadmap.html | 11 +- 67 files changed, 1130 insertions(+), 798 deletions(-) create mode 100644 js/utils/logger.js diff --git a/components/iframe_forms/iframe-application-form.html b/components/iframe_forms/iframe-application-form.html index a916c3de..efb69688 100644 --- a/components/iframe_forms/iframe-application-form.html +++ b/components/iframe_forms/iframe-application-form.html @@ -225,6 +225,26 @@