Commit graph

724 commits

Author SHA1 Message Date
Timothée Alby
e8ddc95c2f Merge pull request #5507 from overleaf/jel-gallery-titles
[web] Title layout fix on gallery list pages

GitOrigin-RevId: 3d4f1492a2ebe04184ffee25d585bcea0691271d
2021-10-22 08:04:37 +00:00
Alf Eaton
be809a0de8 Reinstate uses of useScopeValue (#5544)
GitOrigin-RevId: d1eac1b18b042fbd4203cd37c79abef10cec626c
2021-10-22 08:04:13 +00:00
Jakob Ackermann
49adb35811 Merge pull request #5515 from overleaf/jpa-new-cdn-caching
[gdm] enable caching for the new CDN

GitOrigin-RevId: 01128d2cc730198c726efb7b7bfd576a1fbd268e
2021-10-22 08:03:56 +00:00
Jakob Ackermann
564f40978f Merge pull request #5504 from overleaf/jpa-old-cdn-probe
[web] add a probe for the old/current CDN

GitOrigin-RevId: 59e34e793edceebb49a8d6fa4e3e6716b921d09d
2021-10-22 08:03:50 +00:00
Alf Eaton
913a62fbc8 Migrate synctex controls to React (#5503)
GitOrigin-RevId: 80362a00ae6b73616a6fa9b3193b9b9974b5fd35
2021-10-22 08:03:43 +00:00
Alf Eaton
684efaaf5f 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
2bf422b76d 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
dd5bcd6098 Merge pull request #5521 from overleaf/ae-remove-stop-compile-button
Remove "Stop compiling" action from Recompile button in new PDF preview toolbar

GitOrigin-RevId: a4c90ec7d6213c49e11f13f045354ce66f2e9a8b
2021-10-22 08:03:28 +00:00
Alf Eaton
bd3d0d124d Merge pull request #5520 from overleaf/ae-log-entry-height
Fix log entry height in new PDF preview

GitOrigin-RevId: a9b7cae352da87f391c66720b109e3d9fd00fe52
2021-10-22 08:03:24 +00:00
Alf Eaton
d4035c4f1e Merge pull request #5498 from overleaf/ae-recompile-button
Fix padding on recompile button in hybrid toolbar

GitOrigin-RevId: 36a2433833a76572bcf55c3109931d4e1ca63778
2021-10-22 08:03:20 +00:00
Alf Eaton
5c82945e12 Merge pull request #5453 from overleaf/ae-body-font-smoothing
Fix effect of font-smoothing style on PDF rendering

GitOrigin-RevId: 0b891cb003bf50c62059bf9d85a2da9535a3d625
2021-10-22 08:03:17 +00:00
June Kelly
4f29ca5cbd Merge pull request #5395 from overleaf/msm-pdf-metrics
Added PdfJsMetrics to React PDF Viewer

GitOrigin-RevId: ff749d67baec243ca2c8e51409754716f4cef62c
2021-10-21 08:03:07 +00:00
Jessica Lawshe
9079e466e0 Merge pull request #5336 from overleaf/jel-gallery-advanced-facets
Add facets to advanced gallery search

GitOrigin-RevId: 7612a9b06b6dcd8896456324078a8c16524e145c
2021-10-19 08:03:32 +00:00
Alf Eaton
89dfcaf528 Finish migrating to PdfLogEntry component (#5483)
GitOrigin-RevId: 93f1da35dbc80b317964133e0437373dd0af7933
2021-10-18 08:04:12 +00:00
Alf Eaton
9ffe28649c Improve rendering of errors from pdf.js (#5448)
GitOrigin-RevId: 69836ba213b124e2442b2d0083531dd95be2bf4e
2021-10-18 08:04:06 +00:00
Alf Eaton
7f5200da8c Report filtered pdf.js errors to Sentry (#5438)
GitOrigin-RevId: 7ab5a6fd61d271037ee33bbeadfad00b389812d6
2021-10-18 08:03:59 +00:00
Alf Eaton
4c25dcfb2b Disable overflow: scroll on the outer pdf.js element (#5446)
GitOrigin-RevId: 77485d0dd2af3e4dc6f86f322816e00beee9dfa9
2021-10-18 08:03:52 +00:00
Alf Eaton
7991fc1ebd Visually hide br in text selections (#5447)
GitOrigin-RevId: ee26da17dd8087545022ce704ef98102e7eb9ea0
2021-10-18 08:03:45 +00:00
Alf Eaton
61f466afc0 Ignore invalid synctex highlights (#5476)
GitOrigin-RevId: 9123a09502f17c1251995b2e7133b345db885107
2021-10-18 08:03:41 +00:00
Alf Eaton
01f7f19446 Ensure sendMBOnce only sends event once (#5481)
GitOrigin-RevId: 360ae263213b4fd36aa33d41c6d54ef91f7f54fa
2021-10-18 08:03:37 +00:00
Alf Eaton
09f3962ded Ensure that the TimeoutUpgradePrompt component returns null (#5482)
GitOrigin-RevId: 95e58537c82d9bedd055839cfb916a06c1ef96df
2021-10-18 08:03:34 +00:00
Alf Eaton
12eab99990 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
f7ef2532e0 Handle PDF preview on toggle between split and full-width views (#5470)
* Only hide the compile logs pane when toggled off
* Handle PDF preview on toggle between split and full-width views

GitOrigin-RevId: 9ceca8a06a22abfa78f245e1ae5d24af98215906
2021-10-18 08:03:26 +00:00
japm48
90befc1fdd [Imported] recognize \addsec in layout, (#954) (#5428)
* recognize \addsec instead of \addsect in outline

\addsec is the correct name used by KOMA-Script,
\addsect was a typo and is removed.

COPYBARA_INTEGRATE_REVIEW=https://github.com/overleaf/overleaf/pull/954 from japm48:patch-2 11934c71f2

* Fix test for addsec(t)

Co-authored-by: japm48 <japm48@users.noreply.github.com>
GitOrigin-RevId: 634cef54d9d097b10700fabb05187a1af7b27375
2021-10-15 08:03:19 +00:00
Alf Eaton
2f835144c8 Upgrade pdfjs-dist to v2.10.377 (#5436)
* Upgrade pdfjs-dist
* Explicitly disable XFA in PDF.js

GitOrigin-RevId: 6987fe6e6f87a05d8f71d83a8b09b33caeade712
2021-10-13 08:03:45 +00:00
Alf Eaton
9c0b6f0fa7 Remove clsiserverid query parameter from compile request (#5408)
* Remove clsiserverid query parameter from compile request

* Rename buildQueryParams to buildPostCompileParams

GitOrigin-RevId: 4448179e910eeb664cece2b9384f8e7197f3185c
2021-10-13 08:03:14 +00:00
Alf Eaton
ce3b304ec8 Remove chktex fetching and parsing from migrated PDF preview (#5409)
GitOrigin-RevId: 3c6721a1272d809679ec1e2f2fcd1a7251e1321b
2021-10-13 08:03:08 +00:00
Alf Eaton
e26d47cb41 Add hybrid toolbar to migrated PDF preview (#5414)
GitOrigin-RevId: 6266028091229c819aee3c8d4bd3bff2e2417125
2021-10-13 08:03:01 +00:00
Alf Eaton
adf8828860 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
845b2fbc04 Move useScopeValue hook to shared hooks folder and wrap setValue in a function (#5386)
GitOrigin-RevId: b1a6a4e871af3b52fb3d100a83b479c834cb75ca
2021-10-11 08:03:29 +00:00
Alf Eaton
165520a6f2 Refactor scoped layout values into LayoutContext (#5356)
GitOrigin-RevId: b0b07ddd078bfc5acd944cac14bc00dc83d09d21
2021-10-11 08:03:17 +00:00
Miguel Serrano
8766c45362 Add log limit and info notice to PDF Preview log view (#5390)
GitOrigin-RevId: 14764d109dbe13d7e4fb4f79f098c74d4b57d59d
2021-10-11 08:03:13 +00:00
Alf Eaton
ffc72416ff Move clsiServerId and compileGroup from ide to ide.$scope.pdf (#5314)
GitOrigin-RevId: 6050898614b4fc9dee52e893149acfda17c324a0
2021-10-11 08:03:10 +00:00
Miguel Serrano
07ca18cdbb Added keyboard shortcuts for zoom (#5334)
GitOrigin-RevId: b284f923e9b4aba7837430239b09e05bb0308d09
2021-10-11 08:03:07 +00:00
Alf Eaton
a4799c29b6 Fail tests when context propTypes validation fails (#5323)
* Fail test when context proptypes validation fails
* Remove isRequired from context propTypes validation

GitOrigin-RevId: c6da5f93672434c0d80be3f659c1fc15dc3dab1f
2021-10-11 08:03:03 +00:00
Alf Eaton
4adf32cb43 Filter out "source: compile' annotations (#5324)
GitOrigin-RevId: f0febf42fa46a28b357b2c4c2768f2a9b543e609
2021-10-11 08:03:00 +00:00
Alf Eaton
b902bd9265 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
Jakob Ackermann
0f1be83f46 Merge pull request #5362 from overleaf/revert-5350-jpa-debug-cdn-errors
[web] bring back the sentry integration for the de-ng bundle

GitOrigin-RevId: 74dbafaf0984b782f2df75f8cb79be0ea71af9f2
2021-10-07 08:04:43 +00:00
Jakob Ackermann
12890edd14 Merge pull request #5344 from overleaf/jpa-no-callback-literal
[web] fix eslint violations for node/no-callback-literal

GitOrigin-RevId: 8d6bb1398b3db2794bf1b2f97cd6d2886f2b4b0a
2021-10-07 08:04:30 +00:00
Jakob Ackermann
34beda9a1f Merge pull request #5332 from overleaf/jpa-rework-metrics-csv-download
[web] metrics module: rework the 'Download CSV' button

GitOrigin-RevId: ab15513e7c49098716207ecf4d0ff893692c3de6
2021-10-07 08:04:16 +00:00
Jakob Ackermann
66ea2e613c Merge pull request #5281 from overleaf/jpa-rework-language-picker
[web] rework the language picker UI in the footer

GitOrigin-RevId: fb9fe9a560a0f059f58c76d6a85f31ffabc14f4f
2021-10-07 08:04:10 +00:00
June Kelly
03e1daa038 Merge pull request #5201 from overleaf/msm-pdf-viewer-error-boundaries
Error boundaries for React PDF viewer

GitOrigin-RevId: 90052fc183f7ece8125ecfb0410a529cf905c13b
2021-10-07 08:03:43 +00:00
June Kelly
94773e898e Merge pull request #5280 from overleaf/hb-max-log-entries-display
Display only a max of 100 log entries

GitOrigin-RevId: 7a9a9d6824eda72dd6c19024d1e0ff6d25bebf49
2021-10-07 08:03:37 +00:00
June Kelly
1e7dbeeb94 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
Jakob Ackermann
4cecc6383a Merge pull request #5361 from overleaf/jpa-fix-cdn-load-test
[web] rework the loading process for the CDN load test

GitOrigin-RevId: dd14ca29668e88944457e03ffd8c921e2ce93929
2021-10-06 08:03:22 +00:00
Jakob Ackermann
c2a2a9b0d8 Merge pull request #5350 from overleaf/jpa-debug-cdn-errors
Revert "[web] bring back the sentry integration for the de-ng bundle"

GitOrigin-RevId: ec97c031d63c49c1a6779fa1cf01b07812ffa935
2021-10-06 08:03:18 +00:00
Jakob Ackermann
e3ec2fc11c Merge pull request #5308 from overleaf/jpa-de-ng-sentry
[web] bring back the sentry integration for the de-ng bundle

GitOrigin-RevId: 1f8e98398dd87d322c9e5506669b4a1126ab072e
2021-10-04 08:03:35 +00:00
Eric Mc Sween
060fa5cfe2 Merge pull request #5322 from overleaf/em-disable-file-line-errors
Disable file line errors

GitOrigin-RevId: b62b8f98c1cb48659e0320daec458443f7f40877
2021-10-01 08:03:45 +00:00
Alf Eaton
73bc3418a2 Add React version of the PDF preview pane (#5135)
GitOrigin-RevId: fcc88a362c3e97c9fddf85d47c3a83a0a0b89432
2021-10-01 08:03:12 +00:00
Brian Gough
91c31b2523 Merge pull request #5206 from overleaf/bg-roll-out-file-line-errors-all
roll out file line errors all users

GitOrigin-RevId: a7335217e20f9532521a094793f0d7d377cc8f8c
2021-10-01 08:03:08 +00:00