Commit graph

13 commits

Author SHA1 Message Date
Miguel Serrano
d55e46d3c0 Merge pull request #3642 from overleaf/msm-history-track-changes-toggles
[ReactNavToolbar] Track changes and History toggle buttons.

GitOrigin-RevId: a67a9a488c0960dba3f3d374cde4db0080ed2952
2021-02-24 03:04:17 +00:00
Eric Mc Sween
2138bd2a80 Merge pull request #3680 from overleaf/as-em-tm-remove-uiconfig
Remove unused uiConfig global variable from frontend and tests

GitOrigin-RevId: 390abdc097cd9904f7a1c1849e58baf70bea5c72
2021-02-23 03:04:39 +00:00
Miguel Serrano
260b878b7d [ReactNavToolbar] Chat Toggle Button + chat-context (#3625)
* Added toggle chat button to navigation header

* new `useBrowserWindow` hook to work with browser title and focus

* react2angular chat toggle button plumbing

GitOrigin-RevId: 4380f1db9c7cc9a25bfb8d7a33e18d61b1d32993
2021-02-10 03:04:39 +00:00
Hugh O'Brien
9b70fe7318 Merge pull request #3614 from overleaf/msm-chat-add-message-id
[Chat] Added `id` to message groups

GitOrigin-RevId: 45e73ad236984bfbac45c837e603c6ae04382972
2021-02-04 03:04:39 +00:00
Miguel Serrano
0d57ddfd23 Merge pull request #3603 from overleaf/msm-fix-react-mathjax-not-available
Ignored MathJax setup when not available

GitOrigin-RevId: 716af272070b15d3fa1c346bea611f0e1abbac33
2021-01-28 03:05:23 +00:00
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
Alf Eaton
2ff1cf43d6 Merge pull request #3470 from overleaf/eslint
Upgrade and configure ESLint

GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
2020-12-16 03:08:28 +00:00
Miguel Serrano
1fcf94c3b9 Merge pull request #3436 from overleaf/msm-react-shared-context
React shared context

GitOrigin-RevId: ebc6fa90dd8c65ddf803fd457c99a30f0e8e3c9c
2020-12-15 03:05:07 +00:00
Miguel Serrano
3b1c4e19a4 Merge pull request #3300 from overleaf/msm-chat-react-store
React chat store

GitOrigin-RevId: 204009eb5798b02a41e621b33b05ef0cb9d10b15
2020-11-25 03:04:29 +00:00
Jessica Lawshe
d138837049 Merge pull request #3367 from overleaf/ho-ms-jel-chat-a11y
Improve chat accessibility

GitOrigin-RevId: 853da57460c7e3a18abbe1130553e34bd661b6b3
2020-11-10 03:04:40 +00:00
Miguel Serrano
dd123944ed Merge pull request #3321 from overleaf/msm-simplify-infinite-scroller
Simplified chat infinite-scroll

GitOrigin-RevId: 72b3d0540ffb413f6ad519216ee90eb8deaa7892
2020-10-28 03:04:59 +00:00
Miguel Serrano
df37668180 Merge pull request #3267 from overleaf/msm-react-chat-tests
React chat tests

GitOrigin-RevId: e3b4d5b7cb2657d9aad7e1006c18db4e6c0d8a3f
2020-10-28 03:04:53 +00:00
Alasdair Smith
f1b42a3d0d Merge pull request #3192 from overleaf/msm-chat-react
Chat reactification

GitOrigin-RevId: ee1268b412513a8656703257febad4975adb74e7
2020-10-13 02:04:15 +00:00