Tim Down
9a273949fd
Merge pull request #13154 from overleaf/dk-selectFile-per-project
...
[cm6] rerender SelectFile component on project change
GitOrigin-RevId: ac59bdd100df6704c357a6af08028137f610bb13
2023-05-26 08:04:21 +00:00
Mathias Jakobsen
a06118b96d
Merge pull request #13142 from overleaf/mj-figure-modal-paste
...
[cm6] Add image paste handler to rich text
GitOrigin-RevId: 3c814bf64438b387b7b08b8bf89b917347371492
2023-05-22 08:04:42 +00:00
Mathias Jakobsen
948d56e809
Merge pull request #13136 from overleaf/mj-figure-modal-spacing
...
[cm6] Adjust spacing in figure modal
GitOrigin-RevId: dc18186ff422292648d58c6d99718cc33e4d0f84
2023-05-22 08:04:26 +00:00
Mathias Jakobsen
5c95c907ec
Merge pull request #13135 from overleaf/mj-empty-optional-argument-figure-modal
...
[cm6] Allow empty and missing optional arguments for figure modal
GitOrigin-RevId: 64e1310de21bdb3ff7ba244690cc83489bbfed40
2023-05-22 08:04:18 +00:00
Mathias Jakobsen
480672bf7a
Merge pull request #13133 from overleaf/mj-wait-upload
...
[cm6] Wait for file to be ready before inserting code from figure modal
GitOrigin-RevId: 5c4e8f243518bacc7b6ef4272eaf44995192efbc
2023-05-22 08:04:10 +00:00
Mathias Jakobsen
988fc57574
Merge pull request #13077 from overleaf/mj-figure-modal-tests
...
[web] Add cypress tests for figure modal
GitOrigin-RevId: 4debae1c665a68fd7bfa9f0dcfc150bec38a7c64
2023-05-17 08:06:33 +00:00
Mathias Jakobsen
c754eaf5c5
Merge pull request #13108 from overleaf/mj-figure-modal-translations
...
[web] Translate figure modal
GitOrigin-RevId: b9f2c2e9ba3141dfee15c0af572a022a2b21fd47
2023-05-17 08:06:16 +00:00
Mathias Jakobsen
f747cb000f
Merge pull request #13097 from overleaf/mj-figure-modal-alpha-changes
...
[cm6+rt] Figure Modal alpha rollout changes
GitOrigin-RevId: f7591893e8f74aa9c9b41f4b98babecaac4b3c8c
2023-05-17 08:06:08 +00:00
Mathias Jakobsen
31190b967b
[cm6] Add figure modal ( #12751 )
...
GitOrigin-RevId: 3043d1369ed85b38b1fec7479385b123a304c05b
2023-05-16 08:04:02 +00:00
Rebeka
0c54e6605b
Remove deprecated uses of badge style
...
GitOrigin-RevId: 47234e95acd42d7e5d23de8e3b67edca2bdd98d1
2023-05-04 08:05:40 +00:00
Alf Eaton
8a12c34fce
[cm6] Emacs: close search form when Enter
is pressed in "Find" input ( #12841 )
...
GitOrigin-RevId: a4c974f45e0dbb13d96b9b424f056768449791fb
2023-05-04 08:04:49 +00:00
Alf Eaton
05582567b4
Improve performance of search match counting ( #12808 )
...
GitOrigin-RevId: 70cd1aaf5b079cbd540c4a9f92a04fcb2786b308
2023-05-04 08:04:30 +00:00
Alf Eaton
e0d9069131
[cm6] Add "within selection" option to the search form ( #12798 )
...
* Use forked @codemirror/search
* Use getPanel to get the search panel
* Remove layer-based highlightSelectionMatches
* Add "within selection" option to the search form
* Add test for "replace all within selection"
* Fix tests
GitOrigin-RevId: 95ce76fd017f96278b04c16a1fd34f785f7504a3
2023-05-01 08:05:02 +00:00
Alf Eaton
c53411ff1d
Merge pull request #12776 from overleaf/ae-search-close-tooltip
...
[cm6] Add tooltip to search panel close button
GitOrigin-RevId: ba7f4ca5d672580054cb6214be94497fd5141730
2023-05-01 08:04:17 +00:00
Domagoj Kriskovic
3d5e8c9877
add 'Ace removal' notification ( #12800 )
...
* add 'Ace removal' notification
* prettier
* add memo, window.clearTimeout
* remove warning for server pro
* added tracking events
* useCallback for onClick
* fix: event rename
GitOrigin-RevId: 70bce8b93bae233e7183a941abaf2ec7a70ddfb6
2023-04-28 08:04:19 +00:00
Domagoj Kriskovic
cd689e4e1f
[cm6] Show Regex errors in find & replace ( #12720 )
...
* [cm6] Show Regex errors in find & replace
* cleanup, isInvalidRegExp function
* no state variable, less color var
* use @brand-dager
* using var(--ol-cm-search-form-focus-shadow)
* using state-danger-border
GitOrigin-RevId: 844c9dfee5a56d2a7494cd86c266acbe9eacd033
2023-04-27 08:05:14 +00:00
Mathias Jakobsen
c8f7bc54bc
[web] Add split test for testing editor switch naming ( #12596 )
...
Co-authored-by: Ieva Vaiginyte <95856891+ievaoverleaf@users.noreply.github.com>
GitOrigin-RevId: dafe07bda841dad962ebf2894718750fafe86373
2023-04-18 08:04:59 +00:00
Alf Eaton
dda9230c6c
[rich text] Add "Insert Citation" and "Insert Cross-reference" buttons ( #12529 )
...
GitOrigin-RevId: fde2f1a281318afede138ccae12f73ade3fa9f65
2023-04-17 08:04:34 +00:00
Tim Down
7f37ba737c
Move source editor out of module ( #12457 )
...
* Update Copybara options in preparation for open-sourcing the source editor
* Move files
* Update paths
* Remove source-editor module and checks for its existence
* Explicitly mention CM6 license in files that contain code adapted from CM6
GitOrigin-RevId: 89b7cc2b409db01ad103198ccbd1b126ab56349b
2023-04-13 08:40:56 +00:00
Jessica Lawshe
a4586074d7
Merge pull request #12442 from overleaf/jel-bsStyle
...
[web] Add bsStyle to `react-bootstrap` buttons
GitOrigin-RevId: 0059a457cbd8b4c316aa3b34e4d77f1b92bd690e
2023-04-05 08:02:50 +00:00
Alf Eaton
1807f18b7d
Add a tooltip to the disabled Rich Text toggle ( #11843 )
...
GitOrigin-RevId: e7be96c68d87ab1f1ed40c8e9784160689ee8e96
2023-02-17 09:04:15 +00:00
Miguel Serrano
286cbc66a8
Merge pull request #11771 from overleaf/msm-force-ace-sp
...
[web] Force Ace editor in Server Pro
GitOrigin-RevId: 1ea5675ad1c64a15dc30566c02d694feb2aaed3c
2023-02-10 09:12:26 +00:00
June Kelly
035b5cd456
Merge pull request #11263 from overleaf/ae-rich-text-available
...
Only enable the Rich Text option for supported file extensions
GitOrigin-RevId: ae67435b50701bb5be71bab94d8c3c4da4129d88
2023-02-09 09:05:05 +00:00
Tim Down
fd90261313
Merge pull request #11465 from overleaf/td-remove-ace-tooltip
...
Remove info icon next to editor switch for users without Ace option
GitOrigin-RevId: 69fa8af8ddd40c47a58de50eb9aa79cc82629aa8
2023-01-26 09:04:38 +00:00
Tim Down
a05438d9c7
Merge pull request #11332 from overleaf/td-remove-ace-split-test
...
Add handling for source-editor-legacy split test
GitOrigin-RevId: 9575087c34bc3f2e8b490846984bc97641c560aa
2023-01-25 09:06:26 +00:00
Alf Eaton
017f0b49a0
[rich-text] Add "rich-text" split test ( #11180 )
...
GitOrigin-RevId: 8df79f3c70020c8dba0793c8b548fd1f1e1fbf76
2023-01-13 09:04:31 +00:00
Alf Eaton
9f1f62b9be
Add rich-text mode to CM6 ( #10775 )
...
Co-Authored-By: Mathias Jakobsen <3295293+hrjakobsen@users.noreply.github.com>
GitOrigin-RevId: 00e015cb216bb8a52d083e71b34dbe91a7cd6cc5
2022-12-13 09:03:54 +00:00
Davinder Singh
d6b39c4bb3
Merge pull request #10653 from overleaf/ds-btn-default-to-secondary-in-editor
...
Replacing `btn-default` with `btn-secondary` in the editor
GitOrigin-RevId: 46aa8c92c9981eb2f253828ee65424bfb7217fb2
2022-12-08 09:03:35 +00:00
Tim Down
08567c290e
Add second CM6 switch-away survey ( #10789 )
...
Restart CM6 switch-away survey
GitOrigin-RevId: 1d62aaf27834cb3919f6ca30c269a1ef3c2e9a5e
2022-12-07 09:04:35 +00:00
Tim Down
fa67c3fcff
Merge pull request #10797 from overleaf/td-editor-toggle-analytics
...
Add analytics for switching editor
GitOrigin-RevId: 7b44e53105e8669e97cb9c4821dfbc830faff779
2022-12-07 09:04:06 +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
d70e0b1c0e
Implement grammarly warning alert on cm6 users
...
GitOrigin-RevId: ed272bbc385faa69811ec1891075906cdca1c984
2022-11-16 09:06:39 +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
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
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
Timothée Alby
7b8d277437
Merge pull request #8898 from overleaf/ta-change-redundant-controls
...
Change Redundant Layout Controls
GitOrigin-RevId: b50d71b1f75d202334442b3f6cb5037ed0d8a411
2022-07-21 08:04:25 +00:00
ilkin-overleaf
41c715c40d
Merge pull request #8378 from overleaf/ii-cm6-three-way-toggle
...
[cm6] Make cm6 as the default source editor
GitOrigin-RevId: b56724d2c147792c55ce01cf272fbcce16f87916
2022-06-15 08:05:18 +00:00
Timothée Alby
ae207f7559
Merge pull request #8326 from overleaf/ta-pdf-detach-redundant-controls
...
Bring Back Redundant Layout Controls
GitOrigin-RevId: a725e8742ab41612b285bcab23054ba9da15b60f
2022-06-09 08:02:34 +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