feat: add full profile page at /people/[npub] #307

Open
userAdityaa wants to merge 1 commits from userAdityaa/flotilla:165-profile-page into dev
Collaborator

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

Dark theme (desktop) Light theme (desktop)
Screenshot 2026-06-18 at 4.30.07 PM.png Screenshot 2026-06-18 at 4.30.20 PM.png
Dark theme (mobile) Light theme (mobile)
localhost_1847_people_npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn(iPhone 14 Pro Max).png localhost_1847_people_npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn(iPhone 14 Pro Max) (1).png

closes #165

### 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 |Dark theme (desktop)|Light theme (desktop)| |-----|-----| |<img width="1440" alt="Screenshot 2026-06-18 at 4.30.07 PM.png" src="attachments/863f08b1-76f9-452f-8a0a-6c7a68d42816">|<img width="1440" alt="Screenshot 2026-06-18 at 4.30.20 PM.png" src="attachments/23d6d19d-ff1d-4d51-a00c-c5646c1b7409">| |Dark theme (mobile)|Light theme (mobile)| |-----|------| |![localhost_1847_people_npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn(iPhone 14 Pro Max).png](/attachments/d05ef338-1699-402e-9d4d-b24400a0bd34)|![localhost_1847_people_npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn(iPhone 14 Pro Max) (1).png](/attachments/20c65052-3ac9-4196-8b45-62eb2be31302)| closes #165
Author
Collaborator

A few questions I still have:

  • What should be shown when a user visits their own profile?
  • How should the Trust Score section behave in that case?
  • What about the Shared Spaces section?
  • And how should Mutuals be handled on your own profile?
A few questions I still have: * What should be shown when a user visits their own profile? * How should the Trust Score section behave in that case? * What about the Shared Spaces section? * And how should Mutuals be handled on your own profile?
Owner

What should be shown when a user visits their own profile?

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.

How should the Trust Score section behave in that case?

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.

What about the Shared Spaces section?

Maybe just re-label to "Your Spaces"

And how should Mutuals be handled on your own profile?

Not sure what you mean by this.

> What should be shown when a user visits their own profile? 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. > How should the Trust Score section behave in that case? 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. > What about the Shared Spaces section? Maybe just re-label to "Your Spaces" > And how should Mutuals be handled on your own profile? Not sure what you mean by this.
userAdityaa added 1 commit 2026-06-21 17:40:22 +00:00
userAdityaa force-pushed 165-profile-page from 5a804d094f to 2df890f7c5 2026-06-21 17:40:22 +00:00 Compare
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u https://gitea.coracle.social/userAdityaa/flotilla 165-profile-page:userAdityaa-165-profile-page
git checkout userAdityaa-165-profile-page
Sign in to join this conversation.