Commit Graph
4453 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN 7a3476f926 fix: flaky unit test in profile batch fetcher
Updated `tests/app-batch-fetch-profiles.test.mjs` to correctly mock `readRelays` in addition to `relays` and `writeRelays`. `profileMetadataService.js` prioritizes `readRelays`, causing the test to make unexpected network calls when falling back to default values. This fix ensures the test isolation holds and assertions pass consistently.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 07:37:47 +00:00
google-labs-jules[bot]andPR0M3TH3AN 7ac4d4eee7 feat: add Nostr interop test script
This script validates protocol interoperability by publishing Video Post and View events, and sending Encrypted DMs using ephemeral keys against public relays. It ensures the NostrClient facade and event builders function correctly in a Node.js environment.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 07:34:26 +00:00
thePR0M3TH3AN 73c705831b Merge pull request #1958 from PR0M3TH3AN/codex/add-batching-and-debouncing-to-ui-updates
Debounce direct-message UI updates (250ms)
2026-01-29 19:07:40 -05:00
thePR0M3TH3AN 2726ee9ed4 Batch direct message UI updates 2026-01-29 19:07:29 -05:00
thePR0M3TH3AN 4d1c9f8ec9 Merge pull request #1957 from PR0M3TH3AN/codex/identify-cache-modules-for-profiles-and-dms
Merge cached profile fields and stabilize DM cache merging
2026-01-29 19:01:34 -05:00
thePR0M3TH3AN f0f36e7c7b Merge cached profile and DM data safely 2026-01-29 19:01:11 -05:00
thePR0M3TH3AN 8779cd2524 Merge pull request #1954 from PR0M3TH3AN/codex/refactor-subscription-logic-and-add-logging
Centralize relay subscriptions and route profile fetches through metadata service
2026-01-29 16:32:23 -05:00
thePR0M3TH3AN a196e95127 Centralize relay list subscriptions 2026-01-29 16:32:11 -05:00
thePR0M3TH3AN 25e51cd5a0 Merge pull request #1953 from PR0M3TH3AN/codex/locate-nip-07-login-flow
Immediate UI update on NIP-07 login and parallelize profile/lists/DM hydration
2026-01-29 16:13:47 -05:00
thePR0M3TH3AN bba94b9908 Improve login hydration parallelism 2026-01-29 16:13:35 -05:00
thePR0M3TH3AN 901e8248a5 Merge pull request #1952 from PR0M3TH3AN/codex/audit-dm-fetching-logic-for-nip-04-and-nip-44
Include NIP-04 and NIP-44 kinds in DM filters
2026-01-29 16:09:07 -05:00
thePR0M3TH3AN 4b1725b1f1 Expand DM filters for gift-wrapped events 2026-01-29 16:08:52 -05:00
thePR0M3TH3AN 603e6b45f2 Merge pull request #1951 from PR0M3TH3AN/codex/add-batching-and-debouncing-for-relay-events
Batch relay-driven UI refreshes
2026-01-29 16:05:19 -05:00
thePR0M3TH3AN 7596f8b8fd Batch relay-driven UI refreshes 2026-01-29 16:05:03 -05:00
thePR0M3TH3AN 78618f47b4 Merge pull request #1950 from PR0M3TH3AN/codex/inspect-and-improve-relay-connection-logic
Harden relay reconnects with bounded backoff and per-relay circuit breakers
2026-01-29 16:01:23 -05:00
thePR0M3TH3AN f4e2177af2 Add relay reconnect backoff and circuit breakers 2026-01-29 16:01:12 -05:00
thePR0M3TH3AN b58b4b0df6 Merge pull request #1949 from PR0M3TH3AN/codex/review-and-update-logout-flow-cache-handling
Reset profile and DM caches on logout
2026-01-29 15:55:14 -05:00
thePR0M3TH3AN 1642b787ec Reset caches on logout 2026-01-29 15:54:44 -05:00
thePR0M3TH3AN 3b3e7c757c Merge pull request #1948 from PR0M3TH3AN/codex/split-hydration-into-tiers-for-data-fetch
Tiered post-login hydration; defer blocks and reduce DM payloads
2026-01-29 15:43:48 -05:00
thePR0M3TH3AN aad2fe465a Tier login hydration and trim DM fetch 2026-01-29 15:43:34 -05:00
thePR0M3TH3AN 83efdfcec7 Merge pull request #1947 from PR0M3TH3AN/codex/locate-dm-state-management-in-cache
Merge paged DM results into stable cache keyed by event id
2026-01-29 15:33:14 -05:00
thePR0M3TH3AN 57d68846d1 Merge paged DM results into cache 2026-01-29 15:33:03 -05:00
thePR0M3TH3AN a127a71a73 Merge pull request #1945 from PR0M3TH3AN/codex/consolidate-fetch-calls-for-data-types
Consolidate profile metadata fetching and dedupe list/DM subscriptions
2026-01-29 15:25:21 -05:00
thePR0M3TH3AN 89b8d124fa Consolidate profile metadata fetches 2026-01-29 15:25:08 -05:00
thePR0M3TH3AN d698eff9cd Merge pull request #1944 from PR0M3TH3AN/codex/implement-nip-07-login-flow-updates
Improve login flow concurrency and loading states
2026-01-29 15:13:28 -05:00
thePR0M3TH3AN e9db549406 Update login flow loading states 2026-01-29 15:13:12 -05:00
thePR0M3TH3AN 8e26d7bed8 Merge pull request #1941 from PR0M3TH3AN/codex/update-non-blocking-auth-login-flow
Defer decrypt permission prompts; surface “loading in background” for hashtag prefs & subscriptions
2026-01-29 13:08:48 -05:00
thePR0M3TH3AN 379287c87c Defer subscription and hashtag decrypt prompts 2026-01-29 13:08:35 -05:00
thePR0M3TH3AN 2ed1a37518 Merge pull request #1940 from PR0M3TH3AN/codex/update-dm-hydration-and-activepubkey-handling
Load direct messages during login and guard identity refresh
2026-01-29 12:47:05 -05:00
thePR0M3TH3AN ce5e0e5726 Load DMs on login and fix identity refresh 2026-01-29 12:46:54 -05:00
thePR0M3TH3AN 66ba0b81a6 Merge pull request #1939 from PR0M3TH3AN/codex/decide-ownership-for-block-list-loading
Centralize block list loading in AuthService (remove app-level load)
2026-01-29 12:44:17 -05:00
thePR0M3TH3AN 377e6283a7 Remove duplicate block list load from app login 2026-01-29 12:43:58 -05:00
thePR0M3TH3AN 0cf39bce79 Merge pull request #1938 from PR0M3TH3AN/codex/refactor-authservice-for-partial-results
Emit post-login hydration updates without blocking login
2026-01-29 12:41:18 -05:00
thePR0M3TH3AN 95dc380f54 Emit post-login hydration events 2026-01-29 12:40:50 -05:00
thePR0M3TH3AN f46d90d1ae Merge pull request #1937 from PR0M3TH3AN/codex/add-extension-warm-up-routine-and-updates
Warm up NIP-07 extension readiness cache
2026-01-29 12:33:44 -05:00
thePR0M3TH3AN 589fdd2ec4 Warm up NIP-07 extension state 2026-01-29 12:33:27 -05:00
thePR0M3TH3AN a3b5bbb84f Merge pull request #1927 from PR0M3TH3AN/ai/doc-nostr-client-20250626-113034413351037010
chore(ai): document js/nostr/client.js
2026-01-29 11:56:30 -05:00
thePR0M3TH3AN ac4d27d5cc Merge pull request #1934 from PR0M3TH3AN/ai/fuzz-targets-20250125-13947639872878528331
Add fuzzing harnesses for Nostr schemas, DM decryptor, and magnet utils
2026-01-29 11:55:50 -05:00
thePR0M3TH3AN d04a8b1bf5 Merge pull request #1930 from PR0M3TH3AN/ds-audit/2026-01-29-15242833868872636900
Daily Design System Audit Remediation
2026-01-29 11:55:26 -05:00
google-labs-jules[bot]andPR0M3TH3AN 8fd9fb4a18 chore: Add daily design system audit script
- Add `audit` script to `package.json`.
- Add `scripts/daily-design-system-audit.mjs` implementation.
- Update `scripts/daily-design-system-audit.mjs` to explicitly lint `css/docs.css`.
- Revert changes to `lint:css` in `package.json` to prevent potential CI regressions.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-29 16:53:51 +00:00
thePR0M3TH3AN 66299b005a Merge pull request #1936 from PR0M3TH3AN/codex/find-missing-dm-ui
Move DM relay hints into DM settings popover
2026-01-29 11:52:53 -05:00
thePR0M3TH3AN c4a00653f4 Move DM relay settings into DM settings popover 2026-01-29 11:52:41 -05:00
google-labs-jules[bot]andPR0M3TH3AN 0669f779cf Fix CI deploy failure by reverting tracked dist changes and cleaning scripts
- Reverted accidental changes to `dist/` directory to prevent deployment conflicts.
- Ensured `scripts/agent/fuzz-lib.mjs` and `scripts/agent/setup-test-env.js` are correctly tracked.
- Removed legacy fuzz scripts (`fuzz-nostr-schemas.mjs`, etc.) and verified new camelCase naming.
- Verified local build (`npm run build`) passes.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-29 16:50:25 +00:00
thePR0M3TH3AN 73399751e0 Merge pull request #1935 from PR0M3TH3AN/codex/add-refresh-buttons-and-handlers-to-profile-modal
Wire profile modal refresh buttons
2026-01-29 11:35:29 -05:00
thePR0M3TH3AN f116fff337 Wire profile modal refresh buttons 2026-01-29 11:35:15 -05:00
google-labs-jules[bot]andPR0M3TH3AN 8b193cf297 chore(ai): fix e2e test race condition and doc js/nostr/client.js (agent)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-29 16:32:04 +00:00
google-labs-jules[bot]andPR0M3TH3AN 28da9e1642 Add fuzzing harnesses for Nostr schemas, DM decryptor, and magnet utils
- Created `scripts/agent/fuzz-nostrEventSchemas.mjs`, `scripts/agent/fuzz-dmDecryptor.mjs`, and `scripts/agent/fuzz-magnetUtils.mjs`.
- Utilized `scripts/agent/fuzz-lib.mjs` for standardized random input generation and reporting.
- Removed legacy/duplicate fuzz scripts (`fuzz-nostr-schemas.mjs`, etc.) in favor of the new standardized ones.
- Verified all fuzzers run successfully with no crashes using 5000 iterations.
- Added huge string injection (1MB+) to stress test inputs.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-29 16:31:38 +00:00
google-labs-jules[bot]andPR0M3TH3AN 6f4a432fa0 chore: Add daily design system audit script
- Add `audit` script to `package.json`.
- Add `scripts/daily-design-system-audit.mjs` implementation.
- Update `lint:css` to include `css/docs.css`.
- Ensure `package-lock.json` remains consistent with `unstable` to avoid CI failures.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-29 16:30:37 +00:00
thePR0M3TH3AN 142ab8c9dd Merge pull request #1933 from PR0M3TH3AN/codex/update-profile-modal-with-refresh-buttons
Add refresh icon buttons to Profile Modal headers
2026-01-29 11:30:21 -05:00
thePR0M3TH3AN 9a5a1fe542 Add refresh icon buttons to profile modal 2026-01-29 11:30:09 -05:00