dappros / ethora

A 'super app' engine for your project. React Native (iOS, Android) and React.js (Web, desktop). Social Sign In 🄵, Messaging 💬 (chat, voice, push notifications), Web3 Wallet 🪪 (profile QR, documents, coins, NFT), DLT 🔐 (provenance, crypto signing), Gamification 🤩, Social Commerce and more.
https://ethora.com/
GNU Affero General Public License v3.0
403 stars 75 forks source link

Web - client - Last messages #440

Closed dzinzyura closed 1 year ago

dzinzyura commented 1 year ago

Goal: Introduce a correct representation of last message on the left-side menu.

Affected metric:

Description: Resolve the issue with the last message display and badge counter. Currently, when the page is reloaded, there is no indication of unread messages, and the last messages fail to appear sometimes.

dendidibe commented 1 year ago

https://github.com/dappros/ethora/assets/54039544/e6fa3cce-af1a-48fa-91e9-a2c3876cef37

dzinzyura commented 1 year ago

@dendidibe if the user refreshes the page, will the badge counter be displayed?

dendidibe commented 1 year ago

the counter stored only on the front end, we do not store this info on the xmpp. Also if we will open chat in the new tab from same account it will not make sense

dzinzyura commented 1 year ago

got it. thanks @dendidibe