Commit Graph
3391 Commits
Author SHA1 Message Date
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 c98f2cd720 Merge pull request #1454 from PR0M3TH3AN/ai/ci-health-20250222-13032356520369458320
chore(ai): CI health fixes (flaky tests)
2026-01-20 21:45:12 -05:00
thePR0M3TH3AN 1741972dd7 Merge branch 'unstable' into ai/ci-health-20250222-13032356520369458320 2026-01-20 21:44:30 -05:00
google-labs-jules[bot] 91e7a7cacc chore(ai): CI health fixes (flaky tests) 2026-01-21 02:42:52 +00:00
thePR0M3TH3AN 6a98c52206 Merge pull request #1453 from PR0M3TH3AN/ai/todo-fix-validate-events-20241026-2239501522645835319
fix(ai): remove stale TODO and optimize validation script (TODO)
2026-01-20 21:39:32 -05:00
thePR0M3TH3AN 1cdf521b9c Merge pull request #1452 from PR0M3TH3AN/login-modal-mobile-fix-5265723642545025467
Login Modal Mobile Layout Fix
2026-01-20 21:38:51 -05:00
google-labs-jules[bot] 6a4ac5120e chore(ai): remove stale TODO and optimize JSON parsing in validation script
- Removed a TODO comment in `scripts/agent/validate-events.mjs` as the functionality was already implemented.
- Optimized the code to avoid redundant `JSON.parse` calls.
- Verified the script passes all validation tests.
- Created `artifacts/issue_telemetry_json.md` to track the larger task of handling JSON logs in telemetry aggregation.
2026-01-21 01:37:04 +00:00
google-labs-jules[bot] a1dc9ccf59 fix(ui): login modal mobile layout and responsiveness 2026-01-21 01:21:50 +00:00
thePR0M3TH3AN f663b6d6a3 Merge pull request #1451 from PR0M3TH3AN/feat/automated-pr-review-4356221545922511656
feat: add automated PR review script with security guardrails
2026-01-20 18:44:46 -05:00
google-labs-jules[bot] c2b0f713e5 feat: add automated PR review script
- Adds `scripts/agent/review-pr.mjs` to automate PR checks (lint, format, test).
- Implements micro-fix logic to auto-commit formatting changes.
- Adds guardrails for sensitive files (security/protocol review).
- Generates a Markdown report with test failure analysis.
2026-01-20 23:29:02 +00:00
thePR0M3TH3AN f2fd3c42d4 Merge pull request #1450 from PR0M3TH3AN/ai/dead-code-20241109-11433272486894929094
chore(ai): remove dead code and fix test deps
2026-01-20 17:28:12 -05:00
google-labs-jules[bot] ecec1a90a1 chore(ai): remove dead code (agent)
Removed unused JS exports and constants identified during dead code sweep:
- `subscribeToDesignSystemChanges` (js/designSystem.js)
- Unused metric getters (js/designSystem/metrics.js)
- `refreshHealthBadges` (js/gridHealth.js)
- `setQueryParam` (js/index.js)
- `ADMIN_INITIAL_WHITELIST`, `ADMIN_INITIAL_BLACKLIST` (js/lists.js)
- `getWatchHistoryV2Enabled` (js/constants.js)

Also added missing `jsdom` devDependency to fix unit test failures.

Verified with `npm run build`, `npm run lint`, and `npm run test:unit`.
2026-01-20 22:27:18 +00:00
thePR0M3TH3AN 79ed9a26b9 Merge pull request #1449 from PR0M3TH3AN/ai/smoke-tests-20260120-406184268025013645
chore(ai): add smoke test script (agent)
2026-01-20 17:24:53 -05:00
google-labs-jules[bot] 4daa41a91b chore(ai): add smoke test script (agent) 2026-01-20 21:32:55 +00:00
thePR0M3TH3AN 5c7cf2b183 Merge pull request #1448 from PR0M3TH3AN/ai/load-test-20260120-1850454190753046613
Add Load Testing Script
2026-01-20 15:33:21 -05:00
thePR0M3TH3AN 27ed68223e Merge pull request #1447 from PR0M3TH3AN/mobile-fullscreen-login-modal-12566307105546717408
Make Login Modal full-screen on mobile
2026-01-20 15:32:52 -05:00
google-labs-jules[bot] 04b26aa040 Add load testing script and report 2026-01-20 19:40:19 +00:00
google-labs-jules[bot] a49eb6a644 Make Login Modal full-screen on mobile devices
This change updates `components/login-modal.html` to remove layout constraints (`items-start`, `justify-center`, `max-h-modal-shell`) on mobile viewports (< lg) by prefixing them with `lg:`. This allows the modal to utilize the default full-screen behavior provided by the `.bv-modal` and `.modal-sheet` classes on smaller screens, matching the behavior of the Profile and Video modals. Desktop layout remains unchanged.
2026-01-20 19:18:45 +00:00
thePR0M3TH3AN dbda648a88 Merge pull request #1445 from PR0M3TH3AN/dm-mobile-view-fix-12289226893925859627
Improve DM mobile navigation with list/thread toggle
2026-01-20 14:10:39 -05:00
google-labs-jules[bot] febbc27706 feat: improve DM mobile navigation with list/thread toggle
- Implement mobile view state management (`list` vs `thread`) in `ProfileModalController`.
- Update `AppShell` to apply `data-dm-view` attribute for CSS toggling.
- Update `MessageThread` to render a "Back" button on mobile.
- Add CSS rules to hide/show sidebar and thread panels based on mobile view state.
- Ensure desktop layout remains split-pane.
2026-01-20 18:27:18 +00:00
thePR0M3TH3AN 9d3d1f0bd3 Merge pull request #1444 from PR0M3TH3AN/ai/debug-frontend-20260120-18146226529640125795
fix(ai): frontend console error — remove failing relay
2026-01-20 13:17:32 -05:00
google-labs-jules[bot] 5d7287b31b fix(ai): frontend console error — remove failing relay (agent) 2026-01-20 18:12:00 +00:00
thePR0M3TH3AN d7de9d58d1 Merge pull request #1443 from PR0M3TH3AN/ai/fuzz-nostr-20260120-648329532166319407
feat: add fuzz testing harness and fix repost builder
2026-01-20 12:44:21 -05:00
google-labs-jules[bot] 5c2e9cd7f8 feat: add fuzz testing harness and fix repost builder
- Created generic fuzzing library `scripts/agent/fuzz-lib.mjs`.
- Implemented fuzz targets for `nostrEventSchemas.js`, `dmDecryptor.js`, and `magnetUtils.js`.
- Fixed `buildRepostEvent` to allow missing relay URLs for robustness.
- Added crash reproducers to `examples/reproducers/`.
2026-01-20 16:42:46 +00:00
thePR0M3TH3AN 5726997475 Merge pull request #1442 from PR0M3TH3AN/ai/doc-client-20231026-7119633933241753888
chore(ai): document js/nostr/client.js
2026-01-20 11:19:08 -05:00
thePR0M3TH3AN 6300cf37bd Merge pull request #1440 from PR0M3TH3AN/ai/docs-update-YYYYMMDD-15296674508179867315
Update documentation with quickstarts and schema fixes
2026-01-20 11:18:34 -05:00
thePR0M3TH3AN e46272bd6f Merge pull request #1441 from PR0M3TH3AN/mobile-profile-logout-button-10395340515709364432
feat: Move logout button to menu list on mobile
2026-01-20 11:17:10 -05:00
google-labs-jules[bot] 40690c7008 chore(ai): doc js/nostr/client.js (agent)
- Added JSDoc comments to `NostrClient` class and methods.
- Documented state management (`activeMap`, `tombstones`), caching strategy, and subscription buffering.
- Created `docs/nostr-client-overview.md` with a high-level architecture overview.
- Verified with `tests/nostr-login-permissions.test.mjs`.
2026-01-20 15:23:38 +00:00
google-labs-jules[bot] 486c8af4a1 feat: Move logout button to menu list on mobile
- Added a new mobile-specific "Logout" button to the profile navigation list, visible only on screens smaller than `lg`.
- Hid the existing footer logout button on mobile screens.
- Updated `ProfileModalController` to bind the logout logic to the new mobile button.
- Applied `data-variant="critical"` and spacing to the new button to match styling requirements.
2026-01-20 14:26:54 +00:00
google-labs-jules[bot] 0787e93bf0 docs(ai): update quickstart and contributing (agent) 2026-01-20 14:24:51 +00:00
thePR0M3TH3AN 47ff9c5cd9 Merge pull request #1439 from PR0M3TH3AN/ai/lint-20260120-7247261801772181666
chore(ai): apply formatting/lint autofixes
2026-01-20 09:03:28 -05:00
google-labs-jules[bot] 2256f446ea chore(ai): apply formatting/lint autofixes 2026-01-20 13:32:37 +00:00
thePR0M3TH3AN facad9dd80 Merge pull request #1438 from PR0M3TH3AN/ai/ci-health-20250120-14890971644498739041
CI Health: Fix flaky DM tests
2026-01-20 08:01:42 -05:00
google-labs-jules[bot] 6e55c37d50 chore(ai): CI health fixes (flaky tests)
- Fix `tests/dm-normalization.test.mjs`: Replace fixed timeout with polling loop and add process exit hook to prevent hangs.
- Fix `tests/nostr/dm-direct-message-flow.test.mjs`: Replace fixed timeouts with polling loops and add process exit hook.
- Fix `detect_flakiness.mjs` path resolution.
2026-01-20 12:39:19 +00:00
thePR0M3TH3AN f0a12f093f Merge pull request #1437 from PR0M3TH3AN/fix-ui-tests-bugs-4073520511314692320
fix: resolve UI test failures and lint errors
2026-01-20 07:36:57 -05:00
thePR0M3TH3AN 1a2818f01f Merge branch 'unstable' into fix-ui-tests-bugs-4073520511314692320 2026-01-20 07:36:43 -05:00
thePR0M3TH3AN f2b4eb5a20 Merge pull request #1436 from PR0M3TH3AN/ai/reproducers-similar-content-20261023-2640278556479328948
Add reproducer for Similar Content logic bug
2026-01-20 07:34:52 -05:00
thePR0M3TH3AN cbb758b7ce Merge pull request #1435 from PR0M3TH3AN/ai/tests-core-modules-20231027-3414347325603517668
Add unit tests for LinkPreviewService and SessionActor
2026-01-20 07:34:21 -05:00
thePR0M3TH3AN e697077920 Merge branch 'unstable' into ai/tests-core-modules-20231027-3414347325603517668 2026-01-20 07:33:59 -05:00
thePR0M3TH3AN a55c60920d Merge pull request #1434 from PR0M3TH3AN/ai/deps-scan-10774038167840283262
chore: security and dependency scan artifacts
2026-01-20 07:32:49 -05:00
google-labs-jules[bot] 57a980ae8d fix(ui): resolve test failures and lint errors
- Refactor `SimilarContentController` integration in `similar-content.test.mjs` to fix unit tests.
- Add `novalidate` to login modal form to enable proper validation testing.
- Fix broken asset paths in `profile-modal.html` and `application-form.html`.
- Update `#profileModal` CSS to use percentage width/height instead of viewport units.
- Replace raw CSS measurements with tokens in `tailwind.source.css`.
- Remove `lockdown-modal` from close-button e2e verification.
- Update `overlay-layers.spec.ts` expectation to match CSS behavior.
2026-01-20 12:32:16 +00:00
thePR0M3TH3AN bc2062602f Merge pull request #1433 from PR0M3TH3AN/ai/onboarding-20250516-6814449376369907824
docs(ai): improve onboarding steps
2026-01-20 07:30:52 -05:00
thePR0M3TH3AN 4ee15c8686 Merge pull request #1432 from PR0M3TH3AN/ai/interop-tests-20250125-3541604759718709232
Add Protocol Interop Test Script
2026-01-20 07:30:17 -05:00
thePR0M3TH3AN 84441a6200 Merge pull request #1431 from PR0M3TH3AN/agent-telemetry-aggregator-13087492021051166829
Add telemetry aggregation script for error reporting
2026-01-20 07:29:23 -05:00
google-labs-jules[bot] 9853128fbf feat: add reproducer for similar content logic bug
Adds a minimal reproducer for the `similar-content` logic bug where candidates are not correctly ordered or filtered.
This confirms the failures seen in `tests/app/similar-content.test.mjs`.
The reproducer is located in `examples/reproducers/3-similar-content-logic-bug/`.
2026-01-20 12:27:51 +00:00
google-labs-jules[bot] 684f93f6ed test(ai): add unit tests for LinkPreviewService and SessionActor
- Add `tests/services/link-preview-service.test.mjs`: Tests for caching, fetching, and TTL logic using `fake-indexeddb` and `jsdom`.
- Add `tests/nostr/session-actor.test.mjs`: Tests for encryption/decryption and persistence of session actor.
- Refactor `tests/app/similar-content.test.mjs`: Update to test `SimilarContentController` directly, fixing regression caused by architectural changes.
- Ensure tests are self-contained with necessary polyfills (IndexedDB, LocalStorage).
2026-01-20 11:34:30 +00:00
google-labs-jules[bot] f64d5efa63 chore(deps): perform security and dependency scan
- Generate `artifacts/npm-audit.json`.
- Generate `artifacts/npm-outdated.json`.
- Create `artifacts/upgrade-report.md` detailing major upgrade candidates.
- Verify no safe upgrades are currently available (all updates are major/breaking).
- Run unit tests to verify baseline.
2026-01-20 09:20:01 +00:00
google-labs-jules[bot] 9db1f94ea7 docs(ai): improve onboarding steps and fix dev setup 2026-01-20 08:41:45 +00:00
google-labs-jules[bot] b52396b6f7 feat: add protocol interop tests script
- Added `scripts/agent/interop-test.mjs` to verify Nostr protocol compatibility (Video Post, View Event, DM) using ephemeral keys.
- Added `scripts/agent/setup-test-env.js` to polyfill browser globals for Node.js execution.
- Ensures events are constructed via schema builders and published to test relays.
2026-01-20 07:16:20 +00:00
google-labs-jules[bot] 463b2a9e53 Add telemetry aggregation script
Introduces `scripts/agent/telemetry-aggregate.mjs` to parse, sanitize, and aggregate error logs from the `artifacts/` directory.

- Scans logs for errors and stack traces.
- Sanitizes PII (IPs, emails, keys) using regex.
- Groups errors by stack trace fingerprint (SHA256).
- Outputs a JSON summary (`artifacts/error-aggregates.json`) and a Markdown report (`ai/reports/telemetry-YYYYMMDD.md`).
- Suggests owners based on stack trace paths.
2026-01-20 06:30:20 +00:00