Skip to content

Reddit style chat list sorting #99

Open
@mihok

Description

@mihok

Problem description:

Today the chat list might not be sorted at all, new clients get appended to the bottom of the list causing all new clients to disappear after a certain number of client chats exist. Without some kind of smart sorting functionality, you have to sift through chats to find ones that are relevant to you (the operator).

Suggested solution:

My suggestion is to implement a Reddit style chat list sorting algorithm, where we know that:

  • Chat messages are more relevant than chats without messages
  • Chat's with clients typing are more relevant than chat's without messages or client's typing
  • Clients who have not said anything in a while are less relevant than clients that have said things recently
  • More overall messages are more relevant than chat's with few messages.

With these in mind (I'm sure there may be more value indicators) we could come up with an algorithm where the most relevant chat's are sorted to the top of the list. We could assign a score to each chat and change that score based on certain indicators (some examples listed above.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions