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

New Live Chat Messages In Browser Should Increment Badge Number #185

Open
owenkellogg opened this issue Aug 3, 2023 · 0 comments
Open

Comments

@owenkellogg
Copy link
Contributor

When you are not in the live chat area a small number should increment in real time for each new live chat message from other players.

interface UseBitchat {
  newMessagesCount: number;
  clearNewMessages: Function;
}

let { newMessagesCount, clearNewMessages } = useBitchat()

Settings for Bitchat can also be a hook with everything contained in a BitchatContext which will automatically connect to the websocket back end and receive a stream of new chat messages.

@owenkellogg owenkellogg changed the title Notifications of New Live Chat Messages In Browser Incrementing Badge Number For New Live Chat Messages In Browser Aug 3, 2023
@owenkellogg owenkellogg changed the title Incrementing Badge Number For New Live Chat Messages In Browser New Live Chat Messages In Browser Should Increment Badge Number Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant