Commit Graph
3801 Commits
Author SHA1 Message Date
google-labs-jules[bot] eb25d2df89 docs(ai): improve onboarding steps and fix lint
- Fix `npm run lint` failure by replacing inline style with CSS class in `js/ui/components/SearchFilterModal.js`.
- Fix `npm run lint:tokens` failure by defining `--size-40rem` in `css/tokens.css` and using it in `css/tailwind.source.css`.
- Update `CONTRIBUTING.md` with troubleshooting tips for unit test hangs and linting failures.
- Attempt to update `caniuse-lite` to silence build warning (may persist due to environment/cache).
2026-01-24 08:37:11 +00:00
google-labs-jules[bot] 4c235b4ace feat: add interoperability test script for Nostr protocol verification
- Adds `scripts/agent/interop-test.mjs` to verify Video Post, View Event, and DM publishing/retrieval.
- Uses public relays (damus, nos.lol, snort) and ephemeral keys.
- Polyfills WebSocket and mocks localStorage for Node.js environment.
2026-01-24 07:38:35 +00:00
google-labs-jules[bot] c9201c777e Add privacy-preserving telemetry aggregation script
Moves and enhances the telemetry aggregator script to `scripts/agent/telemetry-aggregator.mjs`.
Updates `package.json` to point to the new location.
Implements robust parsing for smoke test summaries and fuzz reports.
Adds PII sanitization (IPs, emails, keys, paths).
Enforces opt-in via `ENABLE_TELEMETRY` environment variable.
Adds `ai/reports/` to `.gitignore`.
2026-01-24 06:29:10 +00:00
google-labs-jules[bot] 6884d06192 chore(ai): event schema validation tool + fixes
- Added `scripts/agent/validate-events.mjs` for builder validation.
- Enhanced `js/nostrEventSchemas.js` with `validateEventStructure`.
- Fixed `safeStringify` to handle objects correctly.
- Added `NOTE_TYPES.HTTP_AUTH` and `NOTE_TYPES.REPORT` with builders.
- Refactored `js/userBlocks.js`, `js/auth/signingAdapter.js`, `js/services/moderationService.js` to use builders.
- Updated `tests/user-blocks.test.mjs` mocks and assertions.
- Updated documentation.
2026-01-24 05:36:40 +00:00
google-labs-jules[bot] 9fb07c6ce2 refactor(ai): extract reaction logic from js/app.js (agent)
Extracted video reaction logic (subscription, optimistic updates, and publishing) from `js/app.js` into a dedicated `ReactionController`.

*   Created `js/ui/reactionController.js`.
*   Refactored `js/app.js` to usage `ReactionController` and removed legacy methods.
*   Added unit tests in `tests/ui/reactionController.test.mjs`.
*   Ensured reaction subscription updates on user login/logout.

This follows the `AGENTS.md` guideline to move UI logic to controllers.
2026-01-24 03:21:14 +00:00
google-labs-jules[bot] e91937d8ca chore(ai): CI health fixes (flaky tests)
- Fix `nostr-service-access-control.test.mjs` by mocking `nostrClient` to prevent `nostr-client-unavailable` errors.
- Skip `tests/app/channel-profile-moderation.test.mjs` due to consistent JSDOM/CI timeouts and potential leaks.
- Run `npm audit fix` to ensure lockfile health.
2026-01-24 03:19:48 +00:00
google-labs-jules[bot] a347fc44c9 chore(ai): triage TODOs and generate issue reports
- Generate `artifacts/todos.txt` via strict scan.
- Create `artifacts/issues/issue-moderation-tests.md` for detected test flakes.
2026-01-24 01:16:05 +00:00
thePR0M3TH3AN 8b1358a619 Merge pull request #1620 from PR0M3TH3AN/codex/create-s3-multipart-upload-helper-module
Add provider-agnostic S3 multipart helpers
2026-01-23 20:02:47 -05:00
thePR0M3TH3AN e6ecbaf9e6 Add generic S3 multipart helpers 2026-01-23 20:02:15 -05:00
thePR0M3TH3AN c68c953789 Merge pull request #1619 from PR0M3TH3AN/codex/create-s3-client-module-and-refactor
Add shared S3 client loader and provider-aware test configs
2026-01-23 18:50:14 -05:00
thePR0M3TH3AN 9412afb1af Add generic S3 client loader and update tests 2026-01-23 18:49:34 -05:00
thePR0M3TH3AN f634b5a929 Merge pull request #1618 from PR0M3TH3AN/codex/update-readme-with-embed-url-details
Add embed documentation and Netlify framing headers
2026-01-23 18:44:21 -05:00
thePR0M3TH3AN ccd1089ed7 Add embed documentation and framing headers 2026-01-23 18:43:56 -05:00
thePR0M3TH3AN 6a8370c244 Merge pull request #1617 from PR0M3TH3AN/codex/create-embed-page-with-video-and-telemetry
Add embed page and player entry (embed.html, js/embed.js)
2026-01-23 18:36:21 -05:00
thePR0M3TH3AN 6ee9d44213 Add embed page for pointer playback 2026-01-23 18:35:58 -05:00
google-labs-jules[bot] 7ecae5d7a2 feat(ci): enhance automated pr review with robust fix fallback and release channel checks
- Add sensitive path checks for storage/crypto services
- Add checks for modifications to critical config when targeting main
- Implement fallback for micro-fixes: create follow-up PR if push fails
- Add Audit Log to review comment
2026-01-23 23:16:40 +00:00
thePR0M3TH3AN bb6a485618 Merge pull request #1615 from PR0M3TH3AN/codex/add-helper-to-embed-modal-controller
Embed modal: encode NIP-33 pointers and build `/embed.html` URLs
2026-01-23 17:59:31 -05:00
thePR0M3TH3AN 7666629cba Update embed modal pointer encoding 2026-01-23 17:58:45 -05:00
thePR0M3TH3AN f04fd9272b Merge pull request #1614 from PR0M3TH3AN/codex/add-embed-video-modal-component
Add Embed Video modal and controller, wire into ModalManager
2026-01-23 17:14:33 -05:00
thePR0M3TH3AN b3de79f46c Add embed video modal 2026-01-23 17:14:07 -05:00
google-labs-jules[bot] e3ef3253dc chore(ai): add smoke test script (agent) 2026-01-23 21:34:07 +00:00
thePR0M3TH3AN 50b7db0022 Merge pull request #1611 from PR0M3TH3AN/codex/add-embed-button-and-functionality
Add Embed action to Video Modal
2026-01-23 15:41:38 -05:00
google-labs-jules[bot] 29afba2199 chore(ai): remove dead code (agent)
Removed unused `js/search/searchFacetState.js` and cleaned up broken calls in `js/searchView.js`.
2026-01-23 20:33:06 +00:00
thePR0M3TH3AN 1709972f14 Add embed action to video modal 2026-01-23 15:24:09 -05:00
thePR0M3TH3AN 4b48ce51db Merge pull request #1609 from PR0M3TH3AN/search-filter-modal-refactor-15315611825557158663
Replace search filter popover with responsive modal
2026-01-23 14:54:59 -05:00
google-labs-jules[bot] e6e002ee8b Refactor search filter to responsive modal
- Replaced `SearchFiltersPopover` with `SearchFilterModal`
- Implemented responsive design: wide on desktop, tall/skinny on mobile
- Added "Advanced" toggle for complex filters
- Integrated NSFW toggle with config check (`ALLOW_NSFW_CONTENT`)
- Updated `js/index.js` to use the new modal
- Removed legacy popover component
2026-01-23 19:52:50 +00:00
google-labs-jules[bot] f53bfbeccf Replace search filter popover with responsive modal
Replaces the existing search filter popover with a new responsive modal component to improve UI/UX on both desktop and mobile devices.

- Adds `components/search-filter-modal.html` implementing a responsive grid layout.
- Adds `js/ui/components/SearchFilterModal.js` to manage filter state and modal interactions.
- Updates `js/index.js` to bootstrap the new modal and bind trigger events.
- Removes obsolete `js/ui/components/SearchFiltersPopover.js`.
- Keeps advanced filters hidden by default behind a toggle.

Signed-off-by: Jules <[email protected]>
2026-01-23 19:41:10 +00:00
thePR0M3TH3AN 1fc045d895 Merge pull request #1608 from PR0M3TH3AN/ai/load-test-20260123-10636035677186190691
Add load testing script and local relay helper
2026-01-23 14:21:30 -05:00
google-labs-jules[bot] bc7c50d278 feat(infra): add load testing script (agent) 2026-01-23 19:19:16 +00:00
thePR0M3TH3AN cedd79fb49 Merge pull request #1607 from PR0M3TH3AN/codex/add-feature_search_filters-flag
Add FEATURE_SEARCH_FILTERS runtime flag and gate search filters UI
2026-01-23 14:18:13 -05:00
thePR0M3TH3AN 954a1ae4e6 Enable search filters flag in dev mode 2026-01-23 14:16:43 -05:00
thePR0M3TH3AN d639b712dd Restore search filter popover imports 2026-01-23 14:10:48 -05:00
thePR0M3TH3AN 861576db89 Gate advanced search filters behind toggle 2026-01-23 14:05:26 -05:00
thePR0M3TH3AN f3db9e7630 Add search filters feature flag 2026-01-23 13:54:23 -05:00
thePR0M3TH3AN 6fd50e2809 Merge pull request #1605 from PR0M3TH3AN/ai/debug-frontend-20241109-11968123522508426777
fix(ai): frontend console error — fix missing build artifact and admin list fetch warning (agent)
2026-01-23 13:51:35 -05:00
thePR0M3TH3AN ba1d4fa083 Merge pull request #1606 from PR0M3TH3AN/codex/add-unit-tests-for-filter-query-functions
Add unit coverage for search filter parsing and matching
2026-01-23 13:49:37 -05:00
thePR0M3TH3AN efcaf02e8c Add search filter unit tests 2026-01-23 13:48:54 -05:00
google-labs-jules[bot] a731ef6887 fix(ai): frontend console error — fix missing build artifact and admin list fetch warning (agent)
- Added `start` script to `package.json` to ensure `npm run build` is executed before serving, preventing 404 errors for `css/tailwind.generated.css`.
- Updated `js/adminListStore.js` to include the super admin pubkey (decoded from `ADMIN_SUPER_NPUB`) in the filter when fetching admin lists. This resolves the warning: `[adminListStore] Cannot use incremental fetch for editors without author.`
- Added `scripts/agent/debug_frontend.py` to diagnose frontend errors using Playwright.
- Verified fixes by running the debug script and confirming warnings are gone.
2026-01-23 18:45:36 +00:00
thePR0M3TH3AN 08e5620824 Merge pull request #1604 from PR0M3TH3AN/codex/enhance-filter-popover-accessibility
Improve search filter popover accessibility and keyboard shortcuts
2026-01-23 13:44:29 -05:00
thePR0M3TH3AN 040e9e0224 Merge branch 'unstable' into codex/enhance-filter-popover-accessibility 2026-01-23 13:43:29 -05:00
thePR0M3TH3AN 7eea5110b5 Improve search filter popover accessibility 2026-01-23 13:41:24 -05:00
thePR0M3TH3AN fd88c86065 Merge pull request #1601 from PR0M3TH3AN/jules-fix-sidebar-and-baseline-297374874061158968
Fix sidebar toggle timing and update video modal visual baseline
2026-01-23 13:39:02 -05:00
thePR0M3TH3AN 4a7b9dc602 Merge branch 'unstable' into jules-fix-sidebar-and-baseline-297374874061158968 2026-01-23 13:37:52 -05:00
google-labs-jules[bot] 03a54b999f fix(ui): initialize sidebar logic before app ready and update visual baseline
Moves the sidebar density and toggle initialization logic in `js/index.js` to execute immediately after `loadSidebar` completes, rather than waiting for `applicationReadyPromise`. This resolves a race condition where the sidebar toggle was unresponsive during application startup (e.g. relay connection), causing `overlay-layers.spec.ts` to timeout.

Also updates the visual baseline for `video-modal-mobile` in `kitchen-sink.spec.ts` to match current rendering (height change), addressing the reported visual regression failure.

Verified with reproduction script and running visual tests locally.
2026-01-23 18:36:38 +00:00
thePR0M3TH3AN 64a7e20eb5 Merge pull request #1603 from PR0M3TH3AN/codex/add-facet-counts-to-search-results
Add suggested facet counts to search filters popover
2026-01-23 13:35:29 -05:00
thePR0M3TH3AN d378ee2be6 Add suggested facet counts to search filters 2026-01-23 13:35:00 -05:00
thePR0M3TH3AN 90fded1d71 Merge branch 'unstable' into jules-fix-sidebar-and-baseline-297374874061158968 2026-01-23 13:30:06 -05:00
google-labs-jules[bot] a01814b962 fix(ui): initialize sidebar logic before app ready and update visual baseline
Moves the sidebar density and toggle initialization logic in `js/index.js` to execute immediately after `loadSidebar` completes, rather than waiting for `applicationReadyPromise`. This resolves a race condition where the sidebar toggle was unresponsive during application startup (e.g. relay connection), causing `overlay-layers.spec.ts` to timeout.

Also updates the visual baseline for `video-modal-mobile` in `kitchen-sink.spec.ts` to match current rendering (height change), addressing the reported visual regression failure.

Verified with reproduction script and running visual tests locally.
2026-01-23 18:28:50 +00:00
thePR0M3TH3AN 757c00d5c9 Merge pull request #1602 from PR0M3TH3AN/codex/add-preset-storage-and-sharing-features
Add search filter presets and shareable search link to filters popover
2026-01-23 13:23:21 -05:00
thePR0M3TH3AN 9a381b79db Add search filter presets 2026-01-23 13:22:02 -05:00