feat: add full profile page at /people/[npub] #307
Reference in New Issue
Block a user
Delete Branch "userAdityaa/flotilla:165-profile-page"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This adds a full profile page at
/people/[npub]with banner, bio, follow/message actions, and tabs for About, Notes, and Spaces. Reputation (trust score + mutual follows) and shared spaces show in the sidebar on desktop and in the About tab on mobile.People search and profile modals now link to this page instead of only showing a quick view. Your own profile lets you pin, unpin, and delete notes from the notes list. npub and nprofile deep links redirect to the new route.
Screenshots of the changes
closes #165
A few questions I still have:
Same thing, but maybe fit an edit button in instead of message or any other actions that don't make sense. For now, edit can just go to the settings > profile page.
We can calculate the trust score by just counting how many pubkeys in the database follow the current user. We can do a quick fetch to load these specifically when loading that page.
Maybe just re-label to "Your Spaces"
Not sure what you mean by this.
5a804d094fto2df890f7c5View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.