Commit Graph
81 Commits
Author SHA1 Message Date
thePR0M3TH3AN 0eacbd1063 Add cached link previews with privacy toggle 2026-01-19 13:06:50 -05:00
thePR0M3TH3AN 0ac64867da Add shared hashtag normalization helper 2026-01-18 13:35:34 -05:00
google-labs-jules[bot] e6ebbb8343 Fix blurred thumbnail visuals and add moderation buttons to SimilarContentCard
- Adds `blur-xl` class to `SimilarContentCard` thumbnails when blurred, ensuring visual consistency.
- Implements `createModerationOverrideButton`, `createModerationHideButton`, and `createModerationBlockButton` in `SimilarContentCard.js` to provide missing interactivity.
- Updates `VideoModal.js` to wire up moderation callbacks (`onModerationOverride`, `onModerationHide`, `onModerationBlock`) when initializing similar content cards, dispatching global moderation events.
- Ensures moderation actions in the similar content sidebar function identically to the main video player.
2026-01-16 13:34:29 +00:00
google-labs-jules[bot] 7dc60c36ef Add playback source toggle (CDN/P2P) to video modal
- Added toggle buttons and stat counters to `video-modal.html`.
- Updated `VideoModal.js` to manage toggle visibility (show if either source exists, disable unavailable option) and dispatch `playback:switch-source` events.
- Updated `app.js` to handle source switching by restarting playback with a `forcedSource`.
- Updated `playbackService.js` to respect `forcedSource` by bypassing probe logic when a specific source is requested.
2026-01-15 01:06:56 +00:00
google-labs-jules[bot] 6c3ac4d49f Implement video source toggle (CDN vs P2P)
- Added source toggle UI in `components/video-modal.html`.
- Updated `VideoModal.js` to manage toggle visibility (only when both URL and Magnet exist), update peer/server counts, and dispatch `playback:switch-source` events.
- Updated `PlaybackService.js` to support a `forcedSource` option, allowing bypassing of the URL probe when "torrent" is forced.
- Updated `app.js` to listen for the toggle event and re-initialize playback with the forced source preference.
- Updated `tests/ui/helpers/jsdom-test-helpers.mjs` to expose necessary globals for JSDOM testing.
- Verified functionality with targeted updates and existing unit tests.
2026-01-14 21:18:46 +00:00
thePR0M3TH3AN 06c3d9a978 Add breakpoint token helpers for media queries 2026-01-13 21:26:53 -05:00
thePR0M3TH3AN b48edbb055 Refactor inline styles to CSS rules 2026-01-13 21:13:32 -05:00
google-labs-jules[bot] 81e8b2ed40 Refine Video Modal moderation UI styles: blur creator avatar and fix text contrast. 2026-01-13 14:28:42 +00:00
google-labs-jules[bot] 0772d2fa09 Refactor Video Modal moderation UI to a persistent bar above the player. 2026-01-13 14:12:14 +00:00
google-labs-jules[bot] 1f47e161d4 Refactor Video Card and Modal layout to move view counts and use icons.
- Moved view count and comments to a new bottom engagement section in `VideoCard.js`.
- Replaced text labels with Eye and Message SVG icons in `VideoCard.js`.
- Updated `video-modal.html` to include an Eye icon for the view count.
- Refactored `VideoModal.js` to update only the text node for view counts, preserving the icon.
- Removed "views" text suffix in favor of a cleaner numeric display.
2026-01-12 21:01:47 +00:00
google-labs-jules[bot] 41ff140982 feat: enable dynamic comment loading and sorting 2026-01-07 03:03:46 +00:00
google-labs-jules[bot] cced268982 Fix: Ensure comments controller is initialized when opening video modal
This addresses an issue where comments would not display on the first load of the video modal if the DOM elements were not fully bound. The `open()` method now checks if the `commentsList` is missing or disconnected and re-initializes the `CommentsController` if necessary.

Also updated `tests/video-modal-accessibility.test.mjs` to fix a JSDOM environment issue with `navigator` mocking.
2026-01-07 00:59:47 +00:00
thePR0M3TH3AN a8119f5b43 Handle login-required comment visibility 2026-01-02 10:13:45 -05:00
thePR0M3TH3AN cac275a220 Normalize root comment keys before rendering 2025-11-04 15:06:17 -05:00
thePR0M3TH3AN 318eea15e3 Enhance VideoModal title handling and styling. Added responsive styles for video title in CSS, ensuring proper overflow handling. Updated JavaScript to set video title dynamically, with fallback for missing elements and improved logging for debugging. 2025-11-02 19:30:05 -05:00
thePR0M3TH3AN b4d2370611 Trim video modal tag list to container width 2025-10-30 21:01:37 -04:00
thePR0M3TH3AN 18f6d135fc Handle skipped zap receipt validation 2025-10-29 15:59:33 -04:00
thePR0M3TH3AN 0724307202 Add zap receipt validation for zap receipts 2025-10-29 15:48:54 -04:00
thePR0M3TH3AN 9ef040f0ec Sanitize similar content avatars 2025-10-27 19:12:07 -04:00
thePR0M3TH3AN 429829b7a1 Refactor video modal into domain controllers 2025-10-26 18:02:53 -04:00
thePR0M3TH3AN 9dfe7ef20e Fix viewer mute blur regression and update modal overrides 2025-10-26 16:06:40 -04:00
thePR0M3TH3AN 065dafff88 Add restore-default moderation control 2025-10-26 11:13:37 -04:00
thePR0M3TH3AN 31cb2821e4 Keep moderation actions inline and add hide toggle 2025-10-25 22:32:34 -04:00
thePR0M3TH3AN 2622b401bc Replace bg panel alpha class with overlay token 2025-10-25 22:03:36 -04:00
thePR0M3TH3AN ba6b56dc26 Switch moderation hide flows to block 2025-10-25 21:54:31 -04:00
thePR0M3TH3AN 87bde7f022 Add moderation UI support to watch history cards 2025-10-25 19:39:18 -04:00
thePR0M3TH3AN 5b65d51262 Expand video modal moderation tests 2025-10-25 18:28:13 -04:00
thePR0M3TH3AN 2b7097b5f2 Add tag preference menu and state handling 2025-10-25 17:25:46 -04:00
thePR0M3TH3AN a642eb86d4 Refine video modal similar content layout 2025-10-24 22:14:43 -04:00
thePR0M3TH3AN f5cb3c4997 Merge pull request #876 from PR0M3TH3AN/codex/hide-admin-lightning-address-after-sending-zap
Hide platform lightning address in zap receipts
2025-10-24 21:52:59 -04:00
thePR0M3TH3AN 671ed1c30c Hide platform lightning address in zap receipts 2025-10-24 21:52:39 -04:00
thePR0M3TH3AN 665d7fd342 Enhance SimilarContentCard identity layout 2025-10-24 21:42:40 -04:00
thePR0M3TH3AN 5f1c4ad0bb feat: add similar content card for video modal 2025-10-24 21:15:52 -04:00
thePR0M3TH3AN 8b36a51b60 Deduplicate video modal comments and cache avatars 2025-10-24 20:53:18 -04:00
thePR0M3TH3AN f618f32705 Enhance comment threads with Nostr profile details 2025-10-24 17:31:07 -04:00
thePR0M3TH3AN 0acdba0b73 Adjust video modal comments and torrent stats 2025-10-24 16:36:19 -04:00
thePR0M3TH3AN 3a8c96ee2f Implement VideoModal comment section hooks 2025-10-24 15:29:37 -04:00
thePR0M3TH3AN dae5bbf7cd Refine video modal similar content layout 2025-10-24 12:11:41 -04:00
thePR0M3TH3AN 4943437e68 Broaden video modal sidebar and hydrate lazy thumbnails 2025-10-24 10:30:25 -04:00
thePR0M3TH3AN 6eaba3204d Fix video modal layout columns 2025-10-24 10:02:55 -04:00
thePR0M3TH3AN 7d1431e3f7 Normalize video modal layout structure 2025-10-24 08:56:02 -04:00
thePR0M3TH3AN 31bcc8cef0 Stabilize video modal two-column layout 2025-10-24 08:29:52 -04:00
thePR0M3TH3AN 3716297854 Add similar content support to video modal 2025-10-23 16:31:51 -04:00
thePR0M3TH3AN 8527b06f4a Stabilize video modal zap popover behavior 2025-10-23 14:10:48 -04:00
thePR0M3TH3AN f99fc73e48 Add tag strip rendering to video modal 2025-10-23 13:22:21 -04:00
thePR0M3TH3AN 4e108f3e43 Align video modal reactions row 2025-10-23 10:06:41 -04:00
thePR0M3TH3AN cb88a79590 Add ambient glow to video modal 2025-10-22 13:03:37 -04:00
thePR0M3TH3AN 56b1b8d3e4 Fix zap toggle behavior in video modal 2025-10-19 18:59:34 -04:00
thePR0M3TH3AN 24cedbd5ac Prevent zap popover for logged-out viewers 2025-10-19 18:43:42 -04:00
thePR0M3TH3AN 0c211cd411 Fix zap dialog behavior for logged-out users 2025-10-19 18:17:16 -04:00