Commit graph

145 commits

Author SHA1 Message Date
Paulo Jorge Reis
11e58b5844 Add timeout upgrade prompt to the new compile UI (#3528)
* Uncouple account-upgrade and exposted-settings from Angular

* Mock socket shim with the correct methods

* Extract timeout upgrade prompt to a component

GitOrigin-RevId: ee8058b38bf5e20924a21f40d32c5bb0ee06c555
2021-01-15 03:05:48 +00:00
Jakob Ackermann
9d47b05486 Merge pull request #3549 from overleaf/jpa-disable-downloads-before-clearing-cache
[frontend] PdfController: disable download buttons before clearing cache

GitOrigin-RevId: e685411c12c9962732a5ab88fcb7466b0f6df7ce
2021-01-13 03:04:11 +00:00
Jakob Ackermann
36cc89299b Merge pull request #3544 from overleaf/hb-tidy-out-of-sync
Links from out of sync modal open new tab

GitOrigin-RevId: fdb3734eb7700fdf7a78719ce854999686f5b739
2021-01-13 03:04:06 +00:00
Timothée Alby
e7c4ce6e80 Merge pull request #3538 from overleaf/ta-file-tree-no-selection
[ReactFileTree] Update Editor View on Empty Selection

GitOrigin-RevId: 18744cd64c2a012488c3d0969549ae464e752a4b
2021-01-08 03:05:23 +00:00
Timothée Alby
87d08c8fa8 Merge pull request #3541 from overleaf/ta-root-doc-setting-fix
Set Null Default Value for rootDoc_id

GitOrigin-RevId: 7aa14f20f137f77f7d620a39b5d8f34b13a93e65
2021-01-08 03:05:02 +00:00
Jakob Ackermann
274dd56300 Merge pull request #3546 from overleaf/revert-3516-jpa-clsi-urls
Revert "[frontend] PdfController: cleanup the composing of download urls"

GitOrigin-RevId: 3243bd864ac0090c964ba2c471fa659a11528660
2021-01-08 03:04:52 +00:00
Jakob Ackermann
de646d3160 Merge pull request #3516 from overleaf/jpa-clsi-urls
[frontend] PdfController: cleanup the composing of download urls

GitOrigin-RevId: 599d9cb2fca1d75ca15cbb1bef7561215ee31aef
2021-01-08 03:04:36 +00:00
Jakob Ackermann
846f2379a8 Merge pull request #3511 from overleaf/jpa-false-positive-change-events
[frontend] EditorWatchdogManager: ignore false-positive change events

GitOrigin-RevId: 539cb6befce7210ed606c1e62045c9d15ce5b911
2021-01-08 03:04:31 +00:00
Jakob Ackermann
ae511474f2 Merge pull request #3510 from overleaf/jpa-fix-cm-listener-signature
[frontend] EditorWatchdogManager: fix signature of CM 'change' handler

GitOrigin-RevId: 9803876db052533de156087d38eb2a9486eb341f
2021-01-08 03:04:26 +00:00
Jakob Ackermann
8779e731e1 Merge pull request #3509 from overleaf/jpa-false-positive-global-lost-edit
[frontend] EditorWatchdogManager: process changes sync, report async

GitOrigin-RevId: 7548ce7c0675894ac1a36953b2350e359e816286
2021-01-08 03:04:21 +00:00
Alf Eaton
669c72ed2c Merge pull request #3445 from overleaf/ae-wordcount-modal
Migrate word count modal to React

GitOrigin-RevId: cfb5beceec7ba3a992a808b9e7417170d580b392
2021-01-07 03:04:59 +00:00
Alf Eaton
0135236df8 Merge pull request #3446 from overleaf/ae-clone-project-modal
Migrate left menu Clone Project modal to React

GitOrigin-RevId: ad113e2b40de4007def513d40551d55bb0c913db
2021-01-07 03:04:54 +00:00
Timothée Alby
4faa6dde0d Merge pull request #3505 from overleaf/as-reenable-lint-rules
Reenable some lint rules

GitOrigin-RevId: 42d891f24b7ab101308adcf8f31cccf7ac229a59
2021-01-06 03:07:40 +00:00
Paulo Jorge Reis
0507b5e1f0 Fix log hints for IE 11 (#3507)
* Fix log hints for IE 11

* Address PR feedback

GitOrigin-RevId: d5369e3dcd42970edbcf7bbd566e6e608ab90878
2021-01-05 03:07:35 +00:00
Alasdair Smith
d487ffea5c Merge pull request #3490 from overleaf/as-remove-eslint-disables
Remove empty eslint disable comments

GitOrigin-RevId: 5a0f3a5a9e4f20fdd8138ecc8c929a7587ccef66
2020-12-17 03:07:37 +00:00
Alasdair Smith
7cbf2cdd9e Merge pull request #3496 from overleaf/ae-eslint-dot-notation
Enable the eslint dot-notation rule

GitOrigin-RevId: e11cbad3e8a77a4a60590d3674fbf34feccc5bc9
2020-12-17 03:07:31 +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
Brian Gough
c446f7712c Merge pull request #3487 from overleaf/bg-shut-down-connection-manager
shut down connection manager on out of sync

GitOrigin-RevId: e191ed62a49c72e8b8ed8c9ba57ed6e0b3606abe
2020-12-15 03:05:03 +00:00
Brian Gough
9a1ef37991 Merge pull request #3484 from overleaf/jpa-hide-ui-below-out-of-sync
[frontend] hide ui elements below the out-of-sync modal

GitOrigin-RevId: 4e48b402522531524f347c784c58f4589b753997
2020-12-15 03:04:58 +00:00
Brian Gough
ad8f7fbb5d Merge pull request #3483 from overleaf/jpa-leave-on-out-of-sync
[frontend] displaying the out-of-sync modal is a dead end

GitOrigin-RevId: 475bf851c9f07bb2a7b052879b98756881de44a2
2020-12-15 03:04:53 +00:00
Brian Gough
0b94c89990 Merge pull request #3482 from overleaf/jpa-cleanup-on-epoch-mismatch
[frontend] on editorOpenDocEpoch mismatch, cleanup the old doc

GitOrigin-RevId: b07beb33a17d218d7aa35961dee5e215bd82c315
2020-12-15 03:04:49 +00:00
Brian Gough
a393352516 Merge pull request #3479 from overleaf/jpa-ignore-error-of-other-doc
[frontend] do not process otUpdateError of other docs

GitOrigin-RevId: 95b43fbe1f24c1b60a0b9beeb3814645231e5063
2020-12-15 03:04:45 +00:00
Brian Gough
62dd773629 Merge pull request #3478 from overleaf/jpa-preseve-out-of-sync-trigger
[frontend] preserve the error handler that powers the out-of-sync modal

GitOrigin-RevId: 759ede691658d42cedec7c984b284e45d5c776e9
2020-12-15 03:04:40 +00:00
Brian Gough
2200221820 Merge pull request #3477 from overleaf/jpa-harden-switching-docs
[frontend] harden the process of switching between docs

GitOrigin-RevId: f3540782f0c45671330ca7324d9d58d9c161bf84
2020-12-15 03:04:35 +00:00
Jakob Ackermann
b7e4ece352 Merge pull request #3475 from overleaf/jpa-frontend-logging
[frontend] proper source location for console.log calls with debug=true

GitOrigin-RevId: b82860e6c113745694c3dc0617cc1bfe7daefbfb
2020-12-12 03:04:40 +00:00
Alf Eaton
771a39f267 Merge pull request #3441 from overleaf/3803-hotkeys-modal
Migrate hotkeys modal to React

GitOrigin-RevId: 78399d3d62771cd296bdc2f4f8b1083263d31551
2020-12-11 03:04:42 +00:00
Hugh O'Brien
be51810be5 Merge pull request #3410 from overleaf/hb-validate-new-folder
React File Tree - Validate new folder names and renames

GitOrigin-RevId: f040eb08e2daefb3dfd639e18aaef95d7123d727
2020-12-10 03:04:38 +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
Paulo Jorge Reis
4e74fb2694 Log pane improvements (#3418)
* Ordering of log entries in the new errors UI

* Don't show the expand-collapse widget when not needed; smaller font size in the raw log output

* Expose log actions in the log pane.

* Use "This project" instead of "Your project" in the new errors UI

* Better handling of long log messages; left-ellipsize the file/line number button

* Make log location more button-like; add tooltip when needed.

* Add a PDF expand button to the toolbar.

* Add a stop compilation button to the new compile UI

* Use aria-label for button accessible text; improve handling of long filenames in the log location button

* Set max-height correctly for the logs pane dropdown

* Avoid changing raw logs sizing when expanded and collapsed

* Add comment on the solution for right-to-left text and ellipsis

* Improve logs pane actions

GitOrigin-RevId: 4098d77a9ee6d333644906876b9ff27035b79319
2020-12-03 03:04:28 +00:00
Jakob Ackermann
d2dfc37421 Merge pull request #3387 from overleaf/cmg-jpa-source-code-pro
Update editor font options and load Source Code Pro

GitOrigin-RevId: 1b3ddcfcc682b484ded93598eb05621f792b2db2
2020-12-01 03:04:18 +00:00
Jakob Ackermann
b1eb510ce0 Merge pull request #3171 from overleaf/bg-end-to-end-check
add end-to-end check on unacked edits when user is typing

GitOrigin-RevId: 5914eff1f391f18d4e0ab38a39cf284fbdb28480
2020-12-01 03:04:13 +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
Paulo Jorge Reis
081f4212a8 Add error and validation issues (#3400)
* Remove references to the duplicatePaths validation

* Make the log entries more generic, to support validation and CLSI errors

* Add validation issues to the new logs UI

* Add CLSI errors to the new logs UI

* Update tests; accessibility fixes

* Disable PDF viewing when compile fails; address PR feedback.

* Add accessible description for error and validation failed compiles

GitOrigin-RevId: 8b0597af8857712d47c20e4915470e8e745bb315
2020-11-27 03:04:38 +00:00
Miguel Serrano
3b1c4e19a4 Merge pull request #3300 from overleaf/msm-chat-react-store
React chat store

GitOrigin-RevId: 204009eb5798b02a41e621b33b05ef0cb9d10b15
2020-11-25 03:04:29 +00:00
Eric Mc Sween
cb9b44141c Merge pull request #3397 from overleaf/em-out-of-sync
Reload page when dismissing out-of-sync modal

GitOrigin-RevId: cfb164a57969aa294bdbffb18f51077896529bed
2020-11-19 03:04:35 +00:00
Paulo Jorge Reis
619ec15309 Add first error popup (#3369)
* Add first error popup

* Address PR feedback

GitOrigin-RevId: e924b3e6096584de6f363aae70a62328cd3de83d
2020-11-17 03:04:11 +00:00
Jakob Ackermann
0f2e5542e0 Merge pull request #3356 from overleaf/jpa-unified-remote-flag
[frontend] sharejs: replace 'suppress' hack w/ unified 'remote' flag

GitOrigin-RevId: 25e761a1e543d08477d9b0f3960ddf055d38790b
2020-11-13 03:04:19 +00:00
Jakob Ackermann
c6a853c7ed Merge pull request #3332 from overleaf/pr-new-log-entries-ui
New log entries ui

GitOrigin-RevId: a13ccac04197e7c8f3777750b956d550c95c8f0d
2020-11-06 03:04:59 +00:00
Shane Kilkelly
fc1816b0fc Merge pull request #3337 from overleaf/jpa-fix-consitency-check
[frontend] Document: fix consistency check

GitOrigin-RevId: d303fe48e4f3460dab609d53e195992920af7b1b
2020-11-05 03:04:59 +00:00
Shane Kilkelly
57e9cf2829 Merge pull request #3304 from overleaf/ns-env-autocomplete-nesting
Parse nested environments for autocomplete suggestion

GitOrigin-RevId: 1ddfc0e0129801f203084a74c586031ffe0d5bb9
2020-11-05 03:04:53 +00:00
Shane Kilkelly
98ad07bcc9 Merge pull request #3344 from overleaf/jpa-mtx-is-editable
[misc] .mtx files are editable text files

GitOrigin-RevId: e1a8363e24d961d9723439c68d308fb69f59bbd3
2020-11-05 03:04:43 +00:00
Shane Kilkelly
8f2ab2e8b1 Merge pull request #3347 from overleaf/em-gv-extension
Make the frontend treat .gv files as text

GitOrigin-RevId: 01eece340bb987170f2f9d8860e6257e5421ec02
2020-11-05 03:04:38 +00:00
Alasdair Smith
46be87f7c5 Merge pull request #3317 from overleaf/pr-prepare-log-hints-react
Prepare log hints for React

GitOrigin-RevId: 77435d26e9e5e74db8a76236cac64b67155adc59
2020-10-30 03:04:19 +00:00
Jakob Ackermann
7088651c0c Merge pull request #3301 from overleaf/ns-clean-snippets
remove malicious suggestions from autocomplete

GitOrigin-RevId: 6112b375b9f4bdbf3de3ff6651b460de1c1c31ca
2020-10-22 02:04:38 +00:00
Jessica Lawshe
6fe36b6acb Merge pull request #3282 from overleaf/jel-download-dropdown-menu
Add output download dropdown

GitOrigin-RevId: 1f97f0d681679268d28796fbc8251ffbc6e98433
2020-10-21 02:04:32 +00:00
Jessica Lawshe
f8a8c9bbd6 Merge pull request #3242 from overleaf/jel-add-recompile-from-scratch
Add recompile from scratch option

GitOrigin-RevId: 59836df9049e307acb11824058024919409ea4a4
2020-10-21 02:04:27 +00:00
Paulo Reis
876c292d22 Add compile status indicator to new React-based errors UI.
GitOrigin-RevId: 545953e156d589a56ffd038bb7a40bba97770d06
2020-10-16 02:04:45 +00:00
Alasdair Smith
f1b42a3d0d Merge pull request #3192 from overleaf/msm-chat-react
Chat reactification

GitOrigin-RevId: ee1268b412513a8656703257febad4975adb74e7
2020-10-13 02:04:15 +00:00
Miguel Serrano
6f6a9e714d Revert "Update pdf.js to 2.5.207 (#3222)" (#3251)
This reverts commit 37be3901abf1044d93d83cb684e4e32721550d5a.

GitOrigin-RevId: 07d422401f298a667aa635e0232985a81ce6ef4a
2020-10-02 02:04:28 +00:00
Miguel Serrano
7b997f3946 Update pdf.js to 2.5.207 (#3222)
* updated pdf.js to 2.5.207, and added worker-loader as a devDependency
* updated pdf.js loaded to load ES5 build instead of the default one
* replaced imports with named imports due to changes on pdf.js worker loading

There are some hash downgrades in the lockfile. Running the commands through the appropriate methods yields the same result consistency

GitOrigin-RevId: 37be3901abf1044d93d83cb684e4e32721550d5a
2020-10-02 02:04:23 +00:00