overleaf/services/web/app/views/project/editor
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
..
history Merge pull request #3396 from overleaf/jel-match-grays 2020-12-01 03:04:34 +00:00
binary-file-header.pug
binary-file.pug
chat-react.pug Fixed unread message count in react chat (#3529) 2021-01-12 03:04:26 +00:00
chat.pug
editor.pug Merge pull request #3484 from overleaf/jpa-hide-ui-below-out-of-sync 2020-12-15 03:04:58 +00:00
file-tree-react.pug Merge pull request #3232 from overleaf/ta-file-tree-react 2020-11-27 03:05:05 +00:00
file-tree.pug
header.pug Merge pull request #3232 from overleaf/ta-file-tree-react 2020-11-27 03:05:05 +00:00
history.pug Merge pull request #3396 from overleaf/jel-match-grays 2020-12-01 03:04:34 +00:00
left-menu.pug Merge pull request #3445 from overleaf/ae-wordcount-modal 2021-01-07 03:04:59 +00:00
new-file-modal.pug
new_from_template.pug
pdf.pug Merge pull request #3471 from overleaf/jel-showNewLogsUI 2020-12-12 03:04:35 +00:00
review-panel.pug Merge pull request #3266 from overleaf/hb-improve-upgrade-ctas 2020-10-14 02:05:00 +00:00
share.pug Merge pull request #3265 from overleaf/jpa-i18n-drop-html-from-vars 2020-10-31 03:05:46 +00:00