Commit graph

133 commits

Author SHA1 Message Date
June Kelly
4b14a14819 Merge pull request #6573 from overleaf/jk-cm6-heartbeat
[web] Move on-scroll heartbeat tracking from ace to IDE

GitOrigin-RevId: e39bc9ebffde228c4a2d6045837fae3b64219bed
2022-02-04 09:03:23 +00:00
Timothée Alby
30cd3d2961 Merge pull request #6551 from overleaf/bg-remove-unused-flag
[web] remove unused keepEditorContents flag

GitOrigin-RevId: 9c20469e9200ee9aad19fdd0d1567a6eea704741
2022-02-03 09:04:20 +00:00
Timothée Alby
74d9937816 Merge pull request #6536 from overleaf/bg-cm6-size-check
Add editor max doc length checks to codemirror

GitOrigin-RevId: 0a458fc3aa23f22b078c6607ee4347bc76c371e9
2022-02-03 09:04:12 +00:00
Brian Gough
89268bee2c Merge pull request #6485 from overleaf/bg-remove-op-from-timeout-error
[web] remove unnecessary content from timeout errors

GitOrigin-RevId: c4913956e6f990afbd4c8f225c6d7c51e6d77e75
2022-01-27 09:03:30 +00:00
Brian Gough
b43a3a6861 Merge pull request #6486 from overleaf/bg-remove-google-analytics-from-errors
[web] remove google analytics for editor errors

GitOrigin-RevId: cac318316780e84cd8d076624a4e3f39b7cf2725
2022-01-27 09:03:26 +00:00
Jakob Ackermann
5701cc9e4b Merge pull request #6351 from overleaf/jk-cm6-context-menu-revamp
[web] Spelling: use button instead of `a` tag

GitOrigin-RevId: e63a89eb781bbecf33c49cfcd83e8ff7612fa554
2022-01-20 09:03:11 +00:00
Alf Eaton
6dec7fab63 Scroll editor line into view after inserting a symbol (#6164)
GitOrigin-RevId: 20f80ec93148d36f951c956a942021f01490d120
2022-01-11 09:03:49 +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
Jakob Ackermann
9207a42571 Merge pull request #6235 from overleaf/jpa-spelling-client-side-ignore-list
[web] spelling: bootstrap the ignore-list with more special words

GitOrigin-RevId: a7a4ab7eccbebd89994c7a9c9b169573292b1030
2022-01-07 09:03:07 +00:00
Jakob Ackermann
17eb841b31 Merge pull request #6151 from overleaf/jpa-jel-ta-spelling-client-cache
[misc] filter out saved words from users dict client side

GitOrigin-RevId: 01b496c60d25954c8e65a71c06fd90a6c428a698
2022-01-05 09:02:59 +00:00
Timothée Alby
c96bb1551c Merge pull request #6011 from overleaf/jel-toggle-switch
Move style for selected toggle item

GitOrigin-RevId: 516e77839c708c77510ad0e77137dd45f54ff3ed
2021-12-15 09:05:14 +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
205d853cea Merge pull request #5743 from overleaf/jk-cm-realtime-integration
[web] CodeMirror 6 integration with real-time / ShareJs

GitOrigin-RevId: e8507ea1365828140948472625b3de6ab8a227c5
2021-11-16 09:02:39 +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
Jakob Ackermann
7f9fd00bda Merge pull request #5367 from overleaf/jpa-node-handle-callback-err
[misc] fix eslint violations for node/handle-callback-err

GitOrigin-RevId: 83a4900e8861010df1917bff49382bd9c93375bd
2021-10-28 08:03:26 +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
4adf32cb43 Filter out "source: compile' annotations (#5324)
GitOrigin-RevId: f0febf42fa46a28b357b2c4c2768f2a9b543e609
2021-10-11 08:03:00 +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
Alf Eaton
49b1356976 Merge pull request #5081 from overleaf/ae-webpack-libs-alias
Remove webpack alias for vendor/libs

GitOrigin-RevId: ab84b21402236143ad4d5d988b01fbbbcc081532
2021-09-15 08:03:39 +00:00
Jakob Ackermann
6140b53493 Merge pull request #4081 from overleaf/msm-symbol-toggle-styling
Added 'active' styling to Symbol Palette toggle button

GitOrigin-RevId: a1a51e42a08cd3627d0bc4610e6895e111d951f9
2021-06-01 02:05:37 +00:00
Alf Eaton
823960f763 Merge pull request #4079 from overleaf/ae-ace-replace-range-symbol
Replace all selected ranges when inserting symbol into source editor

GitOrigin-RevId: bc0d7548f61fd740a87b34bb181516e8dc21fff1
2021-05-26 02:05:17 +00:00
Miguel Serrano
73c47fa0e0 Layout divider for Symbol Palette (#4036)
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: e22635978c16646060c80ceb8376a560bfbf6527
2021-05-18 02:08:12 +00:00
Miguel Serrano
bb88af80cf Merge pull request #3947 from overleaf/msm-reenable-eslint-rules
Reenable `eslint` rules

GitOrigin-RevId: a0aa5f941ba1bc49ff758b5256f91d696f442c6d
2021-05-14 02:09:45 +00:00
Miguel Serrano
f9871103bf Merge pull request #3949 from overleaf/msm-reenable-eslint-const-rule
Reenable eslint `prefer-const` rule

GitOrigin-RevId: 4f3825be8b8dff381095209085a36eaab76260d5
2021-05-06 02:09:14 +00:00
Jakob Ackermann
adfde7d26b Merge pull request #3950 from overleaf/msm-reenable-lint-prefer-regex-literals
Reenable `prefer-regex-literals` eslint rule

GitOrigin-RevId: 3c576d92a08dfcb745d447b1bf8c7b828753010d
2021-04-29 02:09:10 +00:00
Alf Eaton
1be43911b4 Merge pull request #3942 from overleaf/prettier-trailing-comma
Set Prettier's "trailingComma" setting to "es5"

GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
2021-04-28 02:10:01 +00:00
Alf Eaton
1ebc8a79cb Merge pull request #3495 from overleaf/ae-prettier-2
Upgrade Prettier to v2

GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
2021-04-15 02:05:22 +00:00
Eric Mc Sween
9ddaa8c9f6 Merge pull request #3830 from overleaf/em-upgrade-node-12
Upgrade to Node 12

GitOrigin-RevId: 19870922884b7c98e7e5f2c94df21829672d2db5
2021-04-01 02:05:52 +00:00
Brian Gough
0452b53ce3 Merge pull request #3802 from overleaf/bg-increase-flush-delay
increase single and multi-user flush delays

GitOrigin-RevId: c9415a093d08c8f6cc403d0ddb6cd313ea99aebe
2021-03-24 03:04:45 +00:00
Jakob Ackermann
93cd752e24 Merge pull request #3646 from overleaf/jpa-narrow-global-watch-dog-scope
[frontend] aceEditor: narrow down the scope of the global watch dog

GitOrigin-RevId: 610c771eb6e4dc04acfe0a6ba6e5be7796aaeb87
2021-02-12 03:04:09 +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
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
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
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
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
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
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
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
Brian Gough
d54400af61 Merge pull request #3169 from overleaf/bg-fix-doc-race
prevent unflushed doc from being removed from openDocs

GitOrigin-RevId: 79733fdc589d1981faf577174431d65f9dbe30e7
2020-09-17 02:04:43 +00:00
Timothée Alby
8f4ddcbbbb Merge pull request #3170 from overleaf/fix-editor-race
discard previous doc load when new doc opened

GitOrigin-RevId: 0bbbb94b6ca5ebd4b5a0b4e3472f705d5337cdf5
2020-09-16 02:04:42 +00:00
Timothée Alby
bc90ffb1e8 Merge pull request #3105 from overleaf/ta-outline-go-to-pdf
[Outline] Go To PDF on Double-Click

GitOrigin-RevId: 0be4207eb26d0712814097b71906b3c9c37d4790
2020-08-25 02:04:05 +00:00
Timothée Alby
7fc0f88996 Merge pull request #3111 from overleaf/pr-file-outline-out-of-beta
File outline out of beta

GitOrigin-RevId: 64fa6554813b1d0ceff2b567922651509badecc7
2020-08-19 02:06:20 +00:00
Paulo Jorge Reis
414f7397fa Merge pull request #3073 from overleaf/pr-highlight-styling-and-beta
New highlight styling + highlight in beta

GitOrigin-RevId: e5d308bd725b4a1cfc4f0e564af05663ac4188dc
2020-08-10 15:55:37 +00:00
Timothée Alby
558854f51b Merge pull request #3030 from overleaf/ta-outline-highlight
Outline Highlight

GitOrigin-RevId: f51eec6f1714403d749e454b55be363819930b98
2020-08-10 15:54:08 +00:00
Paulo Jorge Reis
0e9771ac09 Merge pull request #3007 from overleaf/pr-file-outline-extras
File outline extras

GitOrigin-RevId: c35c4f35dce280c9f44c02b567df9734943d0cb0
2020-07-17 02:06:42 +00:00
Eric Mc Sween
bd7bddc2d6 Merge pull request #2960 from overleaf/jpa-remove-carriage-return-char
[frontend] ShareJsDoc: remove carriage return char from initial snapshot

GitOrigin-RevId: c4a2efaa9c1a372bfe7503ab5a55171c7c76b113
2020-07-01 02:10:54 +00:00
Alasdair Smith
0d2a768e1e Merge pull request #2937 from overleaf/as-remove-global-lodash
Replace global Lodash with explicit imports in frontend

GitOrigin-RevId: b092647039975ac594b69ce1fa145fd03552cc60
2020-06-24 02:10:29 +00:00
Brian Gough
8c4e4bab3f Merge pull request #2908 from overleaf/bg-add-missing-leave-doc-event
add leaveDoc event

GitOrigin-RevId: 6d8a40b1226ced7d853e2b72f02d484619a982ce
2020-06-20 02:10:47 +00:00
Jakob Ackermann
9eaa1f9677 Merge pull request #2890 from overleaf/jpa-socket-io-secondary-id
[misc] socket.io: use a secondary publicId for public facing usages

GitOrigin-RevId: f472c90ce0706aaf409e63c4199e71899b1aefa3
2020-06-09 02:10:34 +00:00
Alasdair Smith
8f5270899f Merge pull request #2707 from overleaf/as-transform-esm
Transform frontend module format from AMD to ESM

GitOrigin-RevId: 9adbcdc95e819a54114010c6fd3521d8f58ef2fe
2020-05-20 03:21:38 +00:00
Jessica Lawshe
30a2997b43 Merge pull request #2789 from overleaf/as-fix-no-undef
Enable no-undef linting rule for all frontend files and fix errors

GitOrigin-RevId: bf9c789a381af982bdece55a2f518a2b610c9202
2020-05-13 03:23:18 +00:00
Miguel Serrano
e1cc614da7 Merge pull request #2800 from overleaf/jpa-force-flush-onblur
[frontend] EditorManager: flush the documents as the editor looses focus

GitOrigin-RevId: 9157eba091e21c80202448b6c28c22dddd8cb687
2020-05-07 03:27:47 +00:00
Hugh O'Brien
7a315bfa4d Merge pull request #2759 from overleaf/hb-read-only-on-connection-lost
Read only mode on lost connection and local file contents on Out of Sync error

GitOrigin-RevId: e31a259be122ad162e98746cd06a7794a95e78fa
2020-05-02 03:19:31 +00:00
Alasdair Smith
be900488a9 Merge pull request #2773 from overleaf/as-fix-safari-spell-menu
Fix bug where spell menu was opened/closed quickly

GitOrigin-RevId: b6c2385a9893e56c6552a65f9104cbbe73f71876
2020-04-28 03:21:48 +00:00
Alasdair Smith
bc1b73d74e Merge pull request #2515 from overleaf/as-transform-absolute-paths
Transform absolute paths in frontend to relative

GitOrigin-RevId: c1914c0fd09d68984ba6c85a1f00aa3e6858d944
2020-04-07 03:18:45 +00:00
Jakob Ackermann
2ce244d662 Merge pull request #2685 from overleaf/jpa-fix-out-of-sync-open-doc
[frontend] EditorManager: out-of-sync: wait for joinProject to complete

GitOrigin-RevId: d3006f2ad36c6094815aa892e65d2cf8c8243472
2020-03-31 03:18:27 +00:00
nate stemen
3a2bdfe7f1 Merge pull request #2665 from overleaf/pr-fix-spelling-markers-safari
Spellcheck improvements + fix spelling markers being out of place

GitOrigin-RevId: fa70e257f96f78d3570c86871f85c79daf08014c
2020-03-19 04:17:09 +00:00
Eric Mc Sween
130f97d621 Merge pull request #2625 from overleaf/bg-fix-spelling-stateful-regexp
fix stateful regexp usage in SpellCheckManager

GitOrigin-RevId: 6ac93e6a9227a638b30882ce99771e30c1a097c1
2020-02-28 04:18:37 +00:00
Eric Mc Sween
5f712645ed Merge pull request #2626 from overleaf/bg-fix-editor-regexps
fix stateful regexp usage in editor inputs

GitOrigin-RevId: 4950066251cb6235e218ff4f600fab2652d15e76
2020-02-28 04:18:33 +00:00
Eric Mc Sween
c120309dd0 Merge pull request #2591 from overleaf/pr-avoid-out-of-sync-error-spellcheck
Avoid out of sync error spellcheck

GitOrigin-RevId: e9772c01ffc0ffaca5d137e8e43e797903b727cd
2020-02-28 04:18:29 +00:00
nate stemen
3b70e080b1 Merge pull request #2601 from overleaf/jpa-hotfix-autocomplete-deleted-docs
[autocomplete] ignore deleted docs for completion

GitOrigin-RevId: 9f39bbb90d443e7a1691ff5558742e4d12f4eb4d
2020-02-21 04:20:45 +00:00
Simon Detheridge
73defe82d9 Merge pull request #2561 from overleaf/pr-reduce-spellcheck-initial-req
Reduce spellcheck initial (and subsequent) requests

GitOrigin-RevId: 81eee359ea1bc740991ba84b0fe121c37cb4c6a2
2020-02-13 04:20:44 +00:00
nate stemen
1f514ec603 Merge pull request #2550 from overleaf/jpa-strip-tex
[autocomplete] input/include: strip the .tex extension

GitOrigin-RevId: 15ae910e38717382a734848c33cbdb3c66a75ac9
2020-02-04 04:19:09 +00:00
Brian Gough
327f8979b6 Merge pull request #2551 from overleaf/bg-fix-race-condition-in-open
fix worst case of race condition in EditorManager.openNewDocument

GitOrigin-RevId: 24cbc87de2e420c35ffd6a82a2cd761229fd03e1
2020-01-30 04:16:35 +00:00
Brian Gough
4bbc745f4a Merge pull request #2546 from overleaf/bg-update-filetree-on-open
update the file tree selection whenever a document is opened

GitOrigin-RevId: 88d7b651b43d0a0ca5fa9998d4c42c7b1d3effc5
2020-01-30 04:16:30 +00:00
Henry Oswald
fe8ef3f08f Merge pull request #2531 from overleaf/ho-restore-lodash-2526
Revert "Reverts move from underscore to lodash"

GitOrigin-RevId: 1ea964d5c98a85f9490c0e731d6a68335df93c67
2020-01-17 04:19:51 +00:00
Henry Oswald
c607976c4a Merge pull request #2526 from overleaf/ho-revert-to-underscore
Reverts move from underscore to lodash

GitOrigin-RevId: 3d88590a76c37a43f693b53400fdf1f24384cafb
2020-01-17 04:19:30 +00:00
Timothée Alby
b185e60749 Merge pull request #2483 from overleaf/as-switch-frontend-to-lodash
Switch frontend from underscore to lodash

GitOrigin-RevId: 7fbc72d2ead6a14ff04f085f01fff5a3dddb77f0
2020-01-08 04:18:01 +00:00
Timothée Alby
5575281dec Merge pull request #2416 from overleaf/ta-sk-multi-select-fix
Better UI feedback for multi-select, and "no file selected" case

GitOrigin-RevId: f415a19a0dc93a18a7f00e5854e2181c51f826b1
2019-12-17 04:22:47 +00:00
Hugh O'Brien
bf91fe9a05 Merge pull request #2360 from overleaf/hb-reinstate-shortened-cite-autocomplete
Reinstates old behaviour for long autocompletes

GitOrigin-RevId: 832499745a6a491008b30f0c31fbba46bde80c7a
2019-11-18 11:21:32 +00:00
Alasdair Smith
e035d526d6 Merge pull request #2287 from overleaf/as-frontend-rearch
Restructure frontend directories

GitOrigin-RevId: 5a1224ca186f4809df45680a80d374c1c318d7bf
2019-11-05 14:22:52 +00:00