Mathias Jakobsen
c1ad4d237b
Merge pull request #19247 from overleaf/mj-figure-snippet
...
[web] Default to half line width in figure snippet
GitOrigin-RevId: 477ab7fec21a040a5974d807dde3604882c38c82
2024-07-15 09:01:16 +00:00
Eric Mc Sween
f0c67b45c7
Merge pull request #19137 from overleaf/em-mj-parbox
...
Add special parsing for \parbox
GitOrigin-RevId: a69a519fa75af95712e19426265224507400f105
2024-07-03 08:04:48 +00:00
Alf Eaton
b156fb24d3
[visual] Decorate horizontal spacing macros ( #19200 )
...
GitOrigin-RevId: 9ca1be0c00d1483b5d3a9baa214445ce4e3cf36c
2024-07-02 08:04:57 +00:00
Mathias Jakobsen
abaf07a8bb
Merge pull request #19158 from overleaf/mj-commands-autocomplete-optional-args
...
[web] Avoid double counting optional arguments for autocomplete
GitOrigin-RevId: 7abdc73657791b945bd5a7a9e29f5cd127c7882b
2024-06-27 08:04:31 +00:00
Mathias Jakobsen
d21da7d084
Merge pull request #19157 from overleaf/mj-separate-unknowncommands
...
[lezer] Separate unknown commands for definition fragments
GitOrigin-RevId: 21ce8d03e68f4af13c3937b4b5fd6f7ed0e50995
2024-06-26 11:11:53 +00:00
Mathias Jakobsen
3b5af94404
Merge pull request #19119 from overleaf/mj-lezer-definition-unknown-commands
...
[lezer] Parse unknown commands in definitions
GitOrigin-RevId: 586bf9e0de8e1d9e7903dd2fad8638cb2624ed9e
2024-06-26 11:11:48 +00:00
roo hutton
bf90932f40
Merge pull request #18936 from overleaf/rh-viewer-no-comment
...
[web] Remove access to commenting/chat for collaborators with Viewer permission
GitOrigin-RevId: 03957cb8c04866318a4b94bdb72843e7d7a5a003
2024-06-26 08:04:38 +00:00
Mathias Jakobsen
ddfdafd54c
Merge pull request #19050 from overleaf/mj-lezer-parse-comments-in-unknown-commands
...
[lezer] Introduce hasMoreArguments token for argument parsing
GitOrigin-RevId: a5898a2be01c19a39de15c784f184fe61140799a
2024-06-25 11:12:18 +00:00
Mathias Jakobsen
46a160f127
Merge pull request #19072 from overleaf/mj-known-commands-reuse
...
[web] Parse known commands in math mode
GitOrigin-RevId: e7937fc46320f13c716d1612eca36aa67c8fb967
2024-06-25 11:12:14 +00:00
Mathias Jakobsen
283c972842
Merge pull request #19032 from overleaf/mj-lezer-mathdelim
...
[lezer] Remove custom tokeniser for MathDelimiter
GitOrigin-RevId: acbbbe439d51a8a9d5b30b91c55c8f8ef8c3b9fb
2024-06-25 11:12:10 +00:00
Mathias Jakobsen
884eebd82d
Merge pull request #19102 from overleaf/mj-more-cite-ref
...
[lezer] Add more cite and ref command variants
GitOrigin-RevId: e402f92d9948eba857dbe0851f039f4d7313df81
2024-06-25 11:12:06 +00:00
Mathias Jakobsen
23a7e19e8e
Merge pull request #18991 from overleaf/mj-table-generator-promotion-teardown
...
[web] Tear down table generator promotion
GitOrigin-RevId: 361215bdd792042ae68762fa20ae60286db5bab3
2024-06-24 12:05:18 +00:00
Mathias Jakobsen
bc9bb05c8f
Merge pull request #19033 from overleaf/mj-lezer-unused-rule
...
[lezer] Remove unused rule
GitOrigin-RevId: 53402a3004d0ca781b29f16eaf4e7eae086450d3
2024-06-24 12:05:14 +00:00
David
c342dc70a5
Merge pull request #18927 from overleaf/dp-remove-grammarly-promo
...
Remove Grammarly advert
GitOrigin-RevId: 6652cfafc47f8a42efc9acc1745a50e4ab8cc208
2024-06-19 08:04:46 +00:00
David
7722c44414
Merge pull request #18918 from overleaf/dp-swap-search-arrows
...
Swap order of next/previous arrows in editor search
GitOrigin-RevId: 2c402e177fcd679ebff8e96812faf09d493e9726
2024-06-19 08:04:26 +00:00
Jakob Ackermann
aa480a2663
Merge pull request #18898 from overleaf/jpa-no-window
...
[web] migrate from window attributes to getMeta
GitOrigin-RevId: 3dcf1ab6b01155e5e4abeb3e78d0fa9053e055bc
2024-06-19 08:04:21 +00:00
Mathias Jakobsen
9b1c703f6b
Merge pull request #18901 from overleaf/mj-math-mode-args
...
[lezer] Parse command arguments in math mode
GitOrigin-RevId: 85a35f412de4c7238d735253c2642066ebffb393
2024-06-19 08:04:16 +00:00
Mathias Jakobsen
d2ae97427d
Merge pull request #18782 from overleaf/mj-symbol-palette-inline
...
[web] Move symbol palette icon inline
GitOrigin-RevId: 8d05cbf5211009870b8107c3c620af0e701a04dd
2024-06-19 08:04:12 +00:00
Alf Eaton
b9a8a7f7ec
Move AI provider usage to the backend ( #18562 )
...
GitOrigin-RevId: 4f66c6576571c4fbb7381d8d0e34f2e468d6f34f
2024-06-18 08:04:09 +00:00
Mathias Jakobsen
c29c151c9f
Merge pull request #18803 from overleaf/revert-18801-mj-revert-big-deploy
...
[web+chat] Redo deploy
GitOrigin-RevId: a056bf20d49a39e71e03db740f57e8506dfc6b71
2024-06-11 08:03:59 +00:00
Mathias Jakobsen
a26e3d3376
Merge pull request #18801 from overleaf/mj-revert-big-deploy
...
[web+chat] Revert big deploy
GitOrigin-RevId: f4d068cbea7e5f5d59a3d698e2def2f94c9b6322
2024-06-10 08:04:33 +00:00
Mathias Jakobsen
f0eba8e742
Merge pull request #18676 from overleaf/mj-web-linter-document-class
...
[web] Allow underscore in optional argument in \documentclass
GitOrigin-RevId: c6f8716548411ade03814c8123df76fa8aa70ecc
2024-06-10 08:04:11 +00:00
Alf Eaton
c24ace801b
Remove Angular ( #17534 )
...
GitOrigin-RevId: 7a0d45e17d9905fa75569e2d19ca59caa4a41565
2024-06-06 08:04:09 +00:00
Mathias Jakobsen
2180ea0578
Merge pull request #18657 from overleaf/mj-mastersthesis-typo
...
[web] Fix typo in mastersthesis autocompletion
GitOrigin-RevId: 38c3473c310da071b5293739dc6e74d0263259b9
2024-06-04 08:04:08 +00:00
Jimmy Domagala-Tang
17074473a7
Merge pull request #18525 from overleaf/jdt-disable-indenttaion-safari
...
[Web] Disable indentation markers on Safari
GitOrigin-RevId: 7a62382e6d4a4ecf0bd144ab937f6e197d173bdb
2024-05-31 08:04:56 +00:00
Jimmy Domagala-Tang
81903bb79d
Merge pull request #18175 from overleaf/jdt-new-bib-file-prompt
...
[Web] Add opportunistic prompts for third party references
GitOrigin-RevId: d794df16781d0db707423f23ab12f40a13604907
2024-05-27 10:23:41 +00:00
Alf Eaton
6569f49a92
Set isEvalSupported to false when loading a PDF document ( #18444 )
...
GitOrigin-RevId: 394d63571d83302b91b5719389adf49155218bc7
2024-05-27 10:21:55 +00:00
Alf Eaton
e7827fbd57
Validate URL protocol before opening from Visual Editor tooltip ( #18393 )
...
GitOrigin-RevId: 1da255d3e8ccd91e8c8774d140ec663906be948f
2024-05-21 08:04:26 +00:00
Alf Eaton
9d6754f546
Add citepalias and citetalias ( #18272 )
...
GitOrigin-RevId: 60716cd30141f3079e9402140a5e40665bbe685f
2024-05-17 08:04:20 +00:00
Alf Eaton
c1c098e2f9
Allow files to be dragged from the file tree into the editor ( #15028 )
...
GitOrigin-RevId: f926666c032d1398a0e3f72a298116a3c7a9cd75
2024-05-09 08:04:46 +00:00
Alf Eaton
cb297e342a
[visual] Improve handling of pasted lists ( #14912 )
...
GitOrigin-RevId: 15e91ef6807433c5fb0a9bedbd5fea42ac35a5f0
2024-05-09 08:04:42 +00:00
Alf Eaton
a2ff44d7d4
Merge pull request #18214 from overleaf/ae-visual-underline
...
[visual] Set text-underline-offset for links
GitOrigin-RevId: c65a92cada0e219bdb72e10d8987dbd5da7cd629
2024-05-09 08:04:38 +00:00
Jimmy Domagala-Tang
72b53fe8db
Merge pull request #18173 from overleaf/jdt-container-utils
...
[Web] Add container based hide utils to our util css
GitOrigin-RevId: 193abf1242ec4a816299fabf486754b3bcbae147
2024-05-08 08:03:51 +00:00
Antoine Clausse
2f99e3ccf1
Add autoComplete="off"
to React-controlled checkboxes ( #18212 )
...
Fixes https://github.com/overleaf/internal/issues/18144
Browsers use a [bfcache](https://web.dev/articles/bfcache ) (Back/forward cache) which restores form data on navigation. Unfortunately, it causes checkbox appearances not to respect our React states.
Setting `autoComplete="off"` on checkboxes mitigates this problem. (From https://stackoverflow.com/questions/299811/why-does-the-checkbox-stay-checked-when-reloading-the-page )
Another solution could be to set a `Cache-Control: no-store` header, but this might additionnal undesired consequences.
GitOrigin-RevId: 7d3cceb1c818ad70de7e806ea6d714ffc8bffb4a
2024-05-06 08:04:39 +00:00
David
0c20c86878
Merge pull request #18178 from overleaf/dp-insert-figure-translations
...
Add translations for insert figure dropdown
GitOrigin-RevId: 6ffbf0229f7ac222619271688517bc50339c10f6
2024-05-06 08:04:16 +00:00
Alf Eaton
ab5495023a
[visual] Add support for description
list environments ( #13460 )
...
GitOrigin-RevId: d1ddfeed4ba453afa348e57d75fdb3e12d29f5fc
2024-05-03 08:04:53 +00:00
Antoine Clausse
6a6f155029
[web] Use React hooks to get split-test variants instead of getSplitTestVariant
(getMeta
) ( #18133 )
...
* Fix split-tests loading in React component: use `useSplitTestContext` instead of `getSplitTestVariant`
* Replace use of `isSplitTestEnabled` by `useSplitTestContext`
* Add SplitTestProvider to roots, and fix tests
* Create `useFeatureFlag` hook
* Use `useFeatureFlag` where applicable
GitOrigin-RevId: 9ff7bb3975d50bc4d07d74d93c482d56dc96f615
2024-05-01 08:04:55 +00:00
Alf Eaton
9d4340e24a
Reapply "Avoid vertical border between editor switch and empty space ( #18029 )" ( #18072 )
...
This reverts commit 9a071e1d02f27bbcaf1d61a9cca577cc6c889abc.
GitOrigin-RevId: 72380a15ccbc4e8d7fddcfdf0a9a48209152b8b9
2024-04-24 08:04:22 +00:00
Alf Eaton
45ee8aca93
[visual] Handle Enter in an empty list item at the end of a nested list ( #18034 )
...
GitOrigin-RevId: 4b3f24c7cf18837ba87859340991d9bb2532560a
2024-04-24 08:04:17 +00:00
Jimmy Domagala-Tang
e1ec856650
Merge pull request #18066 from overleaf/ae-revert-toolbar
...
Revert "Avoid vertical border between editor switch and empty space"
GitOrigin-RevId: eda4deba8eb384cddf2ea9c90edee080ceb6330c
2024-04-23 08:05:45 +00:00
Alf Eaton
92d6966f69
Only display bulk actions for tracked changes when permitted ( #18038 )
...
GitOrigin-RevId: a2f4df9c26866aab3eea62c92ce6e1a211e08294
2024-04-23 08:05:31 +00:00
Alf Eaton
315b511666
Avoid vertical border between editor switch and empty space ( #18029 )
...
GitOrigin-RevId: 516098061a4d329daf55bb42bcf47a5a412595c1
2024-04-23 08:05:26 +00:00
Jessica Lawshe
f5ac5b0ed3
Merge pull request #17878 from overleaf/mj-keyboard-navigation-firefox-115
...
[web] Use getAttribute rather than accessing Element.role
GitOrigin-RevId: a6732180d945ccc4ac0300af07e52228e9f2c928
2024-04-12 08:06:27 +00:00
Domagoj Kriskovic
8bde496da4
Send operations to project-history when resolving/unresolving comments ( #17540 )
...
* Send operations to project-history when resolving/unresolving comments
* small fixes
* added doc_id in web unit test
* Revert "added doc_id in web unit test"
This reverts commit f0b8251abfce17965d5e1b0e45d8784fcf1d9eed.
* fix mocked dependency in test
* wip: web unit tests
* document updater, reopen test
* document-updater tests
* format fix
* fix typo
* fix callsArgWith
* fix reopenThread calls in doc updater tests
* fix typos
* log error if chat api resolve failes
* log error when reopening thread
* sendStatus calls done() in tests
* using OError instead of logging
* removed timers
* preserve legacy endpoints
* update after merge
* Remove timer check in HttpControllerTest
* prettier
* added "legacy" in log
* remove metrics.timer
* fix promisify issues
* remove unused cb
GitOrigin-RevId: 849538c86996973a065c727835e93028e5429344
2024-04-10 08:04:08 +00:00
Andrew Rumble
9fda813e20
Merge pull request #17786 from overleaf/ar-select-caption-in-inserted-figures
...
Select caption text when new figure inserted
GitOrigin-RevId: 443594ff03c5a5cd316623e60b231a6af4390d3c
2024-04-09 08:04:36 +00:00
Miguel Serrano
d7d63e0f51
Merge pull request #17693 from overleaf/msm-hide-grammarly-sp
...
Prevent grammarly ad from rendering in CE/SP
GitOrigin-RevId: 3ef191f282f2ce682236710df9ca32a087271c4c
2024-04-09 08:03:59 +00:00
Antoine Clausse
92a58c8f3b
[web] Paywall CTA split-test ( #17555 )
...
* Fix `{splitTest.requiredCohortSize && (...)}` can display `0`
* Get `paywall-cta` assignment in ProjectController.js
* CTA change: "Get Dropbox Sync"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578763286026
* CTA change: "Get GitHub Sync"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578763286736
* CTA change: "Get Git integration"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578763286283
* CTA change: "Add more collaborators"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578763884855
* CTA change: "Get track changes"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578764030761
* Update wording and position: "Already subscribed? Try refreshing the page."
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578764366969
* Casing update: "Upgrade to track changes"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578764209961
* CTA changes: "Get Mendeley integration" + "Get Zotero integration"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578764547424
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578764547269
* CTA change: "Get full project history"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578764762005
* Casing update: "full project history"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578764762280
* CTA change: "Get more compile time" in timeout-upgrade-prompt-new.tsx
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578764762563
* CTA change: "Get more compile time" in compile-timeout-warning.tsx
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578764762726
* CTA change: "Get advanced reference search"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578764969087
* Update casing and wording: "advanced reference search"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578764969412
* CTA change: "Get Symbol Palette"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578765128906
* Update title: "Subscribe to find the symbols you need faster"
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578765289664
* Revert use of `satisfies`: it doesn't work with our version of prettier (https://github.com/prettier/prettier/issues/13516 )
* CTA change: "Get more compile time" in compile-timeout-changing-soon.tsx
⚠️ not in miro
* Rename `paywallCtaAssignment`, remove useless export and comment
Addressing Fahru's review
* Add alternative texts in `/registration/try-premium` page
* CTA change: "Get more compile time" in timeout-upgrade-prompt.jsx
https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578764762563
* CTA change: "Get GitHub Sync" in import-project-from-github-modal-content.tsx
Not in Miro, but related to: https://miro.com/app/board/uXjVMFLu5J8=/?openComment=3458764578763286736
* CTA change: "Get more compile time" in compile-time-warning.tsx
Not in Miro, but related to others
* Fix compile-time-warning style (spacings, overflows out of window)
* `npm run format:fix`
GitOrigin-RevId: 0d8d1808b5901c2761d35494c49713d26721bcfd
2024-04-03 08:04:16 +00:00
Alf Eaton
6cc2db3cdd
Merge pull request #17525 from overleaf/ae-upgrade-prettier
...
Upgrade Prettier to v3
GitOrigin-RevId: 6f1338f196408f3edb4892d5220ad3665ff1a5bc
2024-03-26 09:04:05 +00:00
Alf Eaton
aeb20340c8
Reduce review panel calls to Trans ( #17385 )
...
GitOrigin-RevId: fdc7b3c2cd2506c810a785462fcd120a3a05da78
2024-03-07 16:30:36 +00:00
Alf Eaton
5df35093ea
Remove hidden comment button from editor toolbar ( #17386 )
...
GitOrigin-RevId: 61b3725a7b2112c6e5abca0349b1be910e97266a
2024-03-07 16:30:28 +00:00