Commit graph

204 commits

Author SHA1 Message Date
Alf Eaton
32d5c99cdc Merge pull request #14163 from overleaf/ae-maketitle-empty-lines
[visual] Preserve empty lines after maketitle

GitOrigin-RevId: c5f040567e220069f96d6962d8bd40334c9f68c8
2023-08-14 08:04:46 +00:00
John Lees-Miller
48ee8779f0 Merge pull request #14221 from overleaf/mj-regex-fix
[cm6] Remove negative lookbehind in regex

GitOrigin-RevId: 30c19680b1e20011945a7185a966100dc5e25d13
2023-08-09 08:04:36 +00:00
Mathias Jakobsen
2e944a6230 Merge pull request #14192 from overleaf/mj-table-keyboard-selection
[visual] move selection on keyboard buttons

GitOrigin-RevId: 617be9188880a98c1803033c406501ac02083bbc
2023-08-09 08:04:19 +00:00
Mathias Jakobsen
c332a65eb0 Merge pull request #14105 from overleaf/mj-table-generator
[visual] Initial table generator

GitOrigin-RevId: 5c1a9cad898c988d21390358872a6c2eaf1c32fc
2023-08-09 08:04:15 +00:00
Alf Eaton
f8f56cea89 [cm6] Add LineBreak to LaTeX grammar, highlight and decorate (#13742)
GitOrigin-RevId: 64c54676e0284b7187678eedcc5096b1aa284cc0
2023-08-04 08:05:26 +00:00
Alf Eaton
ea9a9fbe1c [cm6] Use less string casting, refactor tokenizers (#13898)
* Use more char definitions in tokenizers
* Refactor tokenizers

GitOrigin-RevId: 89f49da15f2bd64419fd2f19b0f255625e1d75cc
2023-08-04 08:05:21 +00:00
Alf Eaton
1f173010c7 Improve collaborator cursor positioning (#14145)
GitOrigin-RevId: c43f0877700381279c2f79699ea3963c3e9c12b3
2023-08-04 08:05:17 +00:00
Alf Eaton
c37b87e254 Move mark decorations after atomic decorations (#14146)
GitOrigin-RevId: aedaa57ba14e0e5ebf03053beaa1cd3cb1ee5b2b
2023-08-04 08:05:12 +00:00
Alf Eaton
cf285651ff Set text-wrap balance for title (#13962)
GitOrigin-RevId: 1d447bad517e3a389ed2668c0167aa52fae3be69
2023-08-04 08:05:07 +00:00
Domagoj Kriskovic
67632212d7 [cm6] show full title for section outline (#14100)
* [cm6] prefer showing full title in outline for sections

* fix test

* remove fallback

* test rename

GitOrigin-RevId: ac7a2a2c4fa7740a51661710953c85f03394292f
2023-08-04 08:04:15 +00:00
Domagoj Kriskovic
d3fabbc3e3 [cm6] autocomplete for memoir ref commands (#14120)
* [cm6] autocomplete for memoir ref commands

* added nameref

* remove from top hundred

GitOrigin-RevId: df34ee145b04831bf63d756fbdda05dcc4633b5d
2023-08-04 08:04:11 +00:00
Domagoj Kriskovic
e98d728bd8 [visual] calculate preamble position in the main tree iterator (#13964)
* [cm6] use preambleCheckLimit for finding preamble

* extend in case of title or author

* stop at SectioningCommand, include affiliation

* consistent comment

* using 30000 as node index

* use preambleNodes arr

* calc preamble without array

* remove preamble.to check

GitOrigin-RevId: 2019fd2b9673f181cba8966688f1ac9a6f984279
2023-08-04 08:04:06 +00:00
ilkin-overleaf
231278d1ca Merge pull request #14076 from overleaf/ii-indicator-ref-type-improvement
[web] Make the indicator ref type dynamic

GitOrigin-RevId: b66aa0f5ffc5c8071462e7e082ece21ef292b4fa
2023-08-01 08:04:27 +00:00
Tim Down
98a847ae75 Merge pull request #14059 from overleaf/td-review-panel-smoother-chrome
React review panel: fix regression that made animation jerky on Chrome

GitOrigin-RevId: c1d9fa00d478fa71d94ff705ddfcc12bab0b2767
2023-07-28 08:04:10 +00:00
Tim Down
ac919ed21a Merge pull request #14046 from overleaf/td-review-panel-scrolled-down-layout
React review panel: fix bug that prevented entries appearing when editor starts off scrolled down

GitOrigin-RevId: 61c5b5523e82cf5334c4de30d6849f45d5bc321a
2023-07-28 08:04:02 +00:00
Tim Down
6384163793 Merge pull request #14025 from overleaf/td-review-panel-hover-scroll
Review panel migration: end entry indicator hover on editor scroll

GitOrigin-RevId: fb895d9e4960b1c038c48fefd187f8af415db1da
2023-07-28 08:03:59 +00:00
Tim Down
f2b5ac23f8 Merge pull request #13997 from overleaf/td-review-panel-mini-hover
React review panel: make hovering an entry in the mini review panel display correctly

GitOrigin-RevId: 41a40e4047b89d2a8db15b2e12baf04c11b78e21
2023-07-25 08:03:55 +00:00
Tim Down
752ad8870d Merge pull request #13923 from overleaf/td-review-panel-non-sticky-toolbar-nav
Make toolbar and nav non-sticky in React review panel overview mode

GitOrigin-RevId: feb2950698512120a676a597f0edfa7ba615f934
2023-07-21 08:04:57 +00:00
Tim Down
a88589b7b7 Merge pull request #13951 from overleaf/td-review-panel-dismiss-bulk-actions
Review panel: make "Reject all" and "Accept all" buttons disappear after use

GitOrigin-RevId: 99534b65ec812fb0e6efd443ca126e71a0a09ae5
2023-07-21 08:04:53 +00:00
Tim Down
0d3af56efa Merge pull request #13911 from overleaf/td-review-panel-performance
Review panel: memoize entry views for performance

GitOrigin-RevId: 3c305845ad0914a7ffeb595e7235d7dceb4c780a
2023-07-21 08:04:49 +00:00
Domagoj Kriskovic
96e7c019bd [cm6] remove badge icon for toolbar in code editor (#13959)
GitOrigin-RevId: 33813eb1c22d651cf3ea599f30b626f93f8ef8ef
2023-07-20 08:04:50 +00:00
Alf Eaton
a9177abe5a [visual] Provide command definitions to MathJax (#13761)
GitOrigin-RevId: 845921df363f61d2333c1305b0b3edb86501c296
2023-07-19 08:05:00 +00:00
Alf Eaton
08c82a24a9 [visual] Apply style to the content of color commands (#13726)
GitOrigin-RevId: 4ae8b745618e91b487d17c357cdb0e697038b3a3
2023-07-19 08:04:56 +00:00
Alf Eaton
ca9593e74c [visual] Decorate quotation environments (#13728)
GitOrigin-RevId: 65c4bb8b4695d0698120936d3b2fb8ec6fa402dc
2023-07-19 08:04:52 +00:00
Domagoj Kriskovic
9c185d6f35 [cm6] fix toolbar overflow menu alignment (#13873)
GitOrigin-RevId: a70cf3fa37d49b9ed52fea4b928d52ffc2dbf136
2023-07-19 08:04:48 +00:00
Alf Eaton
05165682ba Update "Visual Editor not available" message (#13874)
GitOrigin-RevId: 5516bf74d1fa9046f4ca4b5d6c23d3a3b8e468f5
2023-07-19 08:04:44 +00:00
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
4d3c4c6ae9 [cm6] add tracking to figure modal submit events (#13917)
GitOrigin-RevId: f0c755e2f336b5f0c6caf283bed69db65a0c3c92
2023-07-19 08:04:36 +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
ff7eec48de [cm6] Improve performance of the editor toolbar (#13915)
* Memoize figure and math dropdowns
* Only build section heading overlay when open
* Memoise currentLevel
* Remove memo from ToolbarOverflow
* Calculate listDepth in the container component
* Avoid using document.querySelector

GitOrigin-RevId: d5ec8817d35d04e0e2c60c8eecc8678ede69f82a
2023-07-19 08:04:24 +00:00
Alf Eaton
930cec2189 Calculate overflow when languageName or visual change (#13872)
GitOrigin-RevId: f2d200d0d34e810688defe78b8143829f095df9f
2023-07-19 08:04:20 +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
ilkin-overleaf
66f540c6eb Merge pull request #13845 from overleaf/ii-rp-incorrect-date
[web] Fix date issues in review panel

GitOrigin-RevId: 447185cc97aae5a2e6d8944be578fa103b39325b
2023-07-17 11:07:35 +00:00
ilkin-overleaf
680d5e0a6f Merge pull request #13839 from overleaf/ii-rp-word-break
[web] Break long text to new line in change entry

GitOrigin-RevId: e0effb86b08e7fe04b25040a8f3775c047203828
2023-07-17 11:07:26 +00:00
ilkin-overleaf
dbef201e3f Merge pull request #13801 from overleaf/ii-review-panel-migration-upgrade-track-changes-modal
[web] Create upgrade track changes modal

GitOrigin-RevId: 704ddef862ea9a2f8ca2bf63880da6e88f783724
2023-07-17 11:07:16 +00:00
ilkin-overleaf
84bbdf9772 Merge pull request #13767 from overleaf/ii-review-panel-migration-in-editor-widgets
[web] Create in editor widgets

GitOrigin-RevId: 53dfb9935ee59bbdedc353aad5e5b19f389a513c
2023-07-17 11:07:06 +00:00
Mathias Jakobsen
b008c19dc3 Merge pull request #13836 from overleaf/mj-bibtex-identifier
[lezer] Change bibtex identifier to deny-list

GitOrigin-RevId: 005b256a22acbafbeefd641cec82460f603fbc7a
2023-07-17 11:06:22 +00:00
Mathias Jakobsen
37582f7b72 Merge pull request #13805 from overleaf/mj-bibtex-content-outside
[lezer] Allow content outside declarations in bibtex

GitOrigin-RevId: 8051db5567eeb52c3b12f63afafe07a7a97df650
2023-07-17 11:05:37 +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
b0b829f69b Add syntax highlighting for Ampersand nodes (#13737)
GitOrigin-RevId: 39c81ecb765adc4b33244b5f0f1eab81594dcba1
2023-07-17 11:04:30 +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
Alf Eaton
5a786029a3 [cm6] Hide list indentation shortcuts in button tooltips in Code Editor (#13797)
GitOrigin-RevId: d5184310d81953d9765f6e1ae2343fdeb824ae01
2023-07-17 11:03:34 +00:00