Pull Request Overview
This PR implements following list functionality by adding the ability to fetch and display a user's followed contacts. The implementation includes efficient bulk user metadata fetching and a modal interface for browsing followed users.
Key changes:
- Added two new hooks for fetching following data and bulk user profiles
- Created a modal component to display the following list with user profiles
- Updated the ProfileModal to include a clickable following count button
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File |
Description |
| src/hooks/useFollowing.ts |
New hook to fetch user's contact list (kind 3 events) from Nostr |
| src/hooks/useAuthors.ts |
New hook for efficient bulk fetching of multiple user profiles |
| src/components/ProfileModal.tsx |
Added following count button and integration with following list modal |
| src/components/FollowingListModal.tsx |
New modal component displaying scrollable list of followed users |
Comments suppressed due to low confidence (1)
src/hooks/useFollowing.ts:33
- [nitpick] The unused first parameter should be explicitly named as '' to indicate it's intentionally ignored: .map(([, pubkey]) => pubkey)
.map(([, pubkey]) => pubkey)
Originally posted by @Copilot in #10 (review)
Pull Request Overview
This PR implements following list functionality by adding the ability to fetch and display a user's followed contacts. The implementation includes efficient bulk user metadata fetching and a modal interface for browsing followed users.
Key changes:
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
src/hooks/useFollowing.ts:33
Originally posted by @Copilot in #10 (review)