Commit graph

1066 commits

Author SHA1 Message Date
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
Alf Eaton
34fa28c90b Hide most toolbar buttons for non-latex documents (#13725)
GitOrigin-RevId: 3bf487d86d1a465a1653b40891277380270ea7ff
2023-07-17 11:03:16 +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
Thomas
c1ec3044d7 Add geo-pricing split test for enabling LATAM currencies (#13663)
* Implement LATAM geo-pricing split test

* Hide Paypal if currency is one of INR, COP, CLP, PEN

* Only send the LATAM/INR banner events when banner is rendered

* Workaround in Subscription dashboard for CLP not having minor units

GitOrigin-RevId: a677086a7762900563558126d2f81a4c57bbe9d7
2023-07-17 11:01:10 +00:00
Thomas
8efac32c8a Add LATAM currencies/prices to plan and group settings/scripts (#13661)
* Add LATAM currencies to plan-prices generator script

* Add LATAM prices to web configs

* Add LATAM currencies to group plan price formatting

* Use toLocaleString to format currencies for LATAM regions

GitOrigin-RevId: ce672043bef16298c87efa007eac23b004be8205
2023-07-17 11:01:00 +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
ilkin-overleaf
13a7e752d5 Merge pull request #13710 from overleaf/ii-review-panel-migration-bulk-actions-entry
[web] Create bulk actions entry and bulk actions modal

GitOrigin-RevId: c88ce6213304a110ee7410529813310b863178c1
2023-07-17 10:59:19 +00:00
Davinder Singh
9e8e124113 Merge pull request #13591 from overleaf/ab-account-enrollment
[web] Managed users - account enrollment

GitOrigin-RevId: 6fc9ef8c44394eb92d3afd2022433b0b6d508503
2023-07-17 10:59:02 +00:00
Mathias Jakobsen
e0a3dfec36 [lezer] Allow slash in bibtex identifier
GitOrigin-RevId: 88f5cf069563940b1e42763babdc1e58d65c1d31
2023-07-17 10:58:05 +00:00
Mathias Jakobsen
6aa4435fc3 Merge pull request #13769 from overleaf/mj-bibtex-enter
[lezer] Fix bug with bracket matching for bibtex

GitOrigin-RevId: 2570bab50b73f05508af1bdeef0eab6aee4e02a9
2023-07-17 10:57:12 +00:00
ilkin-overleaf
debb438128 Merge pull request #13691 from overleaf/mj-linter-error
[cm6] Fix error in linter on input command

GitOrigin-RevId: 87c640ec6bd0e9d5942e6348616e0858d5bb07be
2023-07-17 10:57:02 +00:00
ilkin-overleaf
12bcdad850 Merge pull request #13744 from overleaf/mj-big-projects
[cm6] Optimise getUpdatedProjection

GitOrigin-RevId: af321d3828185b245f557ab0e046851192c97296
2023-07-17 10:56:52 +00:00
ilkin-overleaf
225de683c7 Merge pull request #13687 from overleaf/ii-review-panel-migration-add-comment-entry
[web] Create add comment entry

GitOrigin-RevId: 019f508eeb3982fce082df153e56d6c3c3e3bae5
2023-07-17 10:56:42 +00:00
Alf Eaton
0dc9aa3d21 Improve CM6 dev tools extension (#13712)
GitOrigin-RevId: 3af5e051cb3fed322d980ba71d3ec1fc9817f8e3
2023-07-17 10:56:23 +00:00
Alf Eaton
b63cb6e029 Merge pull request #13623 from overleaf/ae-symbol-palette-toolbar
[cm6] Only show symbol palette toolbar button when available

GitOrigin-RevId: 34e2c4e8ac1077a4da15277188ea0456db26e0af
2023-07-17 10:55:45 +00:00
Alf Eaton
d044899a28 Merge pull request #13763 from overleaf/revert-13618-tw-reference-manager-access
Revert "Tw reference manager access"

GitOrigin-RevId: d520234bd125f734037afa5208b4ad09e8f6e124
2023-07-17 10:55:36 +00:00
Tyna William
840f56f330 Merge pull request #13618 from overleaf/tw-reference-manager-access
Tw reference manager access

GitOrigin-RevId: e4554f2fcfd0aa9193497daae3ac1da18629d0de
2023-07-17 10:55:26 +00:00
Eric Mc Sween
d89b62e965 Merge pull request #13671 from overleaf/ii-review-panel-migration-aggregate-change-entry
[web] Create aggregate change entries

GitOrigin-RevId: 685ac40739f3c39665d84bd402ada21e00db5146
2023-07-17 10:54:50 +00:00
Davinder Singh
b1f246b9ba Merge pull request #13658 from overleaf/ii-review-panel-migration-change-entry
[web] Create change entries

GitOrigin-RevId: 4d49f8b02b9bfcfe470f6db21f5347080ff47562
2023-07-17 10:53:56 +00:00
Jimmy Domagala-Tang
718189bb07 Merge pull request #13527 from overleaf/jdt-upload-zip-error-handling
Upload zip error handling and retries

GitOrigin-RevId: 583fb57685e4957be325ab656443b884b854797d
2023-07-17 10:53:12 +00:00
Rebeka
7f5be3ed04 Make left menu sidebar a Modal
GitOrigin-RevId: 63630c2a98c3abb5c5ebbde0afe25c0aa981282b
2023-07-17 10:53:03 +00:00
ilkin-overleaf
936ab81b65 Merge pull request #13641 from overleaf/ii-review-panel-migration-overview-view
[web] Create overview view shell for review panel

GitOrigin-RevId: 21cc8a744253aec53f089ec6e6c1221d7153f3a4
2023-07-17 10:50:58 +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
Domagoj Kriskovic
39bd64b0a4 [cm6] fix toolbar overflow button calculation (#13669)
GitOrigin-RevId: 11380a5661067a285e0c0de82a37e085fc395f03
2023-07-17 10:50:30 +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
e41bda3e61 Merge pull request #13664 from overleaf/mj-bibtex-match-brackets
Add bibtex match brackets highlighting

GitOrigin-RevId: d0ed07d9874f097dd8b59eff582eb23a59f46332
2023-07-17 10:49:05 +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
Miguel Serrano
01e3409eb4 Merge pull request #13485 from overleaf/msm-share-modal-fetch-tokens
[web] Fetch share tokens instead of sending via websocket

GitOrigin-RevId: f97bb91ca3ceb410fe860bf1c7802d8157d9f8b4
2023-07-17 10:48:10 +00:00
Mathias Jakobsen
67e7621633 Merge pull request #13572 from overleaf/mj-bibtex-grammar
[cm6] Add support for bibtex

GitOrigin-RevId: 28bc8e47c53df1612c1e30cf690e893b0bbf500c
2023-07-17 10:47:59 +00:00
ilkin-overleaf
e5d6777211 Merge pull request #13628 from overleaf/ii-review-panel-migration-resolved-comments-entry
[web] Add resolved comments entries functionality

GitOrigin-RevId: f0a8365b00c0861be12347aeaf486f7c02faf8e5
2023-07-17 10:47:41 +00:00
Domagoj Kriskovic
86753c19e5 [cm6] fix old editor-switch to show code editor (#13645)
* [cm6] fix old editor-switch to show code editor

* prettier

GitOrigin-RevId: 2c40c249c649b2675963db37a2aaeb4f0c457f7a
2023-07-17 10:46:52 +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
June Kelly
a14e2aecfb Merge pull request #13483 from overleaf/jk-managed-users-group-management-ui
[web] Managed Users: Update Group Member Management UI

GitOrigin-RevId: 6896951927f0e3220db59dda208d7cfe9c6c309e
2023-07-17 10:46:16 +00:00
Mathias Jakobsen
c3a2786d82 Merge pull request #13570 from overleaf/mj-twitter-login
[web] Deprecate twitter login

GitOrigin-RevId: a1e81463b652239b780587976a96b65a8c6827f1
2023-07-17 10:45:58 +00:00
ilkin-overleaf
9e8be31bdf Merge pull request #13573 from overleaf/ii-review-panel-migration-comment-entry
[web] Create comment entries

GitOrigin-RevId: 7f3fbe672d18d57a0f5e683e5456ea79ed295e2d
2023-07-17 10:45:32 +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
Alf Eaton
adbccde085 [cm6] Move cursor over existing closing brace when inserting a required parameter (#13494)
* Move cursor over existing closing brace

* Update package-lock.json

* Update tests

GitOrigin-RevId: dd729e41c2174d9f4563f2f47efcc075c7453ced
2023-07-17 10:44:06 +00:00
Alf Eaton
29f67a3985 Merge pull request #13525 from overleaf/jpa-teardown-compile-domain-test
[web] start tear down of split test for new compile domain

GitOrigin-RevId: 405bba924a37f56614b0744f47914306f420a028
2023-07-17 10:43:01 +00:00
ilkin-overleaf
b61ee4c4d3 Merge pull request #13528 from overleaf/ii-review-panel-migration-current-file-view
[web] Create initial current file container

GitOrigin-RevId: 81635922bb10b97637af296d987f28d43cf61262
2023-07-17 10:42:51 +00:00