Commit graph

301 commits

Author SHA1 Message Date
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
Tim Down
1dc3d12c1d Merge pull request #14746 from overleaf/td-review-panel-empty-comment-edit
React review panel: populate comment box when editing

GitOrigin-RevId: ba284bd419dd507eef17847b5f4c55b8fd8338f5
2023-09-11 08:05:31 +00:00
Mathias Jakobsen
78a493d78d Merge pull request #14730 from overleaf/mj-table-gen-dark-mode
[visual] Fix dark editor mode for table generator

GitOrigin-RevId: 024a2118fe7557d3ecd2d833a639684463dda707
2023-09-11 08:05:05 +00:00
Mathias Jakobsen
0d7730f37a Merge pull request #14712 from overleaf/mj-table-adjustbox
[visual] Disable caption dropdown when tabular is wrapped in command

GitOrigin-RevId: 08131d27e8bb4cb99eee3060435084f671bc3dd6
2023-09-08 08:04:23 +00:00
Mathias Jakobsen
c5cb344178 Merge pull request #14707 from overleaf/mj-table-gen-toolbar-z-index
[visual] Set higher z-index for table gen toolbar than cm6 cursor

GitOrigin-RevId: 769e33abf84767087b7936f2b3f0a02c80c7dd09
2023-09-08 08:04:19 +00:00
Mathias Jakobsen
d2c9b40ecb Merge pull request #14686 from overleaf/mj-table-generator-copy
[visual] Update copy for table generator

GitOrigin-RevId: ed5693fc3bf04bade2db70c652c7bdcb38e2195e
2023-09-07 08:05:05 +00:00
Mathias Jakobsen
2dec2a0296 Merge pull request #14658 from overleaf/ae-pasted-font-weight
[visual] Use font-weight >= 700 as bold indicator

GitOrigin-RevId: 33307a3139b596868c3460c070f51adc8617cb3a
2023-09-07 08:04:46 +00:00
Mathias Jakobsen
4a157e7086 Merge pull request #14664 from overleaf/ae-paste-rowspan
[visual] Handle rowspan on pasted table cells

GitOrigin-RevId: 53dda99ae1c300b9c4ec8f711b70b16ef66392c8
2023-09-07 08:04:42 +00:00
Mathias Jakobsen
6cde5e2e90 Merge pull request #14690 from overleaf/mj-table-gen-toolbar-wrap
[visual] Wrap table generator toolbar on overflow

GitOrigin-RevId: ef4d5b7f8fe79eefb6d2ad2f89c8ae198e2c701d
2023-09-07 08:04:37 +00:00
Mathias Jakobsen
73d3537f32 Merge pull request #14656 from overleaf/mj-table-generator-analytics
[visual] Add analytics to table generator

GitOrigin-RevId: ab5e9c9a870b76d2d51c74190f386b1de5153bb1
2023-09-07 08:04:33 +00:00
Tim Down
5748ee4496 Merge pull request #14230 from overleaf/td-review-panel-add-comment-reappear
React review panel: ensure that "Add comment" entry reappears after clicking away then back

GitOrigin-RevId: fc1b656304d71876d8a4728648b73e1d3f873817
2023-09-06 08:06:41 +00:00