Commit Graph
3450 Commits
Author SHA1 Message Date
google-labs-jules[bot] bd868fb7ea Refactor video modal sharing options into a unified Share menu
- Replaced the standalone "Copy Magnet" button and "Share" button with a new Share menu.
- Implemented `createVideoShareMenuPanel` to render the new menu with "Copy URL", "Share on Nostr", "Copy Magnet", and "Copy CDN Link" options.
- Updated `VideoModal.js` to manage the share menu state and handle actions.
- Added `video:share-nostr` and `video:copy-cdn` event handlers in `app.js`.
- Removed the `#copyMagnetBtn` element from `video-modal.html`.
- Preserved existing functionality for "Copy URL" and "Copy Magnet".
- "Share on Nostr" is currently a placeholder logging a message, disabled for logged-out users.
- "Copy CDN Link" is disabled if no URL is available.
2026-01-22 04:17:29 +00:00
thePR0M3TH3AN 4c9ae3b882 Merge pull request #1485 from PR0M3TH3AN/update-agents-md-known-issues-3297911731772455486
Update AGENTS.md with KNOWN_ISSUES.md guidance
2026-01-21 20:37:59 -05:00
google-labs-jules[bot] 281f102e84 docs: add instruction to read KNOWN_ISSUES.md in AGENTS.md
Updates AGENTS.md to explicitly instruct AI agents to review
KNOWN_ISSUES.md before starting development or debugging. This
ensures awareness of pre-existing test failures and environmental
quirks, preventing unnecessary investigation.
2026-01-22 01:36:56 +00:00
thePR0M3TH3AN 465c4ee047 Merge pull request #1484 from PR0M3TH3AN/ai/todo-triage-report-8587879301637168101
chore(ai): todo triage report
2026-01-21 20:32:08 -05:00
thePR0M3TH3AN 3f9dfa474a Merge pull request #1483 from PR0M3TH3AN/feature/automated-pr-review-script-4467978404934679640
feat: update review-pr.mjs with release channel guidance
2026-01-21 20:31:39 -05:00
google-labs-jules[bot] fa447ab07b chore(ai): todo triage report
No actionable TODOs, FIXMEs, or XXX comments were found in the codebase.
The `artifacts/todos.txt` file was generated as requested.
2026-01-22 01:11:05 +00:00
google-labs-jules[bot] 553c03e312 feat: update review-pr.mjs with release channel guidance
Updates scripts/agent/review-pr.mjs to fetch the base branch of PRs and
include specific release channel guidance (Main vs Unstable) in the
automated review report, as per AGENTS.md instructions.
2026-01-21 23:07:47 +00:00
thePR0M3TH3AN 3255a1bf5b Merge pull request #1482 from PR0M3TH3AN/ci-fixes-and-docs-14868980418906357148
fix(ci): address lint errors and modals test logic
2026-01-21 17:26:30 -05:00
thePR0M3TH3AN 6c45d7af23 Merge branch 'unstable' into ci-fixes-and-docs-14868980418906357148 2026-01-21 17:26:10 -05:00
google-labs-jules[bot] 90bbcbf27d fix(ci): address lint errors and modals test logic
- Replaced raw pixel value in `css/tailwind.source.css` with theme-based `calc()` to fix token lint error.
- Updated `tests/e2e/ui-modals.spec.ts` to skip close control check for `lockdown-modal`, aligning with inescapable design.
- Added `KNOWN_ISSUES.md` documenting unresolved visual regression in sidebar layout and moderation UI rendering issues in tests.
- Reverted incomplete attempt to fix sidebar CSS logic to maintain stability.
2026-01-21 22:20:49 +00:00
thePR0M3TH3AN 7f2ba67323 Merge pull request #1481 from PR0M3TH3AN/jules/watch-history-reliability-8717302607974193984
Improve Watch History Reliability and Responsiveness
2026-01-21 17:10:34 -05:00
google-labs-jules[bot] a484fb8f36 improve watch history reliability
- Reduced view threshold from 12s to 5s in watchHistoryTelemetry.js
- Enabled immediate watch history republishing (0ms delay) for the first attempt in watchHistory.js
- Updated watchHistoryService.js to recursively schedule queue flushes if items accumulate during an inflight sync
2026-01-21 22:07:23 +00:00
thePR0M3TH3AN 802b2b191e Merge pull request #1475 from PR0M3TH3AN/dm-zap-button-relocation-9070595879886835969
Relocate DM Zap Button to Composer
2026-01-21 16:45:02 -05:00
google-labs-jules[bot] fa8a24a0aa Refactor DM Zap button and stats to Composer area
Moves the Zap button and Zap statistics from the message thread header to the message composer area, adjacent to the Send button. Refactors the Zap interface creation logic into a standalone component `ZapInterface.js` to decouple it from `MessageThread.js`. Updates `Composer.js` to support an optional `onZap` handler and `zapStats` prop, rendering the button with an icon-only style and the stats pill reusing the existing CSS class. Updates `AppShell.js` to orchestrate the Zap interface display and pass the necessary statistics.
2026-01-21 21:39:27 +00:00
thePR0M3TH3AN 6b1ce04af6 Merge pull request #1480 from PR0M3TH3AN/ai/smoke-tests-20260121-1282992729253330531
Add automated smoke test script using Playwright
2026-01-21 16:29:23 -05:00
thePR0M3TH3AN 804c564c08 Merge pull request #1477 from PR0M3TH3AN/update-webtorrent-config-9552895628045698758
Improve WebTorrent Fallback Reliability
2026-01-21 16:26:30 -05:00
google-labs-jules[bot] 429c1c168d chore(ai): add smoke test script (agent)
Added `scripts/agent/smoke-test.mjs`, a Playwright-based smoke test that:
- Spins up a local web server (`python -m http.server`) and local relay (`scripts/agent/simple-relay.mjs`).
- Launches a headless browser to interact with the served app.
- Verifies key flows: Login, Video Publish, Verification, and DM Decryption.
- Reports status to `artifacts/smoke-summary-YYYYMMDD.json` and logs.

This fulfills the requirement for a regression smoke test covering key user flows.
2026-01-21 21:23:27 +00:00
google-labs-jules[bot] 8769eab3f7 feat: improve webtorrent fallback reliability
- Increased `PROBE_TIMEOUT_MS` in `js/gridHealth.js` to 20s to reduce false negatives in peer detection.
- Relaxed the peer check in `js/app.js` to allow forcing a switch to WebTorrent even if the liveliness checker reports 0 peers (showing a warning instead of an error).
- Added `tests/verify_app_switch.mjs` to validate the UI logic change.
2026-01-21 21:23:21 +00:00
thePR0M3TH3AN 6d0250cc2e Merge pull request #1479 from PR0M3TH3AN/jules-remove-republish-btn-5471016097718708399
Remove "Republish now" button from profile watch history
2026-01-21 16:14:30 -05:00
google-labs-jules[bot] 508071a95f Remove "Republish now" button from profile watch history
Removed the "Republish now" button from the watch history tab in the profile modal (profile-modal.html) and its configuration reference in the controller (profileModalController.js). This button was deemed unnecessary for the watch history functionality within the modal. Verified by unit tests and manual inspection.
2026-01-21 21:06:51 +00:00
thePR0M3TH3AN ce7b76bf1b Merge pull request #1478 from PR0M3TH3AN/feat/feed-info-popovers-17616740575820035536
Add Info Popovers to Feed Views
2026-01-21 16:02:34 -05:00
google-labs-jules[bot] ba28ceaf09 feat: add info popovers to feed views
- Added info buttons to Most Recent, Subscriptions, History, Channel Profile, Search, and Explore views
- Attached popovers with descriptions of feed filtration methods
- Used `attachFeedInfoPopover` helper for consistent implementation
- Verified with Playwright script (verified popover visibility and text content)
2026-01-21 20:59:11 +00:00
google-labs-jules[bot] 1a352a199d feat: improve webtorrent reliability and update tracker lists
- Increased tracker timeout to 6000ms and concurrency to 6 in `js/trackerConfig.js`
- Increased trackers per magnet check to 10 to ensure better peer discovery
- Added new reliable public WebSocket trackers to `DEFAULT_WSS_TRACKERS` in `js/constants.js`
- Verified configuration changes with `tests/verify_tracker_config.mjs`
2026-01-21 20:58:50 +00:00
thePR0M3TH3AN 8286a148f2 Merge pull request #1476 from PR0M3TH3AN/feature/limit-search-channels-9807064149232784044
Limit search channels display with Show More button
2026-01-21 15:57:29 -05:00
google-labs-jules[bot] 83ad3a1132 feat: limit channel search results with show more button
- Added a "Show More" button to `views/search.html`.
- Implemented responsive truncation logic in `css/tailwind.source.css` using `nth-child` selectors to show 5 items on mobile, 6 on desktop (LG), and 8 on large screens (XL).
- Updated `js/searchView.js` to handle the logic for displaying the button and toggling the limit class.
- Compiled CSS.
2026-01-21 20:35:58 +00:00
google-labs-jules[bot] d16808bcdd Refactor DM Zap button to Composer area
Moves the Zap button from the message thread header to the message composer area, adjacent to the Send button. Refactors the Zap interface creation logic into a standalone component `ZapInterface.js` to decouple it from `MessageThread.js`. Updates `Composer.js` to support an optional `onZap` handler and renders the button with an icon-only style matching the video player's accent interaction. Updates `AppShell.js` to orchestrate the Zap interface display.
2026-01-21 20:35:14 +00:00
thePR0M3TH3AN 34d57c2072 Merge pull request #1472 from PR0M3TH3AN/ai/load-test-20260121-11214410427964689271
feat: implement load testing script
2026-01-21 14:29:28 -05:00
google-labs-jules[bot] 6ce9e9b8a8 feat: implement load testing script
- Adds scripts/agent/load-test.mjs to simulate N clients connecting to a relay.
- Publishes video and view events at a configurable rate.
- Measures write latency (Client -> Relay -> OK).
- Monitors local relay process (CPU/Mem) if applicable.
- Generates JSON report in artifacts/load-report-YYYYMMDD.json.
- Includes guardrails against public relays.

Test Run Summary (20 clients, 10s):
- Total Requests: 377
- Successful: 377
- Throughput: 37.7 req/s
- Avg Latency: 34.5ms
- P95 Latency: 61.0ms
2026-01-21 19:14:04 +00:00
thePR0M3TH3AN bf86a98dfa Merge pull request #1471 from PR0M3TH3AN/ai/debug-frontend-20250222-248801311659160913
fix(ai): frontend console error — remove broken trackers (agent)
2026-01-21 14:08:19 -05:00
thePR0M3TH3AN c7c9a2fc1e Merge pull request #1470 from PR0M3TH3AN/mobile-search-top-position-11370554775373373673
Move mobile search bar to top
2026-01-21 14:06:32 -05:00
google-labs-jules[bot] e2b05314e2 fix(ai): frontend console error — remove broken trackers (agent) 2026-01-21 18:38:53 +00:00
google-labs-jules[bot] e68e5cd1c7 fix(ui): move mobile search bar to top to avoid keyboard occlusion
Moves the `#mobileSearchContainer` from the bottom-right corner to the top of the viewport (`top-4`). This ensures that the search input remains visible when the virtual keyboard is active on mobile devices, preventing it from being covered.

- Updated `index.html` to change classes from `bottom-6 right-6 origin-bottom-right` to `top-4 left-4 right-4 origin-top`.
- Removed `w-[calc(...)]` in favor of `left-4 right-4` for simpler full-width behavior with margins.
- Ran `npm run build:css` to update generated CSS.
2026-01-21 18:01:29 +00:00
thePR0M3TH3AN 0d400a8bc5 Merge pull request #1468 from PR0M3TH3AN/for-you-info-icon-11937089498630905564
Add info icon to For You feed explaining filter logic
2026-01-21 12:53:16 -05:00
google-labs-jules[bot] bae4020682 feat: add info icon with filter logic popover to For You feed
Adds a clickable info icon next to the "For You" title that displays a popover explaining the feed's filtering logic ("Most Recent Video - Disinterests Tags - Watch History + Interests Tags"). Implemented as a reusable helper `attachFeedInfoPopover` in `js/ui/components/FeedInfoPopover.js` to support future use on other feed pages. Updated `views/for-you.html` and `js/forYouView.js` to integrate the new component. Verified with Playwright.
2026-01-21 17:48:01 +00:00
thePR0M3TH3AN 933841bb0e Merge pull request #1467 from PR0M3TH3AN/ai/deps-scan-v1.0.0-10388548170040991196
chore(ai): dependency scan artifacts
2026-01-21 12:25:37 -05:00
google-labs-jules[bot] a3720e8170 chore(ai): dependency scan artifacts
- generated `artifacts/npm-audit.json`
- generated `artifacts/npm-outdated.json`
- no safe minor/patch upgrades available (all outdated deps are major or risky)
2026-01-21 17:11:32 +00:00
thePR0M3TH3AN c0f9c35f17 Merge pull request #1466 from PR0M3TH3AN/ai/fuzz-suite-20241022-10922521380267773837
feat(fuzz): add fuzzing suite for schemas, dms, and magnets
2026-01-21 12:02:00 -05:00
thePR0M3TH3AN b7b691d9cc Merge pull request #1465 from PR0M3TH3AN/ai/doc-nostr-client-20231027-549968251283674277
chore(ai): document js/nostr/client.js and nip71.js
2026-01-21 12:01:39 -05:00
thePR0M3TH3AN 95c8546867 Merge pull request #1464 from PR0M3TH3AN/ai/docs-update-YYYYMMDD-18018724603320020372
docs(ai): update quickstart and contributing (agent)
2026-01-21 12:01:12 -05:00
thePR0M3TH3AN d6d7d027cf Merge pull request #1463 from PR0M3TH3AN/ai/lint-issues-report-13993109755926892711
chore(ai): report lint issues
2026-01-21 12:00:50 -05:00
thePR0M3TH3AN aeb30eea23 Merge pull request #1462 from PR0M3TH3AN/ai/reproducers-channel-moderation-test-crash-5934129363749679102
Add minimal reproducer for channel moderation test crash
2026-01-21 12:00:29 -05:00
thePR0M3TH3AN 0873b16d06 Merge pull request #1461 from PR0M3TH3AN/ai/tests-core-coverage-20250302-14976230523453771489
Add unit tests for core modules
2026-01-21 12:00:08 -05:00
thePR0M3TH3AN e157d93080 Merge pull request #1460 from PR0M3TH3AN/ai/onboarding-20250220-2802297987522045215
Developer Onboarding Audit & Fixes
2026-01-21 11:59:44 -05:00
thePR0M3TH3AN a4162bd028 Merge pull request #1459 from PR0M3TH3AN/ai/interop-tests-20260121-16965720185426536661
feat: implement protocol & interop tests with ephemeral keys
2026-01-21 11:59:08 -05:00
thePR0M3TH3AN 528c6500ee Merge pull request #1458 from PR0M3TH3AN/telemetry-aggregation-privacy-12055566479602134867
Telemetry Aggregation with Privacy Preservation
2026-01-21 11:58:40 -05:00
thePR0M3TH3AN 5e7904f848 Merge pull request #1457 from PR0M3TH3AN/ai/schema-validate-20250220-11887219471322967928
chore(ai): event schema validation tool + fixes
2026-01-21 11:58:03 -05:00
google-labs-jules[bot] 3e38916f35 feat(fuzz): add fuzzing suite for schemas, dms, and magnets
- Add `scripts/agent/fuzz-nostr-schemas.mjs` to fuzz event builders and validation
- Add `scripts/agent/fuzz-dm-decryptor.mjs` to fuzz DM unwrapping
- Add `scripts/agent/fuzz-magnet-utils.mjs` to fuzz magnet normalization
- Utilize `scripts/agent/fuzz-lib.mjs` for randomization and reporting
- Verify that `scripts/agent/setup-test-env.js` is imported to polyfill globals
- Output reports to `artifacts/`

No crashes were found during the initial fuzzing run (5000 iterations per target).
2026-01-21 16:34:50 +00:00
google-labs-jules[bot] fb95d5c914 chore(ai): doc js/nostr/client.js and nip71.js (agent) 2026-01-21 15:10:38 +00:00
google-labs-jules[bot] 4b3d7644b3 docs(ai): update quickstart and contributing (agent) 2026-01-21 14:17:33 +00:00
google-labs-jules[bot] 67b5ea3ffb chore(ai): report lint issues 2026-01-21 13:21:18 +00:00