Status-react: Start a new chat on search

Created on 29 Jun 2020  路  9Comments  路  Source: status-im/status-react

Feature Issue

An intuitive design for starting a chat with a user is to search for their name. Currently the search bar does not handle this case. When I search for a user who I do not have a chat started with I should be presented with a button that allows me to start a new chat.

image

User Story

As a user, I want to be presented with a option to start a new chat if I search for someone I do not have a conversation started with.

Notes

For examples, see telegram.

Most helpful comment

ok I admit i had to read it a couple times to 'get' it's the chat list search bar we're talking about :) thanks, yea I believe adding relevant suggestions to the empty state here could be a worthwhile improvement

Screenshot 2020-06-30 at 10 47 34

All 9 comments

@decanus do you mean search the ENS registry? @flexsurfer @andremedeiros can you think of a reason we do not have this yet? We basically use the same functionality when registering a name, correct?

cc @errorists

It should probably work with public keys too @hesterbruikman my main point was that the UI should be bridged for minimal effort. I should be able to start a chat through search.

ok I admit i had to read it a couple times to 'get' it's the chat list search bar we're talking about :) thanks, yea I believe adding relevant suggestions to the empty state here could be a worthwhile improvement

Screenshot 2020-06-30 at 10 47 34

yeah i also always trying to create new chat in search :)

@errorists sorry, my description may have not been the best, it was late in the evening. Glad we are on the same page however.

Partial solution implemented: https://github.com/status-im/status-react/commit/8652f899e02f3962dd61ed202a0eeab018b9b90d

Doesn't resolve non-stateofus.eth names. Leaving the issue open

Not sure how this could be handled for non-stateofus.eth names as I believe we wouldn't know if they have a chat key connected. Issue needs investigation if this is feasible, if not, issue can be closed

@hesterbruikman the merged solution handles all cases which are handled by the new chat screen. I think this issue should be closed as it is a duplicate of https://github.com/status-im/status-react/issues/10988

it is done, agree

Was this page helpful?
0 / 5 - 0 ratings