Commit graph

537 commits

Author SHA1 Message Date
June Kelly
4737982cdd Merge pull request #4675 from overleaf/msm-fix-review-button-ce
Remove Track Changes button in CE

GitOrigin-RevId: 7e682ea9cce8d23ba0fffc95cfb379588f0fd42e
2021-08-13 12:57:17 +00:00
June Kelly
1fb1c08348 Merge pull request #4673 from overleaf/msm-rename-project-onblur
Rename project on blur instead of canceling renaming

GitOrigin-RevId: fe58b48d5ab37357df33e970338e8b96c3ec1986
2021-08-13 12:57:09 +00:00
Miguel Serrano
cc2861a2a3 Show hint for Symbol Palette search (#4373)
GitOrigin-RevId: cfdba4f31117cc406cee06e9a97db567c65d5348
2021-08-04 02:05:41 +00:00
Hugh O'Brien
d2f5509fed remove unnecessary extra bool check for cobranding (#4368)
GitOrigin-RevId: 3f1c6b03030d7fd59be802053f6bcf49e919e0ea
2021-08-04 02:05:39 +00:00
Miguel Serrano
296ce0e460 Simplify error hint when symbols are used outside of math mode (#4301)
* Simplify error hint when symbols are used outside of math mode

* Fix rendering and added option to skip rendering on plain mode

* Remove unnecessary WikiLink as it is automatically added

* Remove unused skipPlainRendering prop

Co-authored-by: Alasdair Smith <ali@alasdairsmith.co.uk>
GitOrigin-RevId: 7091873beaa05b04f534628cbdd9a559020cfc8e
2021-08-04 02:05:37 +00:00
Alexandre Bourdin
4b4ed6147c Merge pull request #4341 from overleaf/jpa-ta-error-message-linked-files
[misc] better error msg for failed compiles when linking project files

GitOrigin-RevId: cac3d9e5cf25918dc8f5e259d106c145235c15c1
2021-07-30 13:08:12 +00:00
Alexandre Bourdin
3d963027eb Merge pull request #4340 from overleaf/jpa-ta-hide-unavailable-new-file-options
[frontend] hide new file from project UX when feature are disabled

GitOrigin-RevId: 8407453267dded1f97d19cede5a13691610b97e7
2021-07-30 13:08:08 +00:00
Jessica Lawshe
944ec4e47b Merge pull request #4320 from overleaf/hb-handle-invalid-filenames-upload
Handle invalid filenames in upload modal

GitOrigin-RevId: f3438d8653cf29ef9536a71692c03b5802d90a6d
2021-07-28 02:07:07 +00:00
Shane Kilkelly
c5d45c1bac Merge pull request #4337 from overleaf/msm-fix-binary-file-multiple-request
Fix for Binary file view repeatedly requesting content

GitOrigin-RevId: af41539ccb92c609bc5f61f49ff09370c10481f6
2021-07-28 02:06:50 +00:00
Alexandre Bourdin
eb31e6ebed Merge pull request #4343 from overleaf/as-fix-publish-modal
Fix publish modal showing incorrect view for various brands

GitOrigin-RevId: c1a71300b21d41d6566ae481c843b020e0ef84f1
2021-07-28 02:06:38 +00:00
Jakob Ackermann
86099725ad Merge pull request #4293 from overleaf/jpa-pdf-js-error-handling
[frontend] fix broken PDF preview caused by missing error handling

GitOrigin-RevId: a7bba8d1b351a53fb20eb670d2ae4c6d215d0d85
2021-07-28 02:06:15 +00:00
Jakob Ackermann
41471ec60f Merge pull request #4292 from overleaf/tm-handle-recurly-pricing-errors
Handle Recurly pricing API errors and add coupon code error display

GitOrigin-RevId: b86a42a059984a7efa596db85bbcedb93c0e7376
2021-07-28 02:05:54 +00:00
Jakob Ackermann
97da586877 Merge pull request #4326 from overleaf/pr-avoid-double-stringify-compile-events
Remove controller-level `stringify` for compile events

GitOrigin-RevId: 1b33b5204a846dc4f25dcfbad02c1edc1e010e9f
2021-07-20 11:33:33 +00:00
Alasdair Smith
f691e22c19 Merge pull request #4233 from overleaf/hb-double-click-login
Ensure inflight is set before recaptcha is called

GitOrigin-RevId: fb2195c46089ddd4e0239a04d98c2650e05ad1c6
2021-07-20 11:33:07 +00:00
Jakob Ackermann
9dccd6173a Merge pull request #4305 from overleaf/jpa-fix-undef
[misc] fix undefined references in all the places and enable lint rule

GitOrigin-RevId: 473dbab577b34f60d6a3fe567e29e13cb5b1cb24
2021-07-14 12:40:42 +00:00
Paulo Jorge Reis
51c6d90c17 Handle PDF rendering errors in the new logs UI (#4280)
* Handle PDF rendering errors in the new logs UI

* Remove new logs UI specific code from the PDFController

* Only change view with errors and validation issues in the new logs UI

GitOrigin-RevId: 0761ac224db39fdacbb61692c1aa35c3da82a76b
2021-07-07 02:05:48 +00:00
Paulo Jorge Reis
0ee18df3e4 Revert "Revert "Improve copy for single errors or warnings""
This reverts commit f01e0726b9a0119bc7f8bda3a98c2c0df5026e51.

GitOrigin-RevId: fc44d227e50c46260fbedb8c80fdca24092f81eb
2021-07-07 02:05:40 +00:00
Paulo Jorge Reis
db8173011e Revert "Revert "Handle PDF failure error case""
This reverts commit 946838e51feaff28025c4a4d733e0dd89a29e890.

GitOrigin-RevId: 63f130c8cfecfb512ec97bda62c6ea1cad2c8fed
2021-07-07 02:05:36 +00:00
Alexandre Bourdin
89b031a21a Merge pull request #4240 from overleaf/ns-trim-urls
Trim outer whitespace when adding file from external URL

GitOrigin-RevId: b85b1aac81a138d7ebc11b36f180468cdf778b8c
2021-07-06 02:05:58 +00:00
Alf Eaton
34ba76aa76 Merge pull request #4286 from overleaf/jpa-clear-clsi-unavailable-state
[frontend] PdfController: clear clsiUnavailable state for new responses

GitOrigin-RevId: 7a89a24db6c8f0e62e775befcb4148e749ce8b4e
2021-07-06 02:05:46 +00:00
Alf Eaton
2be1a44eda Merge pull request #4257 from overleaf/ae-file-views-beta
Roll out new file view UI to beta users

GitOrigin-RevId: c8665c5043ad55dd530989fb3b9c51f21858fcac
2021-07-06 02:05:42 +00:00
Miguel Serrano
cbb0fd41e2 Merge pull request #4273 from overleaf/msm-update-publish-modal-permissions
User 'write' permission to display the publish button

GitOrigin-RevId: f73ccf05b165ef1ef9e57e3aea4c04d177aba6d4
2021-07-01 12:29:59 +00:00
Miguel Serrano
1419129348 Fixed duplicated key in Collaborator icons (#4272)
GitOrigin-RevId: f0bfc27de0764f3347e6b4cf342a1be574e3e916
2021-07-01 12:29:54 +00:00
Jakob Ackermann
343ab44172 Merge pull request #4279 from overleaf/bg-revert-async-apply-in-pdfcontroller
revert async apply in PdfController

GitOrigin-RevId: 20628ca8c9ba06528271e1323ba062d6b563e08e
2021-07-01 12:29:45 +00:00
Alf Eaton
55ca4783fb Remove React memo from preview pane
GitOrigin-RevId: 27c953ff7727a7898587d9e43e18c6cc9295c23b
2021-06-29 02:06:00 +00:00
Paulo Jorge Reis
4e384e0c3b Revert "Handle PDF failure error case"
This reverts commit 902a97f6f454f09345ba4017b50623fd46e57110.

GitOrigin-RevId: 946838e51feaff28025c4a4d733e0dd89a29e890
2021-06-29 02:05:56 +00:00
Paulo Jorge Reis
f4822e4407 Revert "Improve copy for single errors or warnings"
This reverts commit 1fdd270d4148abd0385e4258bb634cf769cce8c5.

GitOrigin-RevId: f01e0726b9a0119bc7f8bda3a98c2c0df5026e51
2021-06-29 02:05:52 +00:00
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
Miguel Serrano
b7802674d5 Merge pull request #4245 from overleaf/msm-extract-project-context
React `project-context`

GitOrigin-RevId: 6a23437d6e6a328ff5854622ff903d348db1f8b8
2021-06-26 02:05:49 +00:00
Paulo Reis
7b7c6eb1b4 Improve copy for single errors or warnings
GitOrigin-RevId: 1fdd270d4148abd0385e4258bb634cf769cce8c5
2021-06-25 02:06:20 +00:00
Paulo Reis
07f44b99f4 Handle PDF failure error case
GitOrigin-RevId: 902a97f6f454f09345ba4017b50623fd46e57110
2021-06-25 02:06:16 +00:00
Shane Kilkelly
7df57174ca Merge pull request #4239 from overleaf/ae-html-error-message
Avoid using HTML responses as error messages

GitOrigin-RevId: 4cb8df259f51ff351c6f22fa82c016068ff87880
2021-06-25 02:06:08 +00:00
Alf Eaton
9b9d6f679e Wrap recompile response handlers in $applyAsync (#4253)
GitOrigin-RevId: 80e5652b88ba70b3ea1aef2cf24430597574353e
2021-06-24 02:07:19 +00:00
Thomas
be73463e35 Merge pull request #4248 from overleaf/tm-ta-new-subscription-currency-fixes
Fix getCurrencyCode behavior and add fallback in frontend for invalid currencies

GitOrigin-RevId: 5cc40b524148f88c0f110d2cf4bb4d3b69844f1b
2021-06-24 02:07:14 +00:00
Alf Eaton
7c97f8ab6e Switch to new JSX runtime (#4225)
* Use new JSX runtime and update Babel Node target
* Update .eslintrc
* Remove React imports

GitOrigin-RevId: 559de0267f8f2934c56a860ea8701bb522aa861a
2021-06-24 02:06:59 +00:00
Alf Eaton
94641f737c Merge pull request #4243 from overleaf/as-fix-webpack-public-path
Configure webpack public path for gallery search bundle, fixing translations failing to load

GitOrigin-RevId: e785ccac2bbba7ff9d929730c6ea84249f6db109
2021-06-24 02:06:54 +00:00
Alf Eaton
bb55fc2e32 Add useDropdown hook (#4228)
GitOrigin-RevId: a16762139049aed1e309b1330602c3b291d41f81
2021-06-24 02:06:49 +00:00
Alf Eaton
2328dd1705 Add useAbortController hook (#4234)
GitOrigin-RevId: 731f86a2b07cd2c3189e6ca86bba9fbbc913f429
2021-06-24 02:06:45 +00:00
Jakob Ackermann
b2bc589ad1 Merge pull request #4236 from overleaf/jpa-cleanup-metrics
[PdfJsMetrics] drop unused metrics

GitOrigin-RevId: 377cb4c97746bb81b9cf90e1d48e0050a8d05893
2021-06-23 02:05:52 +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
Timothée Alby
866e2f0aab Merge pull request #4223 from overleaf/bg-load-server-worker-timeout
add timeout on loading of service worker

GitOrigin-RevId: d2153c9abf1dbd6eee3b2fcfd770a21766ebb84e
2021-06-22 02:07:16 +00:00
Timothée Alby
392b854f49 Merge pull request #4224 from overleaf/as-symbol-palette-tweaks
2 minor symbol palette tweaks

GitOrigin-RevId: a1e8a1994330735f9cdb154743f679b02213ccb0
2021-06-22 02:07:12 +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
1760d93fc4 Upgrade React to v17 (#4201)
* Upgrade react and react-dom
* Fix test
* Ensure that the "history:toggle" event is broadcast when switching in or out of history view
* Add ControlledDropdown
* Remove DropdownButton stories

GitOrigin-RevId: 3810f6986bb60e59af31f960f431c31be16554f5
2021-06-19 02:08:29 +00:00
Alasdair Smith
20b27116f8 Merge pull request #4218 from overleaf/ae-symbol-palette-beta
Enable symbol palette for beta users

GitOrigin-RevId: 36840499b5732cc9087e0cc6e9aef861b16009f5
2021-06-18 02:05:49 +00:00
Alasdair Smith
27cc8c5adf Merge pull request #4215 from overleaf/ae-symbol-search
Improve symbol palette search

GitOrigin-RevId: 03492ed8d94f1f7e8a8ed70757283fd4f565a360
2021-06-18 02:05:44 +00:00
Miguel Serrano
8856f3121d Merge pull request #4118 from overleaf/msm-fix-nav-toolbar-anonymous
Fix problems with React Navigation Toolbar on anonymous access

GitOrigin-RevId: 29b652ac2765129e3adf2f9bca2309e8a18ac823
2021-06-18 02:05:40 +00:00
Miguel Serrano
567d52c573 Merge pull request #4222 from overleaf/ae-project-owner-id-path
Fix project owner id path in scope

GitOrigin-RevId: 5ea74a01d9feb584c4cb78b620d2f2854ee45e3f
2021-06-18 02:05:36 +00:00
Alf Eaton
387950b495 Add conditional rendering to CobrandingLogo (#4221)
Co-authored-by: Miguel Serrano <mserranom@gmail.com>
GitOrigin-RevId: 033cc5bfdbbd3cc03d11f28f9e2dc0cd6d95b8ff
2021-06-18 02:05:32 +00:00
Jessica Lawshe
f8ab7c32ea Merge pull request #4202 from overleaf/jel-gallery-pagination
Add pagination to the gallery

GitOrigin-RevId: 7107133da5e5ccf316235a6688070203c8bfa566
2021-06-17 02:09:38 +00:00