Miguel Serrano
9b59c0813c
Replaced application-context
with user-context
( #4246 )
...
* Replaced `application-context` with `user-context`
* deleted `user` initialization with `window.user`
* fixed tests and storybook
GitOrigin-RevId: 0ed4b9070d7c6d370fee2112f310c4bcfea519e7
2021-06-26 02:05:53 +00:00
Timothée Alby
834c7181e5
Merge pull request #4230 from overleaf/msm-prevent-chat-render
...
Prevent chat-pane from being rendered when user is not defined
GitOrigin-RevId: d044c5d9dc7f07fa535bed746b46a6cff1f78dff
2021-06-22 02:07:28 +00:00
Alf Eaton
eebeffc1c5
Merge pull request #4188 from overleaf/ae-memo
...
Improve React performance by memoizing components and values
GitOrigin-RevId: 805278b8b7ac04c3dc4b078fa53cc0e3770d261b
2021-06-22 02:07:08 +00:00
Alf Eaton
f5a9b80052
Merge pull request #4087 from overleaf/hb-chat-error-boundary
...
Chat error boundary
GitOrigin-RevId: 19bc6ee243d9b30510f2164462760bad04516ec3
2021-06-08 02:05:49 +00:00
Jakob Ackermann
f5942f1a7b
Merge pull request #4098 from overleaf/msm-fix-application-provider-required-user
...
Fixed `isRequired` usages for `ApplicationProvider.value.user`
GitOrigin-RevId: 0f3db77fa5da1cb0aec29ef112d1044173df88e0
2021-05-28 02:08:46 +00:00
Alf Eaton
1be43911b4
Merge pull request #3942 from overleaf/prettier-trailing-comma
...
Set Prettier's "trailingComma" setting to "es5"
GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
2021-04-28 02:10:01 +00:00
Alasdair Smith
f33c00f2fd
Merge pull request #3944 from overleaf/revert-3943-revert-3735-as-chat-reducer
...
Re-do Refactor chat store to use React state
GitOrigin-RevId: 626e3379ddb2f75680742df8957fbe350ba89881
2021-04-24 02:10:01 +00:00
Alasdair Smith
b3b8502e5e
Merge pull request #3943 from overleaf/revert-3735-as-chat-reducer
...
Revert "Refactor chat store to use React state"
GitOrigin-RevId: e75e2d56a80c3741415bea3941a26f7dd8f505d3
2021-04-23 02:09:59 +00:00
Alasdair Smith
bb4523b7f6
Merge pull request #3735 from overleaf/as-chat-reducer
...
Refactor chat store to use React state
GitOrigin-RevId: 800a21c3c8a5c3c628c0a13bcb091675d1fb6f25
2021-04-23 02:09:54 +00:00
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
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
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
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
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