Commit Graph
17 Commits
Author SHA1 Message Date
google-labs-jules[bot] 7428a6c99f docs: add detailed comments to webtorrent.js and fix test infrastructure
- Added comprehensive comments to `js/webtorrent.js` explaining the playback strategy, service worker integration, and browser-specific quirks (Brave/Firefox).
- Patched `tests/ui/helpers/jsdom-test-helpers.mjs` to expose `HTMLStyleElement` and other globals to JSDOM, fixing `ReferenceError` in UI tests.
- Fixed `tests/ui/similar-content-card.test.mjs` to align with the current component implementation (handling detached elements) and resolving environment issues.
- Updated `tests/video-modal-accessibility.test.mjs` to safely mock `navigator` and `HTMLCanvasElement.getContext`, resolving `TypeError` and "Not implemented" errors during testing.
2026-01-15 22:35:29 +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 5f1c4ad0bb feat: add similar content card for video modal 2025-10-24 21:15:52 -04:00
thePR0M3TH3AN 10d4bed989 test: cover video modal comments and thread service 2025-10-24 16:14:54 -04:00
thePR0M3TH3AN 8527b06f4a Stabilize video modal zap popover behavior 2025-10-23 14:10:48 -04:00
thePR0M3TH3AN 0fa2617cd4 Add VideoModal tag rendering tests 2025-10-23 13:43:05 -04:00
thePR0M3TH3AN 146a6ba7fc Add tests for moderation block events and update QA fixtures 2025-10-20 11:22:20 -04:00
thePR0M3TH3AN 56b1b8d3e4 Fix zap toggle behavior in video modal 2025-10-19 18:59:34 -04:00
thePR0M3TH3AN b0cc773315 Handle torrent cleanup before hosted playback 2025-10-18 11:39:38 -04:00
thePR0M3TH3AN 0e5571d5a8 Fix video modal rehydration and add regression test 2025-10-18 10:44:33 -04:00
thePR0M3TH3AN 39d8cee81a Remove design system flag and update tests 2025-10-14 20:16:38 -04:00
thePR0M3TH3AN 92794d47dc refactor: centralize styling system usage 2025-10-12 16:31:13 -04:00
thePR0M3TH3AN 7e6c2c7937 Add mobile video modal visual coverage and sticky guardrail test 2025-10-11 19:51:45 -04:00
thePR0M3TH3AN d372a0a694 Ensure VideoModal applies design system mode 2025-10-11 19:30:15 -04:00
thePR0M3TH3AN 5e8e4a0d12 Add modal accessibility integration coverage 2025-10-11 16:37:55 -04:00
thePR0M3TH3AN 16cb69021d Improve video modal accessibility handling 2025-10-10 11:08:21 -04:00