Commit Graph
3701 Commits
Author SHA1 Message Date
thePR0M3TH3AN a4128570c8 Merge branch 'unstable' into jules-fix-sidebar-and-baseline-297374874061158968 2026-01-23 13:20:15 -05:00
google-labs-jules[bot] 923a735e4a 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:18:55 +00:00
thePR0M3TH3AN 80c6e2324e Merge pull request #1600 from PR0M3TH3AN/codex/extend-parsefilterquery-to-support-more-tokens
Enhance search query parsing (phrases, boolean ops), add has:transcript, and sync popover/UI
2026-01-23 13:14:01 -05:00
thePR0M3TH3AN 19aa272bae Enhance search query parsing and filters 2026-01-23 13:13:40 -05:00
thePR0M3TH3AN 9774c4e3eb Merge pull request #1599 from PR0M3TH3AN/codex/add-sort-options-to-filter-schema-and-ui
Add search sort options and stable search ordering
2026-01-23 12:59:16 -05:00
thePR0M3TH3AN 81513b338b Add search sort options and stable sorting 2026-01-23 12:58:12 -05:00
thePR0M3TH3AN 569f6392ec Merge pull request #1598 from PR0M3TH3AN/codex/add-relay-filters-to-video-and-profile-search
Respect relay selection and build relay-aware search filters
2026-01-23 12:48:01 -05:00
thePR0M3TH3AN e8a5da7ebe Update search relay filters 2026-01-23 12:31:34 -05:00
thePR0M3TH3AN e2778dc873 Merge pull request #1597 from PR0M3TH3AN/fix-hex-lint-ci-7031491832794179109
Fix CI lint errors by replacing hex colors with rgb and updating ignore list
2026-01-23 12:27:15 -05:00
google-labs-jules[bot] 92b95c9576 fix(ci): resolve hardcoded hex color lint errors
- replace hardcoded hex colors with rgb() equivalents in:
  - js/ui/loginModalController.js
  - js/ui/ambientBackground.js
  - js/ui/components/VideoModal.js
  - js/themeController.js
  - index.html
- exclude config/instance-config.js and config/validate-config.js from check-hex.js linting
- ensures CI lint jobs pass by adhering to token/rgb policy or exclusion lists

Signed-off-by: Jules <[email protected]>
2026-01-23 17:25:47 +00:00
thePR0M3TH3AN 29bc6edcd4 Merge pull request #1596 from PR0M3TH3AN/fix-moderation-service-tests-6409538041963550334
Fix nostr-client-unavailable error in moderation settings tests
2026-01-23 12:21:01 -05:00
google-labs-jules[bot] 6fae3efe88 Fix nostr-client-unavailable error in ProfileModal moderation tests
Added `ensurePool` mock to `nostrClient` in `tests/ui/profile-modal-moderation-settings.test.mjs` to prevent runtime errors when `ModerationService` is instantiated.
Updated assertions to include `trustedMuteHideThresholds` as it is present in the default settings snapshot.
2026-01-23 17:20:32 +00:00
thePR0M3TH3AN c1f0a5b61c Merge pull request #1595 from PR0M3TH3AN/codex/update-performvideosearch-to-include-filters
Improve search filters for video results
2026-01-23 12:16:33 -05:00
thePR0M3TH3AN 6c088161ba Update search filtering for video results 2026-01-23 12:14:03 -05:00
thePR0M3TH3AN 0cdbd3deeb Merge pull request #1594 from PR0M3TH3AN/codex/implement-filter-popover-and-active-filters
Add shared search filter state, wire filter popover, and active-filter pills
2026-01-23 12:10:21 -05:00
thePR0M3TH3AN 460ba22d51 Add search filter state syncing 2026-01-23 12:07:55 -05:00
thePR0M3TH3AN 11f8aef942 Merge pull request #1593 from PR0M3TH3AN/fix-comment-events-ci-tests-13162760863406952792
Fix CI unit-test failures in comment-events.test.mjs
2026-01-23 12:05:50 -05:00
google-labs-jules[bot] cf92269468 fix(tests): resolve unit test failures in comment-events.test.mjs
- Update `publishComment` to return standardized string error codes (e.g., `session-actor-publish-blocked`, `auth-required`) instead of raw Error objects, ensuring consistency with test expectations.
- Introduce `resolveActiveSigner` dependency injection in `publishComment` to allow tests to supply mock signers, resolving failures where `getActiveSigner()` returned null.
- Expose `commentCache` via `__testExports` in `js/nostr/commentEvents.js` and clear it in `tests/nostr/comment-events.test.mjs` via `afterEach` to prevent test state pollution.
- Update test assertions to match the standardized error codes.

This resolves CI failures related to mismatched error messages and shared state in comment event tests.
2026-01-23 17:05:02 +00:00
thePR0M3TH3AN f8b4d8356d Merge pull request #1592 from PR0M3TH3AN/codex/add-search-filters-popover-component
Add Search Filters popover component
2026-01-23 11:57:08 -05:00
thePR0M3TH3AN f7016f78f7 Add search filters popover component 2026-01-23 11:53:37 -05:00
thePR0M3TH3AN b17a534f76 Merge pull request #1585 from PR0M3TH3AN/codex/create-search-filters-module
Add search filter parsing and hash persistence
2026-01-23 11:44:06 -05:00
thePR0M3TH3AN a47bfd5bb3 Merge pull request #1591 from PR0M3TH3AN/fix-ci-upstream-fetch-7572206809803325118
Fix CI upstream fetch depth for agent review
2026-01-23 11:42:40 -05:00
google-labs-jules[bot]andPR0M3TH3AN fbd4c217c2 fix(ci): fix upstream fetch depth in agent review (agent)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-23 16:35:13 +00:00
thePR0M3TH3AN 2d7a270cd8 Merge pull request #1590 from PR0M3TH3AN/ds-audit/current-3661198684029160687
Design System Audit Automation & Tool Fixes
2026-01-23 11:31:37 -05:00
google-labs-jules[bot]andPR0M3TH3AN 82dea1e63e Design System Audit: Fix hex check tool and automate reporting
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-23 16:31:08 +00:00
thePR0M3TH3AN 03334f6b21 Merge pull request #1589 from PR0M3TH3AN/docs/update-readme-build-instructions-18391905515114930775
Update README local build instructions
2026-01-23 11:22:47 -05:00
google-labs-jules[bot]andPR0M3TH3AN bf88c547c4 docs: update local build instructions
Clarify the need to install dependencies before building to ensure `tailwindcss` is available.
Offer `npm ci` as the preferred reproducible install method and `npm install` as an alternative.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-23 16:22:18 +00:00
thePR0M3TH3AN 2ae716e573 Merge pull request #1587 from PR0M3TH3AN/ai/fuzz-all-20260123-2279497469232188680
Fuzz testing and hardening for nostrEventSchemas and magnetUtils
2026-01-23 11:16:30 -05:00
thePR0M3TH3AN 3cea968dbc Merge pull request #1588 from PR0M3TH3AN/doc-cancel-ci-runs-8549529842847462626
Improve CI cancellation script and add documentation
2026-01-23 11:16:04 -05:00
google-labs-jules[bot]andPR0M3TH3AN bec21fd810 docs: add guide for cancelling CI runs and improve script
- Updates `scripts/cancel-all-ci-runs.sh` with a safer, more robust version that handles repository detection and `xargs` limitations.
- Adds `docs/cancelling-ci-runs.md` explaining how to use the script.
- Links the new documentation in `README.md` under Quickstart Commands.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-23 16:15:16 +00:00
google-labs-jules[bot]andPR0M3TH3AN 932e57c724 Fuzz testing and hardening for nostrEventSchemas and magnetUtils
- Added fuzzing scripts for nostrEventSchemas, dmDecryptor, and magnetUtils.
- Fixed crashes in nostrEventSchemas related to unsafe stringification of content.
- Fixed crash in magnetUtils when options argument is null.
- Added safeStringify helper in nostrEventSchemas.js.
- Included fuzzing reports and reproducers.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-23 16:12:42 +00:00
thePR0M3TH3AN d937f04ba3 update 2026-01-23 11:08:38 -05:00
thePR0M3TH3AN 40707e76af Add search filter parsing and hash persistence 2026-01-23 11:08:16 -05:00
thePR0M3TH3AN 725e3eb28b Merge pull request #1584 from PR0M3TH3AN/ds-audit/2026-01-23-17691002971935421944
Design System Audit: Fix inline styles
2026-01-23 10:43:29 -05:00
google-labs-jules[bot]andPR0M3TH3AN c27fc4bae7 Design System Audit: Fix inline styles
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-23 15:42:05 +00:00
thePR0M3TH3AN a5c87abb1b Merge pull request #1583 from PR0M3TH3AN/ai/doc-client-20240523-2519596532816459045
chore(ai): document js/nostr/client.js
2026-01-23 10:31:24 -05:00
google-labs-jules[bot] ae24fe211c chore(ai): doc js/nostr/client.js (agent) 2026-01-23 15:29:06 +00:00
thePR0M3TH3AN 36c19fa3d2 Merge pull request #1582 from PR0M3TH3AN/unify-styling-tokens-15997766081724410140
Refactor hardcoded styles to use token constants
2026-01-23 10:20:13 -05:00
thePR0M3TH3AN c2a40a6c5c Merge pull request #1579 from PR0M3TH3AN/dm-refresh-and-ui-tweaks-3319475114858168104
Add DM refresh button and update UI styles
2026-01-23 10:17:30 -05:00
google-labs-jules[bot] 3cd0532972 Refactor hardcoded styles to use token constants
Replaces hardcoded breakpoint values in `VideoCard.js` and `tailwind.source.css` with token constants and valid CSS calculations. Updates the token linting script to enforce these rules by removing the previous allowlists for these files. This ensures that all UI elements are defined by the central styling system.
2026-01-23 15:16:28 +00:00
google-labs-jules[bot] ac9c09c852 feat(dm): add refresh button, fix transparency, and update settings icon
- Added a forced refresh button to the conversation list in the DM tab (via `onRefreshConversations` in `ProfileModalController`).
- Updated the DM settings gear icon to use `icon-button accent-action-button` classes, matching the `VideoCard` style.
- Ensured the `dm-app-shell` container has a transparent background when rendered inside the profile modal to prevent visual clashes with the modal backdrop.
2026-01-23 15:13:45 +00:00
thePR0M3TH3AN b939f0fe2f Merge pull request #1581 from PR0M3TH3AN/fix-nip46-qr-code-styling-4704153916823307034
Fix NIP-46 QR code styling
2026-01-23 09:56:24 -05:00
google-labs-jules[bot] 6541421928 Fix NIP-46 QR code styling to use tokenized colors and utility classes
Updated `js/ui/loginModalController.js` to resolve QR code colors from CSS variables (`--color-white`, `--color-black`) instead of hardcoding hex values, ensuring compatibility with the design system.
Updated `components/login-modal.html` to use Tailwind utility classes (`bg-white`, `text-black`, `p-6`) instead of inline styles, improving maintainability and readability.
This ensures the QR code remains scannable (high contrast) while respecting the codebase's tokenized styling approach.
2026-01-23 14:49:28 +00:00
google-labs-jules[bot] 57c065125c Fix NIP-46 QR code styling to ensure white background
Hardcoded the QR code colors to black-on-white and added explicit inline styles to the container to prevent theme-based inversions or transparency issues. Increased container padding to improve readability.
2026-01-23 14:29:59 +00:00
thePR0M3TH3AN 187d2252e5 Merge pull request #1580 from PR0M3TH3AN/ai/docs-update-YYYYMMDD-14694348667357371355
Update documentation for accuracy and completeness
2026-01-23 09:24:22 -05:00
google-labs-jules[bot] 02606aa2ea docs(ai): update quickstart and contributing (agent) 2026-01-23 14:13:04 +00:00
google-labs-jules[bot] 145796c5e0 Add forced refresh button to DM list and update UI styles
- Add a refresh button to `ConversationList` header.
- Make DM sidebar background transparent.
- Update DM settings gear icon to match `VideoCard` style.
- Wire up refresh action in `ProfileModalController` to force-fetch messages.
2026-01-23 14:04:55 +00:00
thePR0M3TH3AN 9e5b6b5252 Merge pull request #1578 from PR0M3TH3AN/ai/lint-20260123-12883989966020741509
chore(ai): apply formatting/lint autofixes
2026-01-23 08:46:59 -05:00
thePR0M3TH3AN 70305b717a Merge pull request #1577 from PR0M3TH3AN/add-cancel-ci-script-2946319545185947726
Add script to cancel all CI runs
2026-01-23 08:46:20 -05:00
google-labs-jules[bot] 51fd2c392d chore(ai): format sources (agent) 2026-01-23 13:42:54 +00:00