overleaf/services/web/frontend/js/features/chat/components
Miguel Serrano 864a75c284 Fixed unread message count in react chat (#3529)
* Fixed unread message count in react chat

The problem was caused by ChatStore being instantiated multiple times on each `useRef` call, plus also incorrectly cleaned-up, since it should be calling `socket.removeListener` instead of `socket.off` on effect destroy.

* deferred loading messages until chat is opened

GitOrigin-RevId: b990cd06cea6630472b0911b56219766717aaff6
2021-01-12 03:04:26 +00:00
..
chat-pane.js Fixed unread message count in react chat (#3529) 2021-01-12 03:04:26 +00:00
infinite-scroll.js Merge pull request #3321 from overleaf/msm-simplify-infinite-scroller 2020-10-28 03:04:59 +00:00
message-content.js Merge pull request #3470 from overleaf/eslint 2020-12-16 03:08:28 +00:00
message-input.js Merge pull request #3367 from overleaf/ho-ms-jel-chat-a11y 2020-11-10 03:04:40 +00:00
message-list.js Merge pull request #3300 from overleaf/msm-chat-react-store 2020-11-25 03:04:29 +00:00
message.js Merge pull request #3192 from overleaf/msm-chat-react 2020-10-13 02:04:15 +00:00