Commit graph

1186 commits

Author SHA1 Message Date
Miguel Serrano
974f16a4f4 Merge pull request #10743 from overleaf/msm-fix-project-invites
[react-dash] Fix accepting invite changes status in all notifications

GitOrigin-RevId: 2f81ab7a93829fc4bf7ecad2f2bfa69559d05fee
2022-12-06 09:04:02 +00:00
June Kelly
4b856dbd70 Merge pull request #10116 from overleaf/jel-dash-action-checked-list
[web] Use other checked list class on dash action modal

GitOrigin-RevId: 22afaf805e57813e243543912811207a74ae85ed
2022-12-02 09:03:42 +00:00
Davinder Singh
e5826446e7 Merge pull request #10582 from overleaf/ds-change-btn-default-to-secondary
`btn-default` to `btn-secondary`

GitOrigin-RevId: 52edf7f5da123e366b027e43e86e81c6260ebff3
2022-12-01 09:04:21 +00:00
June Kelly
3d4f146c97 Merge pull request #10607 from overleaf/dash-delete-btn-danger
Changed delete button from primary to danger

GitOrigin-RevId: 1b3bd036100e8bc39565957ef11d05155b3220ae
2022-12-01 09:03:53 +00:00
M Fahru
f27562eb12 Data handling for settings in editor left menu react migration (#10470)
- Importing SettingsController from the angular code, which enables post requests for every select menu and socket handler for compiler, texlive version, and main document select option
 - New context for the data handling infrastructure between react and angular. The data is still located in the angular version, and I use the context only as a proxy to fetch/post new data.

GitOrigin-RevId: 59009bceb128d82969a2318e90036aacf79f9887
2022-11-30 09:04:32 +00:00
Tim Down
c4b1bb87ea Merge pull request #10587 from overleaf/td-commit-hash-metric
Add editing session segmentation values for long tasks and release

GitOrigin-RevId: ee22238ae40b342cbd6b1e6cddcb2d0e67dba138
2022-11-30 09:04:12 +00:00
Alf Eaton
65b0fd73ea Improve "compile" keyboard shortcut handling (#10624)
* Improve "compile" keypress handling
* Remove "compile" keypress handling from PDF preview
* Remove compile shortcuts from CM6
* Use an event for Vim keybindings
* Remove event handlers from Angular/Ace
* Move useCompileTriggers into DetachCompileProvider

GitOrigin-RevId: 7f0e667b5106a849458e06ebb0f7a413d5d63430
2022-11-29 09:04:04 +00:00
M Fahru
31c503be2d Add 10 seconds delay before showing grammarly warning
GitOrigin-RevId: 11bb3ca5704ef5cc782d14eb6f4f10a1fa2a656e
2022-11-25 09:04:33 +00:00
M Fahru
6dcc22642a Update "go to line" hotkey for cm6 and add new info text in hotkeys modal
* Update "go to line" hotkey for cm6 and add new info text in hotkeys modal

* Differentiate modal title between cm6 and ace hotkeys

* Update test to reflect change in hotkeys modal title

* Add test for hotkeys modal bottom text

* Update test on editor left menu hotkeys button to reflect change in hotkeys modal title

GitOrigin-RevId: 61bae16313ea7a37fa3b9441dbe5a93ab7823d01
2022-11-25 09:04:20 +00:00
ilkin-overleaf
791732005c Merge pull request #10647 from overleaf/ii-dashboard-react-issues-fix
[web] Projects dashboard react bug fixes

GitOrigin-RevId: 4984515de97eb0d7ec50d9d497aff52c6a4a8b7e
2022-11-25 09:03:54 +00:00
Tim Down
deb6e31e06 Merge pull request #10505 from overleaf/td-share-js-memory
Remove memory-hogging serverOps from ShareJS document

GitOrigin-RevId: 31840fd775a4babb6db3ae1e45f6f214f0e2564f
2022-11-22 09:04:27 +00:00
ilkin-overleaf
11e789229e Merge pull request #10528 from overleaf/ii-add-modal-before-checkout
[web] Show student confirmation modal for student plans on checkout page

GitOrigin-RevId: 6009bde36adb2ca24d3438def95db3b47f1ce8b2
2022-11-22 09:04:19 +00:00
Jessica Lawshe
a9741c190c Merge pull request #10471 from overleaf/jel-disabled-btn
[web] Style updates for `btn-danger` and deprecated secondary btns

GitOrigin-RevId: bd121147aa6c7b0a8f6b492b47667adb9369d078
2022-11-18 09:06:28 +00:00
Jessica Lawshe
024f6ee24e Merge pull request #10467 from overleaf/ds-btn-info-new-css-part-2
Updating`btn-info` to `btn-info-secondary` - part 2

GitOrigin-RevId: 934dd633494454277432810c4a1e70bb17829bd7
2022-11-18 09:05:51 +00:00
Miguel Serrano
edeaa4baa0 Merge pull request #10435 from overleaf/msm-remove-survey-banner
Remove banner to recruit new joiners for survey

GitOrigin-RevId: c427c57b80d6e38285ddbafc67554b62516ea8b8
2022-11-17 09:03:49 +00:00
M Fahru
d70e0b1c0e Implement grammarly warning alert on cm6 users
GitOrigin-RevId: ed272bbc385faa69811ec1891075906cdca1c984
2022-11-16 09:06:39 +00:00
ilkin-overleaf
87b844aa15 Merge pull request #10438 from overleaf/ii-offer-personal-plan-on-cancellation
[web] Offer personal plan on subscription cancellation

GitOrigin-RevId: a7845fb3f7edc2f169ba237d8b822ff958a5c6a5
2022-11-16 09:06:18 +00:00
Alf Eaton
98e168a0af Refactor performance measurement (#10410)
GitOrigin-RevId: c63b2353aac04c124f4aa499910a823f3796982c
2022-11-16 09:06:03 +00:00
Davinder Singh
09be606a4e Merge pull request #10342 from overleaf/ds-buttons-project-page
New buttons on project dashboard

GitOrigin-RevId: 6e6a93a1ca1264dd214ccaf7976b665e45e7b10b
2022-11-16 09:04:34 +00:00
Davinder Singh
c6f8b17647 Merge pull request #10286 from overleaf/jel-ds-toggle
Fix toggle and  `Switch to PDF` aligment

GitOrigin-RevId: d3c77ff34829af875d2b8b9e3797e0e7db867631
2022-11-16 09:04:26 +00:00
M Fahru
5eff354971 Create settings menu react elements in editor left menu for editor left menu react migration
GitOrigin-RevId: e75581a43a8694398b20bee3dc5ec69b60db86ab
2022-11-15 09:07:01 +00:00
M Fahru
044d6fde65 Fix webpack build failure on server pro/CE:
- Add missing modules for local image dev env
- Use macro import to import modules

GitOrigin-RevId: 403a9950bc74063a9c9d34c9bc912af18f418e85
2022-11-15 09:06:54 +00:00
Jessica Lawshe
62cf8c9d61 Merge pull request #10262 from overleaf/jel-ds-btn-secondary
[web] Buttons for new CSS build

GitOrigin-RevId: 9ae4284ba89296b77c37d61ba9b221bcab2f6458
2022-11-15 09:06:25 +00:00
Eric Mc Sween
682406b797 Merge pull request #10380 from overleaf/ii-change-plans-prices
Change plans prices

GitOrigin-RevId: 9229e9be916c8377f6fdd259f934a9f0811f3d94
2022-11-15 09:06:04 +00:00
Mathias Jakobsen
81e2265e72 Merge pull request #10397 from overleaf/td-memoize-file-outline
Memoize file outline

GitOrigin-RevId: cb086bab2b6ead251362180d776e7eaff18fc639
2022-11-15 09:05:12 +00:00
Tim Down
6ae22ff596 Merge pull request #10361 from overleaf/td-cm6-keypress-paint-metric
Add metric for mean time from keypress to visible character in CM6

GitOrigin-RevId: 8077dc11ca9e3fd1472fef745c6058bfbad1088b
2022-11-11 09:03:49 +00:00
M Fahru
ff944917a6 Don't force user to cm6 if they have ace as editor preference
GitOrigin-RevId: 78390fe420eb28b5731cb1cc719a0b53913509e1
2022-11-10 09:04:40 +00:00
Alf Eaton
28414b118d Merge pull request #10383 from overleaf/jpa-pdf-caching-avoid-cache-for-range-request
[web] pdf-caching: avoid browser cache for range requests on output.pdf

GitOrigin-RevId: 546380cfb24094db0af7de0f47f5a69c60b0586d
2022-11-10 09:04:06 +00:00
Mathias Jakobsen
8ddfd958d2 Merge pull request #10348 from overleaf/mj-outline-fixes-redo
[cm6] File outline improvements

GitOrigin-RevId: 9f4859cb35476d4baf0b3e3c2c2cb5d1678fd4a8
2022-11-09 09:04:08 +00:00
Jakob Ackermann
f803563673 Merge pull request #10376 from overleaf/jpa-pdf-caching-disable-first-error
[web] pdf-caching: disable pdf-caching after the first non-404 error

GitOrigin-RevId: f022e75acd9d5140ae02041b60af9819baa25e62
2022-11-09 09:04:03 +00:00
Jakob Ackermann
aeade59677 Merge pull request #10371 from overleaf/jpa-pdf-caching-disable-in-opera
[web] pdf-caching: disable pdf-caching in Opera browser

GitOrigin-RevId: 8c0cefc4fa4fccd74c58649c000be14643788514
2022-11-09 09:03:57 +00:00
Alf Eaton
381cdf34ce Use imported components directly
GitOrigin-RevId: 4533d7eb59ed543a301d99a9dce4ff54af6cfe6c
2022-11-09 09:03:48 +00:00
M Fahru
7e5ccecc7c Change react key to use unique string with index
GitOrigin-RevId: 591cda98d0a34c777cc8a41b2ec64119a1226dfb
2022-11-09 09:03:13 +00:00
M Fahru
c008a1aece Migrate github-sync menu to react
GitOrigin-RevId: 87e767a064421c7bad6c4fa3c7053959bfdb4cd4
2022-11-09 09:03:08 +00:00
Miguel Serrano
9e50ab8d1e Merge pull request #10350 from overleaf/jpa-pdf-caching-debug-context
[web] pdf-caching: more debug context

GitOrigin-RevId: ef9b20ef8d9a3b0c6b1b8c200eead1c0f8cf6bde
2022-11-09 09:03:00 +00:00
Jakob Ackermann
1c529d5dcf Merge pull request #10339 from overleaf/as-fix-switch-back
Fix bug in CM6 switch away survey where going back from Ace to CM6 will still show the survey

GitOrigin-RevId: 5900fafb1a4a5fab7d949b1c70af31e19a764e6e
2022-11-08 09:04:38 +00:00
Jakob Ackermann
618d41f623 Merge pull request #10316 from overleaf/mj-cm6-outline-debouncing
[cm6] Debounce EditorState in CM6 outline

GitOrigin-RevId: 759748f1d3dabbe22dc0cd2d3d989c973753442a
2022-11-08 09:04:25 +00:00
Jakob Ackermann
665ab24cbd Merge pull request #10337 from overleaf/jpa-localized-network-error-messages
[web] pdf-caching: handle localize network error messages

GitOrigin-RevId: 41b0b9e87818d87d08c4cf24991751779243ae32
2022-11-08 09:04:18 +00:00
Jakob Ackermann
3db03ef678 Merge pull request #10313 from overleaf/jpa-pdf-caching-ranges-in-sentry
[web] pdf-caching: display ranges in sentry debug context

GitOrigin-RevId: d58e9c5292b1202e629c3b0706ade067c15e08a0
2022-11-08 09:04:11 +00:00
Jakob Ackermann
e9bc195483 Merge pull request #10301 from overleaf/jpa-pdf-caching-ignore-errors-for-stale-output
[web] pdf-caching: flag more errors as expected

GitOrigin-RevId: a5351db16d268bb8d9d67a86c34698c8b04f4f1a
2022-11-08 09:04:04 +00:00
Jakob Ackermann
111cce4ca4 Merge pull request #10299 from overleaf/jpa-nicer-warning-message-for-missing-pdf
[web] show a nicer warning message for missing pdf exceptions

GitOrigin-RevId: f519ec145d7ff4fe725241742fb66a1defdd257e
2022-11-08 09:03:57 +00:00
Miguel Serrano
4a3fb3344b Merge pull request #10323 from overleaf/ae-pdf-dblclick-page
Ensure only one dblclick listener is attached to a PDF page

GitOrigin-RevId: cadaa2f3bbaba8c496a6ece698b2ba7f12f340c4
2022-11-08 09:03:38 +00:00
Brian Gough
782294abae Merge pull request #10212 from overleaf/ii-dashboard-shorten-text-in-dropdowns
[web] Project dashboard add ellipsis to long text in the project filter dropdown on mobile

GitOrigin-RevId: 4b0d4e097ff0f26820c158086d8b089cbf1e364f
2022-11-07 09:03:38 +00:00
Brian Gough
db15c83c35 Merge pull request #10244 from overleaf/ii-jump-to-error
[web] Jump to error on files with double slash

GitOrigin-RevId: eec2ac6ba7a34d32f757f5e3a088e92d0d494422
2022-11-07 09:03:31 +00:00
M Fahru
b593bfa56e Don't show cm6 switch away survey if cm6 is not available
GitOrigin-RevId: e283fc424055f6df85015f02c83ad8314865697d
2022-11-04 09:06:10 +00:00
M Fahru
19dd2f67e2 Implement "switch away survey" when users switching back to ace from cm6 (#10201)
Implement legacy source editor survey:

* Force user to switch to cm6 if they haven't seen switch away survey

* Only show user switch away survey if they open ace from another editor

* We need to wait 3 seconds until the survey is being shown

* Add comment to explain the reasoning of not showing cm6 switch away survey for rich text users

* Use localstorage `editor.has_seen_cm6_switch_away_survey` setter to not show the survey if user has seen the survey

* the `editor.has_seen_cm6_switch_away_survey` will have the value `true` even if user is not interacting with it, so update comment to reflect that

* Add `once: true` option to keydown event to avoid unnecessary callback invocation upon key presses

GitOrigin-RevId: c26be2bb39efac2dff112c821fca893e5993dcbf
2022-11-04 09:05:50 +00:00
Mathias Jakobsen
bcad89fd28 Merge pull request #10273 from overleaf/ae-docname-apply
Add a `$scope.$applyAsync` wrapper around the "open a new document" code

GitOrigin-RevId: 7c63338379053d20bd86f10d9db6855cb5c23fc3
2022-11-04 09:05:25 +00:00
Mathias Jakobsen
50b346b4ed Merge pull request #10279 from overleaf/jpa-tracing-optimizations
[misc] do not load the tracing module unless enabled

GitOrigin-RevId: 8a3b9da3e9451e3060b852dd44e078c99cf43cfa
2022-11-04 09:05:00 +00:00
Mathias Jakobsen
aac9e6616e Merge pull request #10285 from overleaf/jpa-pdf-caching-ignore-404-from-fallback
[web] pdf-caching: double down on ignoring 404 from output.pdf requests

GitOrigin-RevId: 6b489180c221a29758b862884dae4ed6ed954a23
2022-11-04 09:04:53 +00:00
Mathias Jakobsen
a54b633726 Merge pull request #10111 from overleaf/mj-lezer-file-outline
[web] Parser backed file outline

GitOrigin-RevId: 0825f4887ba4dae24a14dd1880d07b791d0b4cd9
2022-11-04 09:04:33 +00:00