Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search a user to start a chat #1013

Closed
4 tasks done
Tracked by #1055
alfogrillo opened this issue Feb 17, 2023 · 0 comments
Closed
4 tasks done
Tracked by #1055

Search a user to start a chat #1013

alfogrillo opened this issue Feb 17, 2023 · 0 comments

Comments

@alfogrillo
Copy link

alfogrillo commented Feb 17, 2023

As a user I want to be able to search a user before I start a 1:1 chat.

Designs
Start a chat
No results

Matrix APIs

ACs

  • The search feature is part of this screen.
  • Search starts as soon as the user writes at least 3 characters
  • Ask 5 results to the home server
  • If the users delete text, we don't show results if there are less than 3 characters
  • The list updates live whenever the user changes the search text
  • Cells in the list shows:
    • The avatar image
    • The user's display name
    • The user's matrix identifier
  • No other functionality is meant to be implemented as a part of this ticket (eg. taps on any result)
  • Suggestions and recents fetching logics will be implemented here.
  • Clients should "debounce" calls while the user is typing (0,5 sec of delay)
  • Show the "No results" when the server returns zero results (see the related design)

Questions

  • Should "debounce" be implemented in the rust layer?
  • How many results should we ask to the home server? @amshakal

Tasks

Preview Give feedback
  1. Z-ElementX-Alpha enhancement good first issue
    alfogrillo
  2. T-Enhancement Team: Element X Feature X-Needs-Design X-Needs-Rust
    csmith
  3. T-Enhancement Team: Element X Feature
    alfogrillo
  4. T-Enhancement T-Task
    VolkerJunginger flescio

Dependencies

@alfogrillo alfogrillo added the X-Needs-Rust This issue needs a Rust SDK change. It must have a link to a Rust SDK issue label Feb 20, 2023
@VolkerJunginger VolkerJunginger changed the title Search a user to start a chat [Story] Search a user to start a chat Feb 21, 2023
@alfogrillo alfogrillo changed the title [Story] Search a user to start a chat Search a user to start a chat Feb 24, 2023
@csmith csmith assigned csmith and unassigned csmith Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants