Commit graph

311 commits

Author SHA1 Message Date
Alf Eaton
7755203ff7 Enable ESLint rule that enforces t when preferable to Trans (#15253)
GitOrigin-RevId: d11b3f587b462d400a8d68128dc8be342415bf7d
2023-10-20 08:03:34 +00:00
Tim Down
a39a3286b4 Tweak visual editor CSS to prevent excessive padding (#15145)
Use JS to measure editor content width and use it in padding calculation

GitOrigin-RevId: dfc4499aa7762f9f2d7ce5ab9813b698bce0245c
2023-10-19 08:02:56 +00:00
Jakob Ackermann
83cf21d8cf Merge pull request #15271 from overleaf/jpa-lazy-loading
[web] lazy load big optional UI elements

GitOrigin-RevId: 18d723c66834be3984b74c3c89cfb46e2fffbfc1
2023-10-18 08:04:05 +00:00
Jakob Ackermann
6212b352fb Merge pull request #15118 from overleaf/jpa-mj-remove-promise
[web] remove access to uninitialized and unused promise variable

GitOrigin-RevId: a554511dc501f0af936ba0564fded40b62b87660
2023-10-16 08:04:07 +00:00
Jakob Ackermann
d4a271b898 Merge pull request #15062 from overleaf/jpa-worker
[web] bring back file extension for worker entrypoints

GitOrigin-RevId: 93c2a59e5bc867460e82f3e7023d9cbfce1f16e1
2023-10-16 08:03:59 +00:00
Alf Eaton
31033224d5 Improve handling of whitespace in pasted HTML (#15074)
GitOrigin-RevId: 48876707e15e1ccd1bb71ce01121033d0b0dbeaf
2023-10-10 07:57:28 +00:00
Alf Eaton
04a4450341 Avoid auto-closing $ directly before a TeX command (#15039)
GitOrigin-RevId: e620d6b5c82e179c294930801a95fc4c2c77db57
2023-10-05 08:04:46 +00:00
Alf Eaton
6dbb2df5b8 Remove editor split tests (#14985)
* Remove source-editor-toolbar split test
* Remove editor-left-menu split test
* Remove paste-html split test
* Remove figure-modal split test
* Remove rich-text split test
* Remove table-generator split test

GitOrigin-RevId: e3fe415b81ff0135d8764cd3f3c91b1dd4a77cf0
2023-10-04 08:04:34 +00:00
Alf Eaton
b3b31fb052 [cm6] Match uppercase file extensions in the include autocomplete (#14956)
GitOrigin-RevId: eb6898ef031dcc05f9fcb530fd4578ffda234a14
2023-10-03 08:04:09 +00:00
Jakob Ackermann
9daa8f5d98 Merge pull request #15040 from overleaf/jpa-js-to-jsx
[web] rename all the JSX files to .jsx/.tsx

GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
2023-09-29 08:04:29 +00:00
Alf Eaton
637788076a Allow Ctrl+Enter to start a compile while editing a table cell on macOS (#14940)
GitOrigin-RevId: 513affff5af4af9dd12cdb1d730c978e6bdac303
2023-09-28 08:04:51 +00:00
Alf Eaton
db76d1c316 Disable the "literal" option when regex search is enabled (#14936)
GitOrigin-RevId: 0710c60b517cfda19037215c076878c65c418396
2023-09-28 08:04:40 +00:00
Alf Eaton
d1cfc5a783 Use the scrollToMatch strategy when typing a search query (#14944)
GitOrigin-RevId: e381225b49f36cbf8554fe7deaecef73a8137d66
2023-09-28 08:04:36 +00:00
Alf Eaton
cb1b5b7d54 [cm6] Move figure paste handler to core LaTeX extensions (#14957)
GitOrigin-RevId: 2dd6b036c5e9122a7e7564d4246f10444ba593e3
2023-09-28 08:04:32 +00:00
Mathias Jakobsen
dc86b0285a Merge pull request #14663 from overleaf/mj-table-generator-promo
[cm6] Add promotion popover for table generator and pasting formatted text

GitOrigin-RevId: 9096b36ac4f07d1fc862ecc3bd5df033348950ab
2023-09-28 08:04:21 +00:00
Jakob Ackermann
d76c0e2688 Merge pull request #14991 from overleaf/jpa-log-tree
[web] consolidate logTree helper into scripts folder

GitOrigin-RevId: d98a04f1753ba485f835312198f4c79917f7566d
2023-09-28 08:04:17 +00:00
Jakob Ackermann
1213709578 Merge pull request #14980 from overleaf/jpa-debug-console
[web] migrate frontend logging to debugConsole

GitOrigin-RevId: b03ff9030b03fff059738d2270bc4b4912e79f16
2023-09-28 08:04:12 +00:00
Brian Gough
45ca0f796c Merge pull request #14934 from overleaf/revert-14926-revert-14121-bg-best-allow-underscore-in-hyperref-labels
Revert "Revert "allow underscore in hyperref labels""

GitOrigin-RevId: f7b2dd418fa9c0940b778604ed08eccab78f97d2
2023-09-27 08:04:01 +00:00
Alf Eaton
a2bb8a3ecd Handle pasted HTML from Office even if there's an image file on the clipboard (#14852)
GitOrigin-RevId: f0413391ec421c845b435e1392140d265a528ee7
2023-09-25 08:04:59 +00:00
Mathias Jakobsen
ec563e75e2 Merge pull request #14875 from overleaf/mj-linter-href
[web] Allow url characters in href argument in linter

GitOrigin-RevId: c62ee94003328286d1b1c2b3f9e8ee59f97f8139
2023-09-25 08:04:49 +00:00
Alf Eaton
9313a1fbd1 [visual] Configure italic markup to be placed inside the pasted styled element (#14918)
GitOrigin-RevId: b7038381583a6828a9ab24f6d9608c10cf3e370a
2023-09-25 08:04:45 +00:00
Brian Gough
be8474c18e Revert "allow underscore in hyperref labels" (#14926)
GitOrigin-RevId: 843ac214580c00c4a7593b512cfb27b7bf56717e
2023-09-22 08:03:48 +00:00
Domagoj Kriskovic
f7cf7b9028 [cm6] Include affiliation in document preamble (#14824)
* [cm6] Include affiliation in document preamble

* add affil command

* Add mapping to attributeValue

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 6034e07bc5fec23ea704d820acbbe4e77caba651
2023-09-21 08:04:09 +00:00
Domagoj Kriskovic
20f49ae325 send comment over sharejs after thread is created (#14807)
* send comment over sharejs after thread is created

* only react version

* loading gif

GitOrigin-RevId: a6b16a8cae66faa3219f1c9141ee04e303d9f11b
2023-09-21 08:04:05 +00:00
Brian Gough
1ef6c70258 Merge pull request #14121 from overleaf/bg-best-allow-underscore-in-hyperref-labels
allow underscore in hyperref labels

GitOrigin-RevId: c4e0cfcdef92dec959dceba9a7ae55920812fdb0
2023-09-21 08:03:52 +00:00
Alf Eaton
08d8b40934 [visual] Ignore files on the clipboard if the pasted HTML contains a table (#14817)
GitOrigin-RevId: 608a7a7cbe884243268322582873496bcde63305
2023-09-15 08:05:14 +00:00
Alf Eaton
f6e8f3a2a3 Merge pull request #14830 from overleaf/ae-office-paste
[visual] Improve handling of content pasted from desktop Office applications

GitOrigin-RevId: 10ce77bae008ad078afa22c8fac2cb48af3d9cb4
2023-09-15 08:05:10 +00:00
Alf Eaton
ab47ac2c20 Fix the position of the pasted content menu when scrolling (#14834)
GitOrigin-RevId: df0a8290b7838b83e21676eb69924b11e51b38e6
2023-09-15 08:05:06 +00:00
Alf Eaton
cf0dc6f132 Use dispatchTransactions option when creating EditorView (#14743)
Co-authored-by: Tim Down <158919+timdown@users.noreply.github.com>
GitOrigin-RevId: ccc43ead570bdf96e47d1d08fc114ddce32d1293
2023-09-15 08:05:02 +00:00
Alf Eaton
f7e4946056 Handle content wrapped in a monospace pre (#14801)
GitOrigin-RevId: 7198e56ea496b8e7496bd637419586019ce56270
2023-09-15 08:04:54 +00:00
Alf Eaton
875ea723ca [visual] Escape special characters in pasted URLs (#14789)
GitOrigin-RevId: 58e0b4b9b902301dbcb34f918ebbfdad0c8a763f
2023-09-15 08:04:50 +00:00
Alf Eaton
496b30e18e Avoid adding semantic style from an element which has explicit style (#14781)
GitOrigin-RevId: ae36022a9da36be0703c7e8e04e133975fadb893
2023-09-15 08:04:45 +00:00
Alf Eaton
c28c7d5da2 [cm6] Map active spellcheck range through doc changes (#14758)
GitOrigin-RevId: bc6a8f7d8c65edab0d3f2481a39b189a8f670508
2023-09-15 08:04:41 +00:00
Mathias Jakobsen
7d3c8fb78d Merge pull request #14822 from overleaf/mj-safari-table-size
[visual] Workaround for safari table size

GitOrigin-RevId: 937a606bf3b6093029e5a952c2a13a3f083ca74c
2023-09-14 08:04:08 +00:00
Mathias Jakobsen
96ba8a92f4 Merge pull request #14757 from overleaf/td-review-panel-auto-expand-textarea-cursor
React review panel: place cursor at the end when autofocussing textarea

GitOrigin-RevId: c277e949dadc16bef2ed1a9ace69285e99ba29ad
2023-09-14 08:04:00 +00:00
Mathias Jakobsen
069e5ac320 Merge pull request #14753 from overleaf/ae-active-view
[visual] Hide toolbar items while editing a table

GitOrigin-RevId: b081782bcc491ed567636686c556d0731d722b4a
2023-09-14 08:03:56 +00:00
Mathias Jakobsen
a4de4dbd3e Merge pull request #14811 from overleaf/mj-table-cell-overflow-selection-border
[visual] Fix cell overflow and cell selection outline

GitOrigin-RevId: 91cea09956d27162283c12e842f0b5e1680ed582
2023-09-14 08:03:52 +00:00
Mathias Jakobsen
e7519be904 Merge pull request #14804 from overleaf/mj-remove-last-row-table
[visual] Keep bottom border when removing entire last row

GitOrigin-RevId: 27711ffa1f8dffc1af50078b95b3b24e7f00f5fe
2023-09-14 08:03:47 +00:00
Thomas
b967b8175e Merge pull request #14764 from overleaf/mj-compile-shortcuts
[visual] Pass compilation shortcuts through from table generator

GitOrigin-RevId: b4d222d9898b3e11d786fc9d9b61b7c9b0e92f9b
2023-09-12 08:05:13 +00:00
Mathias Jakobsen
004bdd593e Merge pull request #14761 from overleaf/mj-table-tab-navigation
[visual] Allow tab to escape editing cell

GitOrigin-RevId: 10762c5909f5c1a13a98ed1709b6609cf9ab79b8
2023-09-12 08:04:53 +00:00
Alf Eaton
2961a93bb5 Handle more cases where CSS styles override semantics of pasted elements (#14755)
GitOrigin-RevId: f125d201fe18120c80fe1b681775ca2545da128c
2023-09-12 08:04:48 +00:00
Alf Eaton
84a697de4f Treat a contextmenu event as a mouseup event (#14754)
GitOrigin-RevId: 8f4f3cf53ccf09fd5e4c4a504d40cc375aa12b6c
2023-09-12 08:04:44 +00:00
Alf Eaton
13bbea4ced [visual] Handle content in pasted lists with only one item (#14752)
GitOrigin-RevId: 4f0a2d260b04b8f08f2dad7e200309b2611952e6
2023-09-12 08:04:39 +00:00
Mathias Jakobsen
1e3f305ba3 Merge pull request #14763 from overleaf/mj-extend-col-row-selectors
[visual] Allow shift clicking column and row selectors

GitOrigin-RevId: 2e6191741681196e4af462f92dc60268f22d137e
2023-09-12 08:04:35 +00:00
Mathias Jakobsen
4b699f1ad4 Merge pull request #14760 from overleaf/mj-table-gen-toolbar-alignment
[visual] Update alignment icon based on selection

GitOrigin-RevId: 37019ba2fdf9f587da56a1d030cd89e6e740173c
2023-09-12 08:04:30 +00:00
Mathias Jakobsen
9d3461157c Merge pull request #14759 from overleaf/mj-table-insert-float-specifier
[visual] Remove float specifier from inserted table

GitOrigin-RevId: b24c945117dfb52dd2982d6787985bf4554f5526
2023-09-12 08:04:26 +00:00
Mathias Jakobsen
a080c7294b Merge pull request #14740 from overleaf/mj-table-ignore-blankline
[visual] Ignore blanklines before cells

GitOrigin-RevId: d0886415c38f9c300f694169fa17bb3f66dd4202
2023-09-12 08:04:21 +00:00
Alf Eaton
8668fd3a15 Draw tracked change widgets after the cursor (#14735)
GitOrigin-RevId: 1f059eab4e0a85909a1bfecf22d07e243dfeba39
2023-09-12 08:04:17 +00:00
Alf Eaton
daec475bb2 [cm6] Remove .extension from extension definitions (#14694)
GitOrigin-RevId: c15fee6b8d3b80cd32d2c3885dc885179e2a3a5b
2023-09-12 08:04:08 +00:00
Alf Eaton
7b8a8974dc Merge pull request #14693 from overleaf/unknown-document-environment
Set EnvName as optional in Environment definition

GitOrigin-RevId: feb048199737108734df45fd4a057d932a6bf785
2023-09-12 08:04:03 +00:00