stakwork / sphinx-kotlin-ui

MIT License
3 stars 6 forks source link

Feature request: Link to Sphinx People Profile in Sphinx #118

Open humansinstitute opened 2 days ago

humansinstitute commented 2 days ago

I get request from users in sphinx to assess various bugs in the Bounties system which is great.

I would be useful when someone new is reaching out to be able to click on their profile from my sphinx chat and then jump to the users Profile on the people page in Tribes.

This would allow me to quickly gain context for this user. reviewing their linked profiles, the users history of boutnies etc.

tomastiminskas commented 1 day ago

@Evanfeenstra what do you think about this feature request? I was looking into V1 code and we had a person field in Messages (withs stores host and an identifier) that I guess it was set on each message by the tribes server so then each member of a tribe could access data of the rest of the members in that tribe if they had a profile in people site.

In addition I was thinking about how to access a the people site profile of a 1:1 conversation contact. I was trying a few things and found that using his public key you can access some data using this endpoint:

https://people.sphinx.chat/person/PUBLIC_KEY

But that is a GET endpoint that will return a json that needs to be shown in a view inside the app. Any way you could get the Profile page URL of a user based on their public key? That way we could take the user to the people profile in the browser when tapping on a button of something

So the idea would be to be able to find this url:

https://people.sphinx.chat/p/cs7n8c2tu2rivj8gup0g

based on a user public key