Alf Eaton
9f719c572d
[cm6] Add offset to review panel entry positions when needed ( #13912 )
...
* Add offset to review panel entry positions when needed
* Fix useResizeObserver usage
GitOrigin-RevId: e220ce94e13c3a2347fc72654de747356eb1e658
2023-07-19 08:04:40 +00:00
Domagoj Kriskovic
79f07e5626
[cm6] dark mode for toolbar dropdowns ( #13870 )
...
GitOrigin-RevId: e220edddc678dd05c4c5d1927a5fcac379cd6ed5
2023-07-19 08:04:32 +00:00
Domagoj Kriskovic
c21b8e31fd
[visual] suport for \texttt command in maketitle ( #13824 )
...
GitOrigin-RevId: 712eb8fb4fc0f2cbc5cd3c2e39ff6b8af39c0a49
2023-07-19 08:04:28 +00:00
Alf Eaton
b284434ad2
[visual] Move the cursor after leading whitespace when creating a new list item on Enter ( #13828 )
...
GitOrigin-RevId: 2f5941627b64fb53efce0bdd6f2d888986f45a9d
2023-07-19 08:04:16 +00:00
Alf Eaton
05adb9d14d
[visual] Add decorations for theorem environments ( #13708 )
...
GitOrigin-RevId: ba78be534fd7efba7d8722a214d69b21b0e3917c
2023-07-19 08:04:12 +00:00
Tim Down
38c673d057
Merge pull request #13720 from overleaf/td-review-panel-entry-pos
...
React review panel entry positioning
GitOrigin-RevId: c22617b1d3243b7d54b093426358aeb291421b9e
2023-07-19 08:03:52 +00:00
Eric Mc Sween
cce1a91205
Merge pull request #13897 from overleaf/ae-completion-event
...
Fix regular expression for completion event logging
GitOrigin-RevId: fbe3b91722fe40d4bb1116f23a78ebcebbd02b37
2023-07-17 11:13:27 +00:00
Alf Eaton
bbbf38d76b
Add decorations for textmd and textsf ( #13716 )
...
GitOrigin-RevId: c5bedf2260c4e075e458ac38f90e5746dccdde81
2023-07-17 11:04:50 +00:00
Alf Eaton
809172d531
Decorate verbatim and lstlisting environments ( #13722 )
...
GitOrigin-RevId: 2e5af20bf2fe0c7769011ecd26797e93290b4fdb
2023-07-17 11:04:40 +00:00
Alf Eaton
e7d36903bb
[cm6] Add Tilde to the LaTeX grammar ( #13740 )
...
GitOrigin-RevId: 98a2e968056ba4d6e36310d4ea0f7ff2f25e373a
2023-07-17 11:04:21 +00:00
Alf Eaton
faff4a87b4
Never decorate inside math ( #13810 )
...
GitOrigin-RevId: c28d0aaa3ce267d989db779c13f6b3e91f376686
2023-07-17 11:04:11 +00:00
Alf Eaton
e86c5dc137
[cm6] Add analytics for bold and italic shortcuts ( #13785 )
...
GitOrigin-RevId: 62f2f9976778083b7ca6566f79e3d055585e7bb7
2023-07-17 11:04:01 +00:00
Alf Eaton
48e758a5fe
Record each completion selection for analytics ( #13665 )
...
GitOrigin-RevId: bc8e92ceca51f6365c4311204a35fc85914969b0
2023-07-17 11:03:43 +00:00
Domagoj Kriskovic
8ab6239a24
[cm6] support \emph and \textbf in maketitle ( #13703 )
...
* [cm6] support \textbf in maketitle
* support for emph
* added support for \\textbf
* fix overlapping ignored ranges
* fix overlapping fn, added test
* multiple maketitle cases in the same test
* prettier
* simplify from calculation
* added test cases from #13736
GitOrigin-RevId: 00dcf15d6d62903ae30b387a16929e68dde8ca1b
2023-07-17 11:02:11 +00:00
Domagoj Kriskovic
9cb0122ea3
[visual] support for multiple authors in /maketitle ( #13713 )
...
* [visual] support for multiple titles in /maketitle
* support \and in author name
* using isMatchWith
* fix isMatchWith check
* fix isMatchWith... again
* add tests
* test author text replace and mouse events
* prettier
* don't handle updating node events
* use the arguments order as before
GitOrigin-RevId: 99b3d1c22a2dc1258a5cdf95738852028895f54a
2023-07-17 11:00:07 +00:00
Domagoj Kriskovic
7487f37bc1
[cm6] use tooltips on disabled toolbar buttons ( #13678 )
...
* [cm6] use tooltips on disabled toolbar buttons
* not-allowed cursor
* prettier
* fix css selector
GitOrigin-RevId: f9c61fdabb1141daa2bde76aa4e3cd4da60e029e
2023-07-17 10:59:58 +00:00
Domagoj Kriskovic
b0d994575d
[visual] fix styling for showing authors ( #13772 )
...
* [visual] fix styling for showing authors
* add horizontal padding
* use gap
* prettier
* maxWidth and flex wrap
* min-width
* use only min-width
GitOrigin-RevId: 1fdc1baac6fd98ee909f847716f6aedf88e96aec
2023-07-17 10:59:49 +00:00
Alf Eaton
87013d20f8
Revert "[cm6] Show "move" cursor when the selection is ready to be dragged ( #13532 )" ( #13673 )
...
This reverts commit 1a89abceeadb6e1c53b4bc779df19b6723eab738.
GitOrigin-RevId: 05025068f75f1012626359230952e252e941d675
2023-07-17 10:50:49 +00:00
Alf Eaton
1cfc1eb269
[cm6] Show "move" cursor when the selection is ready to be dragged ( #13532 )
...
GitOrigin-RevId: 1a89abceeadb6e1c53b4bc779df19b6723eab738
2023-07-17 10:50:40 +00:00
Alf Eaton
7202d7413e
[rich text] Cover the whole command when selecting end-to-end ( #11683 )
...
GitOrigin-RevId: c3559ce68798047e7001b2a9857f2c168633af6c
2023-07-17 10:50:12 +00:00
Alf Eaton
7e20d41c4c
Remove list items when list is toggled off ( #13580 )
...
GitOrigin-RevId: 19c63b26798fcf3c8e631090c614f0a693d4f071
2023-07-17 10:50:02 +00:00
Alf Eaton
52d9ee79a3
[visual] Handle selections adjacent to lists and section headings ( #13581 )
...
GitOrigin-RevId: 35b289102110f88587679740eeed575e16f6788b
2023-07-17 10:49:53 +00:00
Alf Eaton
1d33231392
Merge pull request #13597 from overleaf/ae-request-measure-view
...
[visual] Call view.requestMeasure in updateDOM if height could change
GitOrigin-RevId: eac77962d3edffd3ce3220c7948373bc38e6d727
2023-07-17 10:49:43 +00:00
Alf Eaton
a716a500c5
Merge pull request #13607 from overleaf/ae-formatting-keymaps
...
[cm6] Use toggleRanges for bold/italic shortcuts in code editor
GitOrigin-RevId: 90f7344876e84b984469ca2daccb7bbe71d89aa9
2023-07-17 10:49:34 +00:00
Alf Eaton
c16d2d5840
[visual] Avoid showing list environment markup when the selection is within list items ( #13461 )
...
GitOrigin-RevId: cadab83774d52dc6c4867fdd7300a1217423b837
2023-07-17 10:48:56 +00:00
Domagoj Kriskovic
17452b51d7
[cm6] Add toolbar to Source Mode for Beta users ( #13429 )
...
* [cm6] toolbar for source mode
* top:0 for new toolbar
* empty div for extensions
* fix legacy css top pos
* show source toolbar split test
* prettier
* show beta icon in source editor
* dropdown toolbar wip
* fix wrong conflict resolve
* math dropdown, chrome extension fixes
* math dropdown cleanup
* sort en.json
* fix sort en.json
* using isVisual
* getMeta in component, pug update
* using flex grow
* toolbar beta badge
* remove extra whitespace
* has-legacy-toolbar class
* Increase container size
* fix tests
* prettier
* styling fixes, using SplitTestBadge
* only show source toolbar if flag is set
* fix typo
---------
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 34b01a9421f4a0d6defc40925c5092901575946e
2023-07-17 10:46:26 +00:00
Alf Eaton
8402081d9b
[visual] Add decoration for footnotes ( #13428 )
...
GitOrigin-RevId: b0c8e475e9d8b4a19977a48b615596b88ce65797
2023-07-17 10:44:55 +00:00
Alf Eaton
4d39c31acc
Merge pull request #13520 from overleaf/ae-state-tree
...
[visual] Refactoring in the atomic decorations state field
GitOrigin-RevId: e3cfd945dd900b3d7527bc9249132213d2a0e1bc
2023-07-17 10:44:45 +00:00
Alf Eaton
c6d832d6d9
Merge pull request #13594 from overleaf/ae-starred-caption
...
[cm6] Allow an asterisk after CaptionCtrlSeq
GitOrigin-RevId: e76e15afb676f6eddb8f09d710b0d90408584e29
2023-07-17 10:44:36 +00:00
Alf Eaton
62533ace6d
Use StringQuery and selectWord from @codemirror/search ( #12828 )
...
GitOrigin-RevId: 23b3e6a5db8583646f378cef52f41889a73a3672
2023-07-17 10:44:26 +00:00
Alf Eaton
db26446d76
[visual] Avoid showing braces around section headings when editing the section title ( #13464 )
...
GitOrigin-RevId: 050663e752720993ccf1ab745a8b4250d54198fc
2023-07-17 10:44:17 +00:00
ilkin-overleaf
15db0ce4e3
Merge pull request #13492 from overleaf/td-review-panel-sync-height
...
Add hook for synchronizing review panel height with editor content height
GitOrigin-RevId: ef0a96ef4e77e7858b28f6f65254a4b0c1e778ea
2023-07-17 10:39:29 +00:00
Alf Eaton
a4d1ac2f13
Merge pull request #13477 from overleaf/ae-bottom-padding
...
[cm6] Improve bottom padding calculations
GitOrigin-RevId: 91fff97ebf6675cddffdd89118fd06f003321143
2023-07-17 10:36:00 +00:00
Alf Eaton
e025088065
Merge pull request #13241 from overleaf/ae-extensions-documentation
...
Add documentation for CodeMirror extensions
GitOrigin-RevId: e5f07084173f201919272f9d46dcdaef4b817874
2023-07-17 10:28:53 +00:00
Mathias Jakobsen
a4c684e266
[cm6] Add toolbar event for figure modal trigger ( #13168 )
...
* [cm6] Add toolbar event for figure modal trigger
* [cm6] Add event to figure modal edit button
GitOrigin-RevId: 04add4f801647dfcc38a54e1969b03c4a31b2462
2023-06-01 08:04:16 +00:00
Domagoj Kriskovic
a05c201652
[cm6] indent figure modal generated code ( #13213 )
...
* [cm6] indent figure modal generated code
* fix: prettier
* fix indenting issues
* add licence on top
* fix cypress tests
GitOrigin-RevId: 8f74be537f19c2a29de3c742a9bbabe43b1ce40d
2023-06-01 08:03:49 +00:00
Tim Down
1336ff8196
Merge pull request #13169 from overleaf/dk-dropimg-handler
...
[cm6] added drop handler to rich text
GitOrigin-RevId: 9972b788d680645ee83c3bc9376b9446a2b068e9
2023-05-26 08:04:12 +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
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
Christopher Hoskin
5bbe427ed0
Merge branch 'main' of github.com:overleaf/internal
...
GitOrigin-RevId: b0a13b4b4f7ede46d5ac5478dd03642d59e11a98
2023-05-22 08:04:01 +00:00
Alf Eaton
40eac4bd67
Remove fontWeight: bold from matched completion text ( #13078 )
...
GitOrigin-RevId: c375765ce0ca14200ba11c54ae1ac2c99a09961f
2023-05-19 08:04:17 +00:00
Mathias Jakobsen
47b1a731fb
Merge pull request #13118 from overleaf/mj-fix-centering-editable-graphics
...
[web] Always update centering in editablegraphics updateDOM
GitOrigin-RevId: 366a109c2006dea3cd3660f7a380fbbc0e203cca
2023-05-17 09:27:43 +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
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
Alf Eaton
c7544531c1
Add needsRefresh to lint source config ( #13050 )
...
GitOrigin-RevId: bc6880f87bc81c7f0f022268a4d070c267421c46
2023-05-17 08:05:36 +00:00
Alf Eaton
c8a72e96d4
[cm6] Improve keyboard shortcuts for toggling line comments ( #13067 )
...
GitOrigin-RevId: dd08778ea3621eefa75f306b2dada3f2c484f76c
2023-05-17 08:05:28 +00:00
Alf Eaton
60370d5227
[cm6] Consolidate loose extensions ( #13086 )
...
GitOrigin-RevId: ff937418be5092b2b5197435e9cd60bc61f41b2c
2023-05-17 08:04:40 +00:00
Mathias Jakobsen
e306369b9a
Merge pull request #13085 from overleaf/mj-figure-rt-flicker
...
[cm6+rt] Reduce flickering of rendered figure
GitOrigin-RevId: a88845621228fa3a78ced023d5b5480ed600256a
2023-05-16 08:04:28 +00:00
Mathias Jakobsen
5fd4504f51
Merge pull request #13061 from overleaf/mj-cm6-translations
...
[web] Make translations accessible to CM6
GitOrigin-RevId: ef617638419597548e6e0545bac3ac94216177de
2023-05-16 08:04:11 +00:00
Mathias Jakobsen
31190b967b
[cm6] Add figure modal ( #12751 )
...
GitOrigin-RevId: 3043d1369ed85b38b1fec7479385b123a304c05b
2023-05-16 08:04:02 +00:00