Commit Graph
4458 Commits
Author SHA1 Message Date
thePR0M3TH3AN db9a6b8e69 Merge pull request #1955 from PR0M3TH3AN/ai/smoke-tests-20250129-1837019461609586530
chore(ai): add smoke test script (agent)
2026-01-30 09:14:46 -05:00
thePR0M3TH3AN 50a14edb17 Merge pull request #1970 from PR0M3TH3AN/codex/update-dev-mode-flag-defaults-and-documentation
Harden dev-mode defaults with runtime overrides
2026-01-30 09:14:07 -05:00
thePR0M3TH3AN 31b5fc5c16 Harden dev mode defaults 2026-01-30 09:13:54 -05: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
google-labs-jules[bot]andPR0M3TH3AN 505d8dfc3c fix(deploy): update netlify config and smoke test
- Update `netlify.toml` to explicitly include redirect and header rules, ensuring they are picked up even if file copying fails or is inconsistent.
- Fix `scripts/agent/smoke-test.mjs` to ensure process cleanup on failure (avoiding zombie processes) and use polling for server startup (improving reliability).
- Verified smoke test passes locally.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-29 22:44:57 +00:00
google-labs-jules[bot]andPR0M3TH3AN 3c9f9841fc fix(test): mock load method in hashtagPreferences service
- Add `load: async () => {}` stub to `baseHashtagPreferences` in `tests/profile-modal-controller.test.mjs` to prevent `TypeError` during `handleAddHashtagPreference` test.
- Fixes CI failure in `tests/profile-modal-controller.test.mjs` where `this.hashtagPreferencesService.load` was undefined.
- Verified with `npm run test:unit:shard3`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-29 22:30:26 +00:00
google-labs-jules[bot]andPR0M3TH3AN 06dfe6278a chore(ai): add smoke test script (agent)
- Add scripts/agent/smoke-test.mjs for E2E verification
- Fix js/app.js to expose activeProfilePubkey and savedProfiles
- Fix tests/app-batch-fetch-profiles.test.mjs mocking (CI fix)
- Ensure smoke test uses Node.js compatible imports

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-29 22:00:17 +00:00
google-labs-jules[bot]andPR0M3TH3AN 624dabc576 chore(ai): add smoke test script (agent)
- Added `scripts/agent/smoke-test.mjs` which performs an end-to-e2e smoke test using a local relay, Node.js client, and headless Playwright browser.
- Fixed a bug in `js/app.js` where `activeProfilePubkey` and `savedProfiles` getters were missing, preventing auto-login and session restoration.
- The smoke test verifies:
    - Login flow (using ephemeral keys and localStorage injection).
    - Relay connection (using a local test relay).
    - Publish and Receive flow (Video Post).
    - DM Encryption/Decryption flow (Node.js client).

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-29 21:45:32 +00: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