status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.9k stars 985 forks source link

MVP 2 ens username in chat #7114

Closed yenda closed 5 years ago

yenda commented 5 years ago

Problem

As a user, I want my ens username to be displayed in chats I participate to. As a user, I need to be able to specify my ens username. As a user, I need to be able to distinguish simple usernames from ens usernames.

Implementation

Acceptance Criteria

MVP

An issue is created for 100% feature completion with following criteria

There is two edge cases are not accounted for in the MVP:

yenda commented 5 years ago

@andmironov is there any designs already regarding the user stories? for this feature to work out we need to be able to distinguish username from ens usernames in chat, and the user needs to be able to set his ens-username somewhere

andmironov commented 5 years ago

cc @errorists I wonder if it should be display name shown if specified, even if the user has a ENS username?

yenda commented 5 years ago

The simplest solution would be to merge the two, one could specify his ENS username as display name. We could add a "show in public chats" checkbox. The ens username would simply be a "verified" display name

andmironov commented 5 years ago

We should be really thoughtful and consistent about which name is used where, since the hierarchy is not 100% transparent.

Here are the new profile designs with and without those specified:

p

Questions i dont have answers to:

yenda commented 5 years ago

also a user can have multiple ens usernames, but for those who already registered one, the app can't know it, the user have to enter them somewhere

andmironov commented 5 years ago

also a user can have multiple ens usernames

this complicates this even more :-) please let's not rush into implementation, this requires some time for UX research. There are not too many apps with such a complex identity structure

cc @hesterbruikman

rachelhamlin commented 5 years ago

I'd suggest we use ENS names only for default display in chat/profile—it increases the utility of the username.

Stateofus.eth names should have preferential treatment, displaying in chat as Rachel and not Rachel.stateofus.eth. Other ENS names could present as rachel.otherdomain.eth (if and when there is a time that other ENS names have Whisper IDs associated).

If at some point ENS registration is built into onboarding (potentially even for free), we could do away with non-unique display names entirely. This has the double benefit of making impersonation more difficult.

What we want to enable with this feature right now is this:

Following that:

Is that clear? I'll respond to the edge cases raised by @yenda in a subsequent post.

*This update flow exists in the ENS DApp, we'd just need to link to it.

rachelhamlin commented 5 years ago

Also side note: This is somewhat required to make Tribute to Talk useful. Without it, you're never going to be able to identify people you want to contact (if Attractive Salty Seal is Brad Pitt, he can just hide that from me forever by not adding me as a contact, and I'm not going to pay tribute to Attractive Salty Seal).

rachelhamlin commented 5 years ago

@yenda

also a user can have multiple ens usernames, but for those who already registered one, the app can't know it, the user have to enter them somewhere

On this, can the app detect any of a user's names, or does it require manual input?

hesterbruikman commented 5 years ago

@andmironov fyi

This implies that an existing ENS username needs to be selectable as Display name in the new Profile screens.

yenda commented 5 years ago

@yenda

also a user can have multiple ens usernames, but for those who already registered one, the app can't know it, the user have to enter them somewhere

On this, can the app detect any of a user's names, or does it require manual input?

it requires manual input that can then be validated by the app

rachelhamlin commented 5 years ago

@andmironov @yenda @hesterbruikman maybe we can hop on a call this week to talk about our options here?

hesterbruikman commented 5 years ago

@rachelhamlin Following up on Status today