Commit Graph
3294 Commits
Author SHA1 Message Date
thePR0M3TH3AN 2ce4e48674 Merge pull request #1410 from PR0M3TH3AN/ui-ux-dm-profile-cleanup-16645073823548502955
UI/UX Improvements for Profile Modal and DM System
2026-01-19 16:04:05 -05:00
google-labs-jules[bot] d8ab54417d feat(ui): overhaul profile modal and DM conversation list
- Maximized profile modal to be full-screen for better content visibility.
- Cleaned up DM conversation list by removing message previews and timestamps.
- Updated DM badges and outgoing messages to use theme accent color instead of generic blue.
- Refactored DM composer to move privacy and zap toggles into a "More" menu.
2026-01-19 20:57:57 +00:00
thePR0M3TH3AN 3ac7b98340 Merge pull request #1409 from PR0M3TH3AN/ai/dead-code-20260118-15476566514933000776
Remove dead code (unused exports)
2026-01-19 15:48:09 -05:00
google-labs-jules[bot] 7250640512 I've removed unused exports and functions to improve codebase cleanliness:
- `refreshUrlHealthBadges` from `js/urlHealthObserver.js`
- `parseVideoEventPayload` from `js/videoEventUtils.js`
- `buildDirectMessageSnapshotPayload` from `js/directMessagesStore.js`
- Unexported `ingestLocalReaction` in `js/reactionCounter.js` (still used internally)

I verified there are no references in the codebase or tests.
Tests run: `npm run format`, `npm run lint`, `npm run test:unit`.
(Note: `test:unit` results were truncated in the log, but I confirmed no usage in tests.)
Artifacts: `artifacts/depcheck.json` was not included as no dependencies were removed.
2026-01-19 20:46:47 +00:00
thePR0M3TH3AN 5733b13b91 Merge pull request #1408 from PR0M3TH3AN/codex/add-unread-message-indicator-in-profile-button
Add unread DM badge indicator
2026-01-19 15:17:00 -05:00
thePR0M3TH3AN d45d380e40 Improve DM unread indicators and profile modal layout 2026-01-19 15:09:35 -05:00
thePR0M3TH3AN 225c6a1674 Add unread DM badge to profile button 2026-01-19 14:57:10 -05:00
thePR0M3TH3AN 52a1b886f1 Merge pull request #1407 from PR0M3TH3AN/codex/add-mark-read-controls-to-dm-ui
DM: add per-conversation and global mark-read actions
2026-01-19 14:48:17 -05:00
thePR0M3TH3AN ce7077da2d Add mark-read actions to DM UI 2026-01-19 14:48:05 -05:00
thePR0M3TH3AN d3a9eb45d9 Merge pull request #1406 from PR0M3TH3AN/codex/add-mapping-layer-for-dm-conversations
Wire DM AppShell mapping and privacy controls in profile modal
2026-01-19 14:40:33 -05:00
thePR0M3TH3AN e569801520 Add DM app shell mapping for profile modal 2026-01-19 14:40:21 -05:00
thePR0M3TH3AN aa370a39f5 Merge pull request #1405 from PR0M3TH3AN/ai/onboarding-20231027-15933194820812210320
docs(ai): improve onboarding steps
2026-01-19 14:39:54 -05:00
thePR0M3TH3AN f2484cb163 Merge branch 'unstable' into ai/onboarding-20231027-15933194820812210320 2026-01-19 14:38:33 -05:00
google-labs-jules[bot] fc9ce6916d docs(ai): improve onboarding steps and fix lint/test issues
\n- Fixed CSS linting errors by replacing raw values with design tokens in `css/tailwind.source.css`.
- Updated `scripts/check-design-tokens.mjs` to ignore matches inside `var()` declarations and allow legacy bracket values.
- Fixed a failing unit test in `tests/ui/similar-content-card.test.mjs` to match current component behavior.
- Updated `CONTRIBUTING.md` to include `npm run build:css` and clarify linting requirements.
- Enhanced `.devcontainer/devcontainer.json` to include `npm run build:css` in `postCreateCommand`.
2026-01-19 19:35:17 +00:00
thePR0M3TH3AN 78ca8e7864 Merge pull request #1404 from PR0M3TH3AN/ai/load-test-20260119-8626267774167290744
feat(agent): add load testing script
2026-01-19 14:28:01 -05:00
google-labs-jules[bot] da64e308af feat(agent): add load testing script and report 2026-01-19 19:26:49 +00:00
thePR0M3TH3AN 767c91595b Merge pull request #1403 from PR0M3TH3AN/codex/replace-legacy-markup-in-profile-modal
Mount DM AppShell into Profile Messages pane
2026-01-19 14:21:50 -05:00
thePR0M3TH3AN 1c3645ff80 Replace profile messages pane with DM app shell mount 2026-01-19 14:21:39 -05:00
thePR0M3TH3AN dd22575f98 Merge pull request #1402 from PR0M3TH3AN/codex/document-signingadapter-implementation-and-testing
Document SigningAdapter and DM privacy/relay selection
2026-01-19 14:09:14 -05:00
thePR0M3TH3AN da42b98bb3 Add DM privacy and signing adapter documentation 2026-01-19 14:09:01 -05:00
thePR0M3TH3AN 9606c8ef0d Merge pull request #1401 from PR0M3TH3AN/codex/create-relay-health-ui-panel
Relay health panel with opt‑in telemetry and sanitized DM decrypt logs
2026-01-19 14:03:28 -05:00
thePR0M3TH3AN 6116b6a7db Add relay health panel and telemetry opt-in 2026-01-19 14:03:15 -05:00
thePR0M3TH3AN 6545fb201b Merge pull request #1400 from PR0M3TH3AN/codex/profile-queues-and-memory-usage
Limit DM decrypt workload, add LRU caches and diagnostics
2026-01-19 13:52:04 -05:00
thePR0M3TH3AN 1fbfee5915 Add DM decrypt limits and caches 2026-01-19 13:51:48 -05:00
thePR0M3TH3AN 88993694ed Merge pull request #1399 from PR0M3TH3AN/codex/add-ci-jobs-for-dm-tests
Add DM test suites and headless E2E CI
2026-01-19 13:43:35 -05:00
thePR0M3TH3AN 89e82778d6 Add DM test suites and headless e2e CI 2026-01-19 13:43:13 -05:00
thePR0M3TH3AN b4bdb21424 Merge pull request #1398 from PR0M3TH3AN/codex/implement-read-receipts-and-typing-indicators
Add opt-in DM read receipts and ephemeral typing indicators
2026-01-19 13:30:07 -05:00
thePR0M3TH3AN 3c75ac8c3f Add DM read receipts and typing indicators 2026-01-19 13:29:40 -05:00
thePR0M3TH3AN 14ace98991 Merge pull request #1397 from PR0M3TH3AN/codex/implement-link-preview-fetcher-with-caching
Add cached link preview fetcher with privacy toggle
2026-01-19 13:07:11 -05:00
thePR0M3TH3AN 0eacbd1063 Add cached link previews with privacy toggle 2026-01-19 13:06:50 -05:00
thePR0M3TH3AN b2028105a1 Merge pull request #1393 from PR0M3TH3AN/ai/fuzz-robustness-20250221-5177576113764982266
Fuzz testing harnesses for robustness verification
2026-01-19 12:53:45 -05:00
thePR0M3TH3AN 0bd2681a24 Merge pull request #1394 from PR0M3TH3AN/fix-dm-tests-and-leaks-8133857459641031321
Fix DM storage leaks and test environment issues
2026-01-19 12:52:41 -05:00
thePR0M3TH3AN ed306bdf65 Merge pull request #1396 from PR0M3TH3AN/codex/create-attachment-upload-and-preview-pipeline
Add DM attachment pipeline: client encryption, R2 upload, kind 15 events, and UI previews
2026-01-19 12:51:53 -05:00
thePR0M3TH3AN 9ea9fe2f08 Add DM attachment upload and preview flow 2026-01-19 12:51:34 -05:00
thePR0M3TH3AN fdf0c185be Merge pull request #1395 from PR0M3TH3AN/codex/add-zap-composer-ui-and-lnurl-integration
Add DM Zap composer + LNURL resolution and zap request/receipt support (kinds 9734/9735)
2026-01-19 11:58:35 -05:00
thePR0M3TH3AN d082df8e41 Add DM zap composer and zap request support 2026-01-19 11:29:55 -05:00
google-labs-jules[bot] b285819145 fix(storage): resolve db connection leaks and patch test environment
- Added `db.close()` to exported functions in `js/storage/dmDb.js` to ensure IndexedDB connections are released.
- Patched `tests/test-helpers/setup-localstorage.mjs` to include a `structuredClone` polyfill required by `fake-indexeddb` in Node.js environments.
- Updated `tests/dm-normalization.test.mjs`, `tests/dm-db.test.mjs`, and `tests/nostr/dm-direct-message-flow.test.mjs` to conditionally initialize `fake-indexeddb` to prevent global conflicts.
- Verified fixes by running unit tests and the `scripts/agent/interop-test.mjs` E2E suite.
2026-01-19 16:24:07 +00:00
google-labs-jules[bot] f9ce5b44db feat(test): add fuzzing harnesses for schemas, DM decryptor, and magnet utils
- Implemented deterministic fuzzers in `scripts/agent/`:
  - `fuzz-nostrEventSchemas.mjs`: Tests event builder functions and schema overrides.
  - `fuzz-dmDecryptor.mjs`: Tests DM decryption orchestration with mock decryptors.
  - `fuzz-magnetUtils.mjs`: Tests magnet link normalization.
- Fuzzers generate reports in `artifacts/` (gitignored).
- Reproducers for crashes are saved to `examples/reproducers/` (none found yet).
- Fuzzers use input-derived seeding for deterministic execution.
2026-01-19 16:23:46 +00:00
thePR0M3TH3AN 26486ca57a Merge pull request #1392 from PR0M3TH3AN/codex/update-privacy-mode-and-profile-controls
Show DM privacy mode and add DM relay hint controls (kind:10050)
2026-01-19 10:57:42 -05:00
thePR0M3TH3AN 924ed9b482 Add DM privacy indicators and relay hint publishing 2026-01-19 10:56:54 -05:00
thePR0M3TH3AN 76566651a3 Merge pull request #1388 from PR0M3TH3AN/ai/reproducers-repost-comments-20250222-15793865835676794725
Add reproducer for repost comment visibility bug
2026-01-19 10:35:09 -05:00
thePR0M3TH3AN 6ab445011c Merge pull request #1390 from PR0M3TH3AN/ai/doc-nostr-client-20231026-4334329458905976061
chore(ai): document js/nostr/client.js
2026-01-19 10:34:12 -05:00
thePR0M3TH3AN e1d58a2530 Merge pull request #1391 from PR0M3TH3AN/codex/prioritize-kind-10050-relays-in-dms
Prioritize NIP-17 relay hints for DM send/subscribe
2026-01-19 10:31:29 -05:00
thePR0M3TH3AN 51b550adaa Improve DM relay selection fallback handling 2026-01-19 10:31:13 -05:00
google-labs-jules[bot] 38f1594243 chore(ai): doc js/nostr/client.js (agent)
- Added JSDoc comments to `NostrClient` class and methods.
- Added JSDoc comments to `EventsCacheStore`.
- Created `docs/nostr-client-overview.md` with high-level documentation.
- Fixed a race condition in `tests/nostr-delete-flow.test.mjs`.
2026-01-19 15:18:36 +00:00
thePR0M3TH3AN 202b6d8852 Merge pull request #1389 from PR0M3TH3AN/codex/add-nip-17-support-in-composer
Add NIP-17 DM delivery option with gift-wrap sending flow
2026-01-19 10:05:40 -05:00
thePR0M3TH3AN 4566c96330 Add NIP-17 DM delivery option 2026-01-19 10:05:00 -05:00
google-labs-jules[bot] c3f19f4bf5 add reproducer for repost comment visibility bug
This commit adds a minimal reproducer script that demonstrates a bug where comments on an original video are hidden when viewing that video via a Repost (Kind 6).

The issue stems from `normalizeCommentTarget` using the Repost's metadata (Kind 6, Reposter Pubkey) instead of the Original Video's metadata to generate the comment filter descriptor. This causes valid comments (which tag the Original Video) to be filtered out by `isVideoCommentEvent`.

Added:
- `examples/reproducers/2-repost-comment-visibility-bug/reproduce_issue.js`
- `examples/reproducers/2-repost-comment-visibility-bug/README.md`
2026-01-19 15:00:15 +00:00
thePR0M3TH3AN 7930a0fce8 Merge pull request #1387 from PR0M3TH3AN/codex/add-unwrap-logic-for-giftwraps
Unwrap kind:1059 gift-wrap DMs and normalize inner rumor timestamps
2026-01-19 09:48:21 -05:00
thePR0M3TH3AN ef8307c560 Normalize giftwrap DM timestamps 2026-01-19 09:47:57 -05:00