Miguel Serrano
bf0c439794
Cleanup compile results on compilation error ( #5663 )
...
- pdfUrl, pdfDownloadUrl and log entries are now cleared up after a compilation error.
- Added a new hook, useScopeValueSetterOnly that limits how changes in React components are propagated to Angular. Since the compilation process happens entirely within compile-context it make sense that compilation results are solely managed by compile-context itself.
GitOrigin-RevId: 2003be03bab6753bb9a88194c7a6163cfd36f9c2
2021-11-04 09:04:05 +00:00
Miguel Serrano
888f194b41
Update pdf-preview.test.js ( #5656 )
...
Since the original test iterates over a number of fixtures, it makes more sense to express it as parameterized test, running each scenario separately, each using the default timeout.
GitOrigin-RevId: 6b87adbeb01975db1308b5241f6eccbcdb33f9de
2021-11-03 09:03:52 +00:00
Jakob Ackermann
a7fe64e86c
Merge pull request #5352 from overleaf/jpa-no-var
...
[misc] fix eslint violations for `no-var`
GitOrigin-RevId: c52e82f3a8a993b8662cc5aa56e7b95ca3c55832
2021-10-27 08:03:00 +00:00
Alf Eaton
7081a655bf
Migrate synctex controls to React ( #5503 )
...
GitOrigin-RevId: 80362a00ae6b73616a6fa9b3193b9b9974b5fd35
2021-10-22 08:03:43 +00:00
Alf Eaton
c2d32ad014
Use pdfDownloadDomain when fetching certain files in the new PDF preview ( #5524 )
...
GitOrigin-RevId: d8796d9f86ba87824438f4bd7dcb1a79643654c3
2021-10-22 08:03:36 +00:00
Alf Eaton
d829899354
Merge pull request #5522 from overleaf/ae-compile-feature-flag
...
Only use the React compiler when showNewPdfPreview is set
GitOrigin-RevId: 24bf8dc6a830e670ee8dc30b8e0329127de1a1a8
2021-10-22 08:03:31 +00:00
Alf Eaton
fe55a6eaf6
Finish migrating to PdfLogEntry component ( #5483 )
...
GitOrigin-RevId: 93f1da35dbc80b317964133e0437373dd0af7933
2021-10-18 08:04:12 +00:00
Alf Eaton
6dc9e17501
Improve rendering of errors from pdf.js ( #5448 )
...
GitOrigin-RevId: 69836ba213b124e2442b2d0083531dd95be2bf4e
2021-10-18 08:04:06 +00:00
Alf Eaton
fdd44d4abc
Ensure that the TimeoutUpgradePrompt component returns null ( #5482 )
...
GitOrigin-RevId: 95e58537c82d9bedd055839cfb916a06c1ef96df
2021-10-18 08:03:34 +00:00
Alf Eaton
337a1e0b1d
Migrate log entry component to new PDF preview ( #5478 )
...
* Migrate log entry component to new PDF preview
* Add a test for expandable log content
GitOrigin-RevId: 3e2154983c1ea03b5db44c87822e7043c4aa2cfe
2021-10-18 08:03:30 +00:00
Alf Eaton
8dbaa80c1e
Add hybrid toolbar to migrated PDF preview ( #5414 )
...
GitOrigin-RevId: 6266028091229c819aee3c8d4bd3bff2e2417125
2021-10-13 08:03:01 +00:00
Alf Eaton
c6c0132f5b
Mock requests for invalid PDF URLs ( #5429 )
...
GitOrigin-RevId: 35a492abb3c8ee1232672efb0d3f0fb4c643a63a
2021-10-13 08:02:57 +00:00
Alf Eaton
fc5deb25b9
Fix a few minor test issues ( #5415 )
...
* Remove signal.abort()
* Fix usage of .toString
* Fix requests for files
* Fix story
GitOrigin-RevId: 37ab4be34a8975881aed2329d4b67f8df74837d8
2021-10-12 08:03:58 +00:00
Alf Eaton
f7044ef30d
Refactor compile-related code from PDF preview context provider into a separate class ( #5341 )
...
GitOrigin-RevId: 96b8bb527fa3d60a5fb84eee2b8f4fabc1726875
2021-10-11 08:02:56 +00:00
June Kelly
b919d56db0
Merge pull request #5180 from overleaf/msm-pdf-js-viewer-tests
...
Unit Tests for `pdf-js-viewer.js`
GitOrigin-RevId: 4bd38cf98c598e2ea30791052b9c24568d92c6b8
2021-10-07 08:03:30 +00:00
Alf Eaton
c011f30f53
Add React version of the PDF preview pane ( #5135 )
...
GitOrigin-RevId: fcc88a362c3e97c9fddf85d47c3a83a0a0b89432
2021-10-01 08:03:12 +00:00