Commit graph

387 commits

Author SHA1 Message Date
Alf Eaton
aca889a3e0 Sync cursor position to PDF when double-clicking on a heading in the file outline (#7314)
GitOrigin-RevId: ef98f5d20e99bfc03c91cbf4027d277e738ab176
2022-04-11 08:03:14 +00:00
M Fahru
f23accc572 Merge pull request #7292 from overleaf/tm-plans-page-layout-teardown
Tear down plans page split test variant with new layout

GitOrigin-RevId: ab09066f05d17ca17a19ab8895fac141e1e89bff
2022-04-08 08:04:32 +00:00
June Kelly
dc6f480843 Merge pull request #7275 from overleaf/ds-shared-loading-spinner-2
Changed LoadingSpinner default delay

GitOrigin-RevId: 2bf499585e3394e5c6b8ed9583add7ef6f678fc1
2022-04-07 09:56:57 +00:00
Alf Eaton
69a2283984 Upgrade to webpack v5 (#7249)
GitOrigin-RevId: 69dc5f9aad3e045cc6904e3663e9965094eced76
2022-04-07 08:03:46 +00:00
Timothée Alby
d968810a27 Merge pull request #7301 from overleaf/ta-ii-outline-filename-fix
Fix File Outilne after Switching to Binary Files

GitOrigin-RevId: 3b349399cb90dd911381c27522a5ca067312f621
2022-04-05 12:19:45 +00:00
Timothée Alby
3c01402bbd Merge pull request #7034 from overleaf/ta-pdf-detach-full
PDF Detach v2

GitOrigin-RevId: 3deb76474185f9176cde23ab32ef51b90df6e8e9
2022-04-05 12:19:23 +00:00
Jakob Ackermann
06bf7347d4 Merge pull request #7051 from overleaf/jpa-admin-token-access-www
[web] make sure that token access links are on non admin domain

GitOrigin-RevId: 2cfadbe67244a15803caa68747de2ed33fc6d4fb
2022-04-05 12:18:43 +00:00
Thomas
76beba4393 Add cookie banner (#6627)
* Add cookie banner

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
Co-authored-by: Miguel Serrano <mserranom@users.noreply.github.com>
GitOrigin-RevId: a3625d4e6357ff58c7c47532901c382bedbe07e0
2022-04-05 12:17:25 +00:00
Alf Eaton
935dc9be7c Remove unused code and translation keys (#7140)
GitOrigin-RevId: 15ce5d22a40ebe56cae76c78703c1547f2ab0552
2022-03-28 08:04:07 +00:00
Alf Eaton
439ba17bd5 [web] Fetch and parse compile log files asynchronously (#6220)
GitOrigin-RevId: 91b4c3551b705e7c07205b1bced3ae4768b10edb
2022-03-28 08:04:01 +00:00
Alf Eaton
74b76c853d Increase the maximum size of the pdf.js canvas (#7207)
GitOrigin-RevId: 699c4ded7a783e37f655e05452943de7443f1012
2022-03-28 08:03:51 +00:00
Eric Mc Sween
6061e09ab9 Merge pull request #7180 from overleaf/em-missing-pdf-download-domain
Handle missing PDF_DOWNLOAD_DOMAIN setting

GitOrigin-RevId: 3f022ec1637f7f38ca98503b1ab08748f6bbf87d
2022-03-24 09:03:57 +00:00
Timothée Alby
ac3eb878d6 Merge pull request #7172 from overleaf/ta-pdf-viewer-backdrop-hide
Fix Logo Backdrop in PDF Viewer

GitOrigin-RevId: ae9eb98dc8a51a882354b6ddea095df2bed51346
2022-03-24 09:03:44 +00:00
ilkin-overleaf
57e60c05ca Merge pull request #7066 from overleaf/ta-synctex-disable-multi
Disable Synctex Controls for Docs and Multiselections

GitOrigin-RevId: 9f14e68228f9aa13a4188918930fc8cdb5eefabf
2022-03-22 09:03:21 +00:00
Alf Eaton
65e71714b8 Upgrade pdf.js via split test framework (#7053)
GitOrigin-RevId: dffe1f5bec07cba0914e3bd18ff5332dfe204f33
2022-03-21 09:03:16 +00:00
Alf Eaton
9d9bf8b9d0 Import Promise.allSettled from core-js (#7099)
GitOrigin-RevId: e7c1da844c3c7e8caec386b06f3b8393ea79529c
2022-03-21 09:03:07 +00:00
June Kelly
837ad6002f Merge pull request #6911 from overleaf/ta-layout-dropdown-view-fix
Fix Layout Dropdown in History and File Views

GitOrigin-RevId: 17792e6ec516ac9d72c050d5e2b83066fa34ed6d
2022-03-16 09:03:14 +00:00
June Kelly
1fc13e6549 Merge pull request #7036 from overleaf/ta-go-to-pdf-hide-logs
Hide Logs When Highlighting PDF Location

GitOrigin-RevId: cdf22393b1dde5eb842cf0f8b2d7d8c408bc8eca
2022-03-16 09:03:11 +00:00
Alf Eaton
9f969d07e0 Delete unused PDF-related code (#6334)
* Remove new logs UI code
* Remove unused preview components
* Move metrics file
* Remove Angular PDF controllers
* Move the service worker util functions
* Remove the ide/pdfng folder
* Remove vendored pdf.js
* Remove showNewPdfPreview
* Use mockCompile
* Remove split test code

GitOrigin-RevId: 723b7440c62cda51f6ad8bb9c691900882166d21
2022-03-16 09:03:04 +00:00
Timothée Alby
9ba3f04491 Merge pull request #7002 from overleaf/ta-compile-dropdown-button-not-disabled
Don't Disable Dropdown Button When Compiling

GitOrigin-RevId: 099ddae07c7601016103514168eef80712ccc57f
2022-03-07 09:03:01 +00:00
Timothée Alby
5ba970b81e Merge pull request #6986 from overleaf/ta-compile-button-disabled
Disable Compile Button when Compiling

GitOrigin-RevId: c25cbaab3547695919ba62385cffef2a44665fec
2022-03-04 09:03:37 +00:00
Timothée Alby
f8988e8087 Merge pull request #6958 from overleaf/ta-file-tree-selection-flat-3
Explicitly Distinguish Docs and Files

GitOrigin-RevId: 90738dd47b36342aed0eaf46a3842042d9d0f4b6
2022-03-03 09:02:59 +00:00
Timothée Alby
b2e93f7db7 Merge pull request #6800 from overleaf/ta-file-tree-selection-flat-2
File Tree File Selection in Flat PDF View Take 2

GitOrigin-RevId: 0e7732e3a4df0650a6410d202c06c4852666615d
2022-03-02 09:02:27 +00:00
Alf Eaton
428d82618f Remove unused props from ToolbarHeader (#6864)
GitOrigin-RevId: cef9fb44f9c368084e4a2a7dd017cea8899adbaa
2022-02-24 09:04:07 +00:00
Brian Gough
fde4f72adf Merge pull request #6779 from overleaf/ae-cm-editor-switch
[web] [cm6] Add a three-way switch for editor choice

GitOrigin-RevId: fff788ddad8d10488e8446de7f1503702da0985f
2022-02-22 09:03:05 +00:00
Timothée Alby
4dc4286d1b Merge pull request #6778 from overleaf/ta-revert-file-tree-selection-flat
Revert File Tree File Selection in Flat PDF View

GitOrigin-RevId: c82b0155c4e028ee54345083c97c4ee3b7cc7ed5
2022-02-16 11:40:46 +00:00
Timothée Alby
9049691f42 Merge pull request #6683 from overleaf/ta-file-tree-selection-flat
File Tree File Selection in Flat PDF View

GitOrigin-RevId: a6169e7d167e26f4b086ca13acd863988ce07c2f
2022-02-16 11:40:09 +00:00
Miguel Serrano
a3b01659a4 Fix isRequired error in GoToCodeButton.propTypes (#6646)
Skip `PdfSynctexControls` rendering until `position` is set

GitOrigin-RevId: ea40c7f98ea3bbdf3d8689175658d2c014b68436
2022-02-16 11:38:02 +00:00
Alf Eaton
e73ad85d0e Add AbortController polyfill to captcha script (#6555)
GitOrigin-RevId: 3a7e8350b4d6d62583a3cb87378605f13cde3728
2022-02-07 09:03:39 +00:00
Thomas
635a478f36 Add plans page split test variant with new layout (#6450)
* Add plans page split test variant with new layout

* Set itm_content to toggle if group modal clicked through via variant view toggle button

* Change split test name to be more specific

GitOrigin-RevId: 0fa48b1b74eea84f15e630e3a62b36be5549da9e
2022-02-02 09:03:11 +00:00
Thomas
1777c075ea Merge pull request #6423 from overleaf/tm-plans-new-events
Add new analytics events to plans page/subscription flow

GitOrigin-RevId: 7b70ee30749ebc671cf2445f3cbdae91a7278b01
2022-02-02 09:03:07 +00:00
Jakob Ackermann
3730672c97 Merge pull request #6502 from overleaf/jpa-skip-likely-failing-login-request
[web] skip login re-try request when no captcha response was generated

GitOrigin-RevId: 9edc6e8394914a710020983fe9cbcf09d543a82f
2022-01-27 09:03:48 +00:00
Jakob Ackermann
8e77ada424 Merge pull request #6417 from overleaf/jpa-device-history
[web] add cookie/JWE based device history for skipping captcha challenge

GitOrigin-RevId: b091564bfd93f7e587d396c860fd864f220f4b63
2022-01-27 09:03:34 +00:00
Jakob Ackermann
a13dee04c6 Merge pull request #6424 from overleaf/jpa-multi-submit-async-form
[web] add support for async-form inside a multi-submit page

GitOrigin-RevId: 801363aeacc6c10411aceaf2c09a5e4b3b90fcf7
2022-01-26 09:02:55 +00:00
Tim Alby
bbac46156b convert price_in_unit to price_in_cents
GitOrigin-RevId: bae030e9c90f8286d6e6550744849984fe81f63d
2022-01-21 09:03:29 +00:00
Tim Alby
3e70546e18 rename price attributes to price_in_cents or price_in_unit
GitOrigin-RevId: 8045472c96862078583fcb522099ad78926281dc
2022-01-21 09:03:23 +00:00
Alf Eaton
f065a7a909 Improve the Icon component (#6245)
GitOrigin-RevId: fbb23b32c47edbe5a22badc627318accbd09e82a
2022-01-20 09:03:58 +00:00
Alf Eaton
1dd62570a6 Merge pull request #6390 from overleaf/ae-is-visible-binary
[web] Only run updateOnResize when the PDF viewer is visible

GitOrigin-RevId: 90b5632f45406b66af7710c6e8346cf73ffbebea
2022-01-20 09:03:28 +00:00
Jakob Ackermann
5a7698ddef [web] refactor updating of scroll position in pdf view
Co-Authored-By: Timothée Alby <tim.alby@overleaf.com>
GitOrigin-RevId: 932c880bcd41e68d231928bdcbbaeb06c60f6fd5
2022-01-14 09:03:28 +00:00
Miguel Serrano
56d826f255 Force Promise.allSettled polyfill (#6192)
* Force `Promise.allSettled` polyfill

`Promise.allSettled` is required by `pdf.js`, but the polyfill is not available in the bundle. This forces babel to include the polyfill without having to process `pdf.js` with webpack/babel, which causes issues loading documents.

* Updated core.js version for test config

GitOrigin-RevId: 981da187352ffc8c59cb77ba55a0a9643bd7cc9a
2022-01-12 09:04:06 +00:00
Miguel Serrano
35396ab61a Add limit to log parsing for react log viewer (#6213)
* Add limit to log parsing for react log viewer

GitOrigin-RevId: e2e5ffd6eaf1c207cc4f49fb5c637457990c328e
2022-01-12 09:03:59 +00:00
Thomas
3f05f7f283 Merge pull request #6294 from overleaf/ta-synctex-detach-icon
Remove Arrows from Synctex Button in Detach Mode

GitOrigin-RevId: 0b96ed29fd43308383c1db658f1d8d5143e3dd23
2022-01-12 09:03:28 +00:00
Timothée Alby
6319455e91 Merge pull request #6236 from overleaf/ta-project-context-strict
Strict Project Context

GitOrigin-RevId: a0f7f2b3dcb29fbd0102dcb920cf5424a921d583
2022-01-11 09:05:03 +00:00
Timothée Alby
24bd557485 Merge pull request #6210 from overleaf/ta-file-tree-data-in-context
Remove rootFolder from EditorContext

GitOrigin-RevId: 827b046046265ad2418eb91d5a69eae02aa8b5a4
2022-01-11 09:04:56 +00:00
Timothée Alby
392410390e Merge pull request #6209 from overleaf/ta-file-tree-rework
File Tree Misc Code Changes

GitOrigin-RevId: dce64a5378ecee5c8a2e25e02502ae631d87f36b
2022-01-11 09:04:50 +00:00
Timothée Alby
55829a3382 Merge pull request #6199 from overleaf/ta-pdf-detach-sync-to-entry
Make syncToEntry a Detach Action

GitOrigin-RevId: 92e92b770c4e2be5b001c083d2d490231a7fddfb
2022-01-11 09:04:33 +00:00
Alf Eaton
341d012cea Remove paywall-prompt event tracking from compile controller (#6241)
GitOrigin-RevId: cab36fd1f2a79166c39b801a29155f1ef64edc00
2022-01-11 09:04:07 +00:00
Alf Eaton
5b560ad8ab Only store/restore PDF scroll position when visible (#6218)
GitOrigin-RevId: c2023b5173fe4668f52da3e096c3dfc0124a7248
2022-01-11 09:03:55 +00:00
Alf Eaton
50df230846 [web] Upgrade Prettier to match version in monorepo root (#6231)
GitOrigin-RevId: 02f97af1b9704782eee77a0b7dfc477ada23e34d
2022-01-11 09:03:23 +00:00
Timothée Alby
b11d4b002c Merge pull request #6056 from overleaf/msm-remove-unnecessary-pdf-event-tracking
Cleanup PDF Preview event tracking

GitOrigin-RevId: 8fadaee2759f60e70e27ac417593d35cc73e8b68
2021-12-22 09:03:27 +00:00
Timothée Alby
44eca312ff Merge pull request #6053 from overleaf/ta-pdf-detach-tests
PDF Detach Misc Tests

GitOrigin-RevId: 9615c8fdfd8964a9c63d7c91e4596d397a1d35dc
2021-12-15 09:04:46 +00:00
Timothée Alby
1201a733d9 Merge pull request #6083 from overleaf/ta-on-select-conditional
Avoid Calling onSelect When Selection Hasn't Changed

GitOrigin-RevId: 20e9b9a905195c98c60fafe132adfbaa90925e40
2021-12-15 09:04:39 +00:00
Timothée Alby
c1c0f1fe4a Merge pull request #6039 from overleaf/ta-synctex-cursor-position-init
Fix Cursor Position Tracking for Synctex

GitOrigin-RevId: 6df703812f3efa2163b953aab82f32e174919179
2021-12-15 09:04:33 +00:00
Alf Eaton
abbc0ff3f5 Track share-modal-opened event only when the Share modal is opened (#6088)
GitOrigin-RevId: 1518b879d6b31cad578335192d5fe01f90b8a539
2021-12-15 09:03:27 +00:00
Alf Eaton
458c490f6f Add a client id when sending a chat message (#6073)
GitOrigin-RevId: 3ddfab6e711de6770b27aafe87491d33e310635c
2021-12-15 09:03:08 +00:00
Alf Eaton
42d06a091e Merge pull request #6064 from overleaf/jpa-fix-contacts-sorting
[web] share-project-modal: use server-side sorting of contacts

GitOrigin-RevId: fb66cf33a36b60c5014f87f001e682fa31ff7ff7
2021-12-13 09:03:52 +00:00
Alf Eaton
6a175c703b Restore Ctrl for some key combinations in the Hotkeys modal (#6036)
GitOrigin-RevId: e4bba11c128d6b6405619b1c4346c286bf69a044
2021-12-13 09:03:40 +00:00
June Kelly
affe266609 Merge pull request #5995 from overleaf/jk-navbar-menu-button
[web] Use real button for Menu button in navbar

GitOrigin-RevId: c1b85c366046774aa638801647cb61eba0de7098
2021-12-09 09:02:24 +00:00
Miguel Serrano
48233cd593 Merge pull request #6027 from overleaf/ae-disabled-download-pdf-tooltip
Fix tooltip on disabled download PDF button

GitOrigin-RevId: d1814e75886d8a530331c3ded01499dcad8a4289
2021-12-08 09:03:16 +00:00
Miguel Serrano
9ce9b0e8d7 Merge pull request #6021 from overleaf/ae-pdf-preview-horizontal-scroll
[web] Store left offset of PDF position

GitOrigin-RevId: 77d6b52a8485a427bb59618bf42b5f4a300c260a
2021-12-08 09:03:05 +00:00
Miguel Serrano
e8c645bf28 Using uuid for compilation logs (#6003)
GitOrigin-RevId: 96646870da597881a6e8b26564be4dee26385bb8
2021-12-08 09:03:02 +00:00
Jessica Lawshe
45e2c67264 Merge pull request #5986 from overleaf/jel-detach-stop-compile
Stop compile when detach layout selected

GitOrigin-RevId: 27516373a5d4069c42596e422b564e0873564b63
2021-12-03 09:04:35 +00:00
Jessica Lawshe
994b34bb2d Merge pull request #5981 from overleaf/jel-synctex-bug
Fix postMessage error for PDF detach SyncTeX

GitOrigin-RevId: 701e92ca3d6bc20a6069d5290ee52d9d2d8f63b4
2021-12-03 09:04:15 +00:00
Jessica Lawshe
2772cc878c Merge pull request #5969 from overleaf/jel-badge-pdf-detach
PDF detach beta badge

GitOrigin-RevId: fb2f1ebf8582e436395972f4cf814e34c8b662d6
2021-12-03 09:04:08 +00:00
Alf Eaton
d7efa156f9 [web] Account for page border when restoring scroll position in PDF preview (#5955)
GitOrigin-RevId: a5c74151e085db2e413ff27b46c67bff8c28487f
2021-12-03 09:03:50 +00:00
Timothée Alby
f6fc3d468c Merge pull request #5854 from overleaf/ta-pdf-detach-v2
PDF Detach Updates

GitOrigin-RevId: c09c4fe37a922b041cfa1376e110a264a88177c8
2021-12-01 09:03:41 +00:00
Alf Eaton
2e3f56c0d4 Check for the presence of window.ResizeObserver (#5924)
GitOrigin-RevId: d072c9313967b52370a870fc2d30b50c498d8d1d
2021-11-30 09:03:05 +00:00
Alf Eaton
bab4d5d58f Extend AUTO_COMPILE_DEBOUNCE to allow for increased SINGLE_USER_FLUSH_DELAY (#5883)
GitOrigin-RevId: f65113b2dea901fb757dafb08acc32c770960bf2
2021-11-26 09:03:21 +00:00
Miguel Serrano
9ce51f9f2f Prevent compilation request from being ignored in compiler.js (#5818)
GitOrigin-RevId: 1442ad0890b73134e6f563a1b474e4bc9e8a6ecd
2021-11-26 09:03:14 +00:00
Miguel Serrano
7de1e6f979 Update log error ordering and wording on tips (#5873)
* Show bibtex errors with compile errors
* Update wording on error log tips

GitOrigin-RevId: 0e25a05418b241526958016f1b525334d33ad741
2021-11-26 09:03:07 +00:00
Miguel Serrano
ec065147fb Ignore bib parse errors (#5874)
GitOrigin-RevId: 05c214762585b4d3d35ed055e1764d472b9cc861
2021-11-26 09:03:01 +00:00
Alf Eaton
4d5829dddf Merge pull request #5836 from overleaf/jk-cm-code-folding-again
[web] Add code folding to CodeMirror 6

GitOrigin-RevId: b6dcc5dbdda2676debeb986bd738b6dd1232fd5a
2021-11-23 09:03:06 +00:00
Alexandre Bourdin
f9873619ad Merge pull request #5769 from overleaf/ab-null-split-tests
Setup null split tests

GitOrigin-RevId: 4cba55e123d0a4add19cdace7434506e9d20c7a9
2021-11-23 09:02:46 +00:00
Hugh O'Brien
7d932f0b92 Merge pull request #5722 from overleaf/hb-improve-group-buy-ux
Update the UX for the group subscription modal

GitOrigin-RevId: 6700a5c4907e0c966ee3b2954b6417ccf9edf37e
2021-11-17 09:04:06 +00:00
Alf Eaton
7c186082ef Merge pull request #5789 from overleaf/hb-fix-cursor-jump-share-modal
Prevent cursor jumping in share modal input

GitOrigin-RevId: e3c88e4ff91bc9a83e8ac781305d0a34f198911c
2021-11-17 09:03:16 +00:00
Timothée Alby
8ca159b4b9 Merge pull request #5797 from overleaf/ta-pdf-detach
PDF Detach

GitOrigin-RevId: f69d8a87d1ba2115ad496a719106dfc7707a6ed5
2021-11-16 09:02:57 +00:00
Alf Eaton
3feca1ffc6 Move symbol palette to module and add overlay (#5396)
GitOrigin-RevId: 649dd56aaecd60662bd2bf534bda323ee541874f
2021-11-11 09:03:05 +00:00
Hugh O'Brien
d8dfcf7708 Merge pull request #5650 from overleaf/hb-remove-symbol-search-hint
Show disabled tabs instead of hint on symbol search

GitOrigin-RevId: bc67fd4928da38d895f6c811364e017cc3ec9061
2021-11-10 09:02:35 +00:00
Hugh O'Brien
a5323293e0 Merge pull request #5636 from overleaf/hb-single-context-menu-for-file-tree
Use context menu for all file tree dropdowns

GitOrigin-RevId: 8283093b428b4cb53bc1ed7795e398ffe4bd3496
2021-11-10 09:02:32 +00:00
Miguel Serrano
f97f753b1e Merge pull request #5499 from overleaf/msm-remove-angular-nav-toolbar
Remove Angular Navigation UI

GitOrigin-RevId: a71da3da665515ec6ce74ae41ff1f0b47b86134e
2021-11-09 09:04:16 +00:00
Miguel Serrano
83e0a0c29b Fix scrollIntoView for PDF highlights (#5723)
GitOrigin-RevId: c2196ca3e3eed14a48b827a27a13f13232bb4c00
2021-11-09 09:03:55 +00:00
Miguel Serrano
26eb5d7cdc 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
a5fd363938 Protect pdf-js-wrapper from NPE error (#5658)
GitOrigin-RevId: 55bdc27afb7dd9ea55751ae0bd89a2498f9f2ce6
2021-11-04 09:03:58 +00:00
Jessica Lawshe
3ad686c30b Merge pull request #5630 from overleaf/jel-layout-dropdown
New project layout dropdown

GitOrigin-RevId: 8d7f4ff6649fe249b762642e70522597e5e78dd4
2021-11-04 09:03:44 +00:00
Jakob Ackermann
a6f05109a3 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
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
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
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
61f466afc0 Ignore invalid synctex highlights (#5476)
GitOrigin-RevId: 9123a09502f17c1251995b2e7133b345db885107
2021-10-18 08:03:41 +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