Skip to content

Autocomplete mentions, irc commands #65

Open
@terrysahaidak

Description

@terrysahaidak

In the web version, there are some types of suggestion showing in the pop-up above message input.

When users types @ sign, suggestion bar will show some users suggestion. By clicking on it, it will be applied to message input:
image
It uses https://gitter.im/api/v1/rooms/${id}/users?q=${query}&limit=10 endpoint to fetch suggestions for users.
Also, where is an additional command @/all that mentions all the users.

When users types / sign, it will display all available commands for that room:
image

if the user is an admin of the room, there are some additional commands:
image

Not all of commands are already implemented. See that code to get current state of available command list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions