Commit Graph
30 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN d45b115f07 Fix annoying DM relay warning and clarify settings UI
- Throttle the "Privacy warning: direct messages are using your default relays..." message so it only appears once per session/identity change.
- Rename "DM Relay Hints" to "NIP-17 Relay List" in the DM Settings modal to match the warning message and reduce user confusion.
- Add regression test for the warning throttling logic.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-04 16:16:15 +00:00
google-labs-jules[bot]andPR0M3TH3AN b3f37058a2 Defer profile modal data loading to improve responsiveness
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-03 14:44:32 +00:00
thePR0M3TH3AN a8c2608a01 Merge branch 'unstable' into ai/deps-scan-913034820998740720 2026-01-30 09:20:22 -05:00
thePR0M3TH3AN b71346c06a Merge branch 'unstable' into ai/interop-tests-20250228-12917398042927663384 2026-01-30 09:19:49 -05:00
thePR0M3TH3AN 646de9014b Merge pull request #1960 from PR0M3TH3AN/ai/ci-health-20250221-16879002849481713
chore(ai): CI health fixes (flaky tests)
2026-01-30 09:16:57 -05:00
thePR0M3TH3AN 36e724a9de Merge pull request #1956 from PR0M3TH3AN/refactor-automated-pr-review-12750616021674214922
feat: enhance automated PR review script with batch processing
2026-01-30 09:15:04 -05:00
google-labs-jules[bot]andPR0M3TH3AN f456a6d605 fix(test): mock hashtagPreferencesService.load in profile modal test
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 09:19:46 +00:00
google-labs-jules[bot]andPR0M3TH3AN 51c5845ae1 fix: resolve missing mock method in profile modal tests
Added the missing `load()` method to the `hashtagPreferences` mock in `tests/profile-modal-controller.test.mjs`. This resolves the `TypeError` encountered during the `handleAddHashtagPreference` test case, ensuring the test suite passes consistently in CI.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 07:48:19 +00:00
google-labs-jules[bot]andPR0M3TH3AN ced1f5456f fix(test): mock load method in profile-modal-controller test
- Add missing `load` method to `baseHashtagPreferences` mock in `tests/profile-modal-controller.test.mjs` to fix `TypeError: this.hashtagPreferencesService.load is not a function` in unit tests.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 02:34:39 +00:00
google-labs-jules[bot]andPR0M3TH3AN 2ba9b6c4a5 fix(test): mock hashtagPreferencesService.load in profile modal tests
- Updates `tests/profile-modal-controller.test.mjs` to include a mock for `load()` in `baseHashtagPreferences`.
- Resolves the `TypeError: this.hashtagPreferencesService.load is not a function` error seen in CI.
- Ensures unit tests pass for ProfileModalController interactions with the hashtag pane.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 00:27:28 +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] 4bf3605fd2 Fix: Ensure history pane refreshes on subsequent visits
This change ensures that the profile history pane refreshes its content when the user navigates back to it, addressing a bug where stale data could be displayed.

It implements an optimized strategy:
- On the first load, `ensureInitialLoad` is called, which handles the initial fetch internally.
- On subsequent visits (when the renderer is already initialized), `refresh({ force: true })` is called explicitly to update the list.

The unit test `history pane lazily initializes the watch history renderer` was updated to reflect this behavior, verifying that `ensureInitialLoad` is called once and `refresh` is called on subsequent opens.
2026-01-14 04:05:23 +00:00
thePR0M3TH3AN b48edbb055 Refactor inline styles to CSS rules 2026-01-13 21:13:32 -05:00
thePR0M3TH3AN e9ce494ccd Remove watch history metadata caching 2026-01-03 09:11:26 -05:00
thePR0M3TH3AN 6a1b9a86e2 Hide profile modal while add-profile login is active 2025-10-27 17:43:52 -04:00
thePR0M3TH3AN 9377d39be0 Fix add profile flow to prioritize login modal 2025-10-27 17:36:18 -04:00
thePR0M3TH3AN 3da281c197 Handle hashtag preference publishing from profile modal and menu 2025-10-25 18:48:15 -04:00
thePR0M3TH3AN b9a927199c Add hashtag management to profile modal 2025-10-25 16:39:26 -04:00
thePR0M3TH3AN 616fad1612 Revamp login modal auth provider cards 2025-10-21 18:37:41 -04:00
thePR0M3TH3AN 094559b618 Add per-profile settings store and mask wallet inputs 2025-10-21 17:46:41 -04:00
thePR0M3TH3AN 6d84d6be4e feat: show provider metadata in saved profiles 2025-10-21 14:44:14 -04:00
thePR0M3TH3AN e8d20cd8dd Add channel and copy actions for profile modal lists 2025-10-20 14:17:15 -04:00
thePR0M3TH3AN 3ae86c68a3 Refine profile modal layout and metadata toggle 2025-10-19 22:10:26 -04:00
thePR0M3TH3AN 7ac4abfa61 Improve admin list hydration and visibility 2025-10-19 21:40:23 -04:00
thePR0M3TH3AN 4f1c610d80 Refine profile modal responsive behavior 2025-10-19 21:09:13 -04:00
thePR0M3TH3AN e927c78124 Improve profile modal mobile navigation 2025-10-19 20:46:02 -04:00
thePR0M3TH3AN 812203c799 Use consistent short npub display 2025-10-18 09:48:16 -04:00
thePR0M3TH3AN 39d8cee81a Remove design system flag and update tests 2025-10-14 20:16:38 -04:00
thePR0M3TH3AN 5e8e4a0d12 Add modal accessibility integration coverage 2025-10-11 16:37:55 -04:00
thePR0M3TH3AN 9122a14493 Add jsdom-based tests for profile modal controller 2025-10-07 22:28:43 -04:00