minimalchat/client

Support dynamic headline "Chat with John"

mihok opened this issue · 0 comments

mihok commented

screenshot-0

Problem description:

Currently the header is statically set to "Chat with John" we should figure out a way to make this dynamic. As well, given when they first open the chat up, no operator will be chatting so we need to have a default message work here as well. This default can be simple string const/variable

Suggested solution:

When an operator starts typing (or sends a message, not sure what would work better) we can use the Operator's name in the "Chat with _____". If more than one operator is sending messages we can comma delimit the names for simplicity right now. We should already receive the operators name