Skip to content

[HOLD for payment 2024-06-28] [HOLD for payment 2024-06-24] [$250] Order Suggested Mentions according to relevancy when in a Group Chat #42009

@yuwenmemon

Description

@yuwenmemon

Feature Description

Right now, when you hit @ to tag someone without starting to type any letters, we show you a list of everyone you have a "connection" to in alphabetical order:
IMG_4340 (1)

However, when in a group chat or a chat connected to a workspace, there's a high chance you're looking to tag someone within that group/workspace. In fact, seeing "random" users as suggestions when presented in alphabetical order is even a bit disorienting.

So, let's re-prioritize the list shown in MentionSuggestions so that they are always in the following order:

  1. People within the chat (members of the Report)
  2. People within the Workspace
  3. Other Contacts (the current way we do it)

Manual Test Steps

  1. Type in @ in a group chat with several participants
  2. Make sure that the list of participants is shown first to you as suggestions, in alphabetical order, then the list of the rest of your contacts, in alphabetical order.
  3. Type in a letter, and make sure the list is filtered to the individuals containing that letter with the same hierarchy preserved as described above.

  1. Type in @ in a Workspace room, where only a fraction of the workspace members are in the room.
  2. Make sure that the list of participants is shown first to you as suggestions, in alphabetical order, then the list of workspace members, in alphabetical order, the the rest of your contacts, in alphabetical order.
  3. Type in a letter, and make sure the list is filtered to the individuals containing that letter with the same hierarchy preserved as described above.
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0186b4970c1baed84a
  • Upwork Job ID: 1789048257508220928
  • Last Price Increase: 2024-05-17
  • Automatic offers:
    • alitoshmatov | Reviewer | 0
    • gijoe0295 | Contributor | 0

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2ExternalAdded to denote the issue can be worked on by a contributorImprovementItem broken or needs improvement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions