Commit graph

17 commits

Author SHA1 Message Date
Miguel Serrano
a555f0d309 [ReactNavToolbar] Project name + pdf and share project buttons (#3709)
* Added project name, pdf toggle and share project buttons to navigation toolbar

* Added PropTypes check to `useChatContext()`

* React context updates for project name/rename, pdf view and share moda

* Hide PDF button when pdfLayout != 'flat'

GitOrigin-RevId: 3f4a1b072259df7148d3417cd22116702bdd79ac
2021-03-11 03:05:33 +00:00
Alf Eaton
c7f3c72663 Merge pull request #3618 from overleaf/ae-fetch-json-oerror
Ensure that fetchJSON always throws OError

GitOrigin-RevId: 24bea67992e7b5957b2eaaf5ffe2202879534d39
2021-02-11 03:04:25 +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
Alf Eaton
dfffc76562 Merge pull request #3617 from overleaf/ae-fetch-json-data
Rename "responseBody" to "data" in fetchJSON error object

GitOrigin-RevId: 75c166b23cbef22e82232f334ef373c66d9612a7
2021-02-06 03:04:30 +00:00
Miguel Serrano
1036708e0e Merge pull request #3600 from overleaf/ae-credentials-same-origin
Explicitly set credentials: same-origin on fetch requests

GitOrigin-RevId: 17204554f560e2a04b35c631f571fd73f91efadd
2021-01-28 03:05:13 +00:00
Miguel Serrano
ba6c74b2d6 Merge pull request #3599 from overleaf/ae-fetch-json-export
Remove default fetchJSON export

GitOrigin-RevId: e5b1551c3fe0c0f8a4d95574117263667be04fed
2021-01-28 03:05:08 +00:00
Miguel Serrano
ea07c7bfea Merge pull request #3598 from overleaf/ae-put-json
Add putJSON helper

GitOrigin-RevId: 79d73ceb49836799b3215d9b10979da7cda982c4
2021-01-28 03:05:03 +00:00
Timothée Alby
2ca6d2dadb Merge pull request #3430 from overleaf/msm-filetree-open-selected-entity
[ReactFileTree] Use Local Storage for Open/Closed state of folders and selected doc

GitOrigin-RevId: 55073c92fef6c6e1d538a42b22d60d8657b92153
2021-01-08 03:05:18 +00:00
Timothée Alby
204d9a7138 Merge pull request #3450 from overleaf/ta-error-handling-simple
Improve fetchJSON Response Handling

GitOrigin-RevId: b87a1947a1c0f0b2ee8b14bf3b80782aaf85ff2f
2021-01-06 03:08:09 +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
Jakob Ackermann
fae53738f5 Merge pull request #3423 from overleaf/as-ta-sentry-fixes
Improve loading of Sentry reporter in frontend

GitOrigin-RevId: fc05aa48ad0e816b4ef0f5dafb6cf00525a28223
2020-12-04 03:05:43 +00:00
Jakob Ackermann
141c276cba Merge pull request #3420 from overleaf/ta-sentry-react
Sentry Browser Update + Fix React Errors Reporting

GitOrigin-RevId: 83a783f2f00006fa8284d64a01b20c8cc13166d9
2020-12-04 03:05:39 +00:00
Timothée Alby
420aa4a657 Merge pull request #3232 from overleaf/ta-file-tree-react
React File Tree

GitOrigin-RevId: fb3141ba8cd9ca0d68e87edb74764a360144c8fe
2020-11-27 03:05:05 +00:00
Eric Mc Sween
d0b624d419 Merge pull request #3391 from overleaf/ta-fetch-json
Add fetch-json Helper for React

GitOrigin-RevId: ac1ad925b8b02377109aeacc973b00322fe2895c
2020-11-19 03:04:30 +00:00
Chrystal Maria Griffiths
81ddc5c382 Merge pull request #3205 from overleaf/ta-as-local-storage
New Custom LocalStorage Implementation

GitOrigin-RevId: f80fd5f9f24af02690a51cf3c57f61f95b90e98e
2020-09-19 02:04:43 +00:00
Chrystal Maria Griffiths
f4bef24429 Merge pull request #3204 from overleaf/msm-fix-default-error-boundary-renderer
Fixed default renderer for react error boundary

GitOrigin-RevId: 87f7d80385717db6c0222cd97ad373760c4e161c
2020-09-19 02:04:27 +00:00
Shane Kilkelly
95352894a5 Merge pull request #3137 from overleaf/msm-react-error-boundary
Add react-error-boundary to handle react errors in scope

GitOrigin-RevId: 9bd8261057122fce08d8cea3b19b2c71e1d949f4
2020-09-17 02:04:33 +00:00