Commit Graph

778 Commits

Author SHA1 Message Date
Malik Glossop
5d47879865 Merge pull request #30884 from overleaf/mg-upgrade-modal-tracked-changes
Show modal when user initiates tracked changes from context menu

GitOrigin-RevId: 09ce0aef3eea113cc0b8fc83db00cb8607a6ef9a
2026-01-26 09:06:07 +00:00
Malik Glossop
ae5e3543c5 Merge pull request #30596 from overleaf/mg-context-menu-hide-others
Hide other menus when right-click context menu opens

GitOrigin-RevId: c7a2126ec58ed69520f31ba20fa450a6f1524a3f
2026-01-20 09:06:37 +00:00
Malik Glossop
723da5c28a Merge pull request #30490 from overleaf/mg-context-menu-a11y
[web] Add a11y support for context menu

GitOrigin-RevId: 3cbe66ee3ee8345dd0e89f89561928889832a50d
2026-01-20 09:06:32 +00:00
Maria Florencia Besteiro Gonzalez
3e9d3f4d9c Merge pull request #30822 from overleaf/mfb-editor-not-focused-while-bibtex-editor
Hide the Codemirror editor when the bibtex editor is shown

GitOrigin-RevId: 431b2a93a673b604a0caff31528b9068cc780559
2026-01-20 09:06:27 +00:00
Eric Mc Sween
ef8641b876 Merge pull request #30774 from overleaf/em-bibtex-editor-list
Show list of entries in bibtex visual editor

GitOrigin-RevId: 2038f70c8c5b73547764d4f9ad535596f3faaf8f
2026-01-19 09:06:11 +00:00
Alf Eaton
03a3518aae Merge pull request #30703 from overleaf/ae-prettier
Upgrade Prettier to v3.7.4

GitOrigin-RevId: 0f4434019bc7d12f2d5b7ecbb833ee20570d0706
2026-01-16 09:56:07 +00:00
Alf Eaton
36432ffb5b Clamp pos when storing scroll position (#30773)
GitOrigin-RevId: b381950e209c18a5fbba07604839b7c3eac90da8
2026-01-15 14:19:57 +00:00
Malik Glossop
a0fc14b367 Merge pull request #30495 from overleaf/mg-context-menu-paste
[web] Support paste with formatting in context menu

GitOrigin-RevId: 551ed1d49ca423395bd9bfc756e10e8d59d71ecd
2026-01-15 14:19:03 +00:00
Malik Glossop
f087d125c1 Merge pull request #30168 from overleaf/mg-context-menu
Add context menu (right click) to editor

GitOrigin-RevId: f2e567b51b04170ba1a46b0ab4659f3481b05bfe
2026-01-15 14:18:58 +00:00
Alf Eaton
5204ec5d0b Ensure that change decorations are mapped through updates (#30663)
GitOrigin-RevId: 9529e308594b771191f71751478c2118bd91a84e
2026-01-15 09:06:10 +00:00
Alf Eaton
5d16fa207a Upgrade CodeMirror and Lezer dependencies (#30615)
* Upgrade CodeMirror and Lezer dependencies
* Ensure that BraceWidget and IconBraceWidget always have string content
* Add updateDOM to BraceWidget
* Use pinned versions
* Fix description list decoration

GitOrigin-RevId: 5306f7f09290eb9a2c375e97d33509537f3c5e5f
2026-01-15 09:06:05 +00:00
Domagoj Kriskovic
4e2ea44b61 [web] add BibTeX visual editor module (#30726)
* [web] add BibTeX visual editor module

* Make the visual editor hook open to extension

Instead of looking specifically for the bibtex visual editor, allow any
extension to provide a visual editor.

* Fix stylelint error

---------

Co-authored-by: Eric Mc Sween <5454374+emcsween@users.noreply.github.com>
GitOrigin-RevId: c85c27a2b119c826e3d00cbd475a2a21f1508091
2026-01-15 09:05:13 +00:00
Alf Eaton
861b66b007 Revert "Cite an article by pasting the DOI (#29994)" (#30607)
This reverts commit a68af023b24fcf87bbc608395f2898df8e9b41a5.

GitOrigin-RevId: c0dd9ae3f6a0e12e6ba7d1e856327ea89eae8157
2026-01-09 09:07:14 +00:00
Alf Eaton
18b2621855 Cite an article by pasting the DOI (#29994)
GitOrigin-RevId: a68af023b24fcf87bbc608395f2898df8e9b41a5
2026-01-09 09:06:51 +00:00
Alf Eaton
b69797e3f4 Set min-width on search form position element (#30473)
GitOrigin-RevId: 6f65eba9589f14f7d22668e925d819467c0ad4bd
2026-01-09 09:06:21 +00:00
Alf Eaton
b4ff3f15ad Tear down full-project-search-promo (#30474)
GitOrigin-RevId: 9af516202bdf281b11348726667037fa458d66d9
2026-01-09 09:06:17 +00:00
Mathias Jakobsen
b554b0cfcc Merge pull request #28497 from overleaf/mj-system-editor-theme-dark-light-split
[web] Split editor theme into two when using system overall theme

GitOrigin-RevId: 1efa5553fdff8a17de634017882feb2ede614cd6
2025-12-12 09:05:10 +00:00
Malik Glossop
4462472e33 Merge pull request #30027 from overleaf/mg-svg-figure-modal
Support svg files in figure modal

GitOrigin-RevId: 4f0e110dad3c06f5e5ac699e0bfcaf3cd6c784ff
2025-12-10 09:05:44 +00:00
Malik Glossop
472e05f32b Merge pull request #29971 from overleaf/mg-edit-search-bug
Make editor focusable in view-only mode

GitOrigin-RevId: ed9b079fa379d84f7f410669fa2d865f82e21cb1
2025-12-02 09:04:59 +00:00
Mathias Jakobsen
7c1a225be4 Merge pull request #29899 from overleaf/mj-dark-mode-file-flash
[web] Avoid background color flash when switching files

GitOrigin-RevId: e5d2fbb631fd54d195b9cb51b2a9db584d205138
2025-11-28 09:05:18 +00:00
Borja
d4992914c2 Add figure generator from text functionality (#29742)
GitOrigin-RevId: 94c65c567d59e3228dba63395bd46fe0c57fab02
2025-11-24 09:07:16 +00:00
Mathias Jakobsen
7b331b0222 [web] Recreate workbench with Overleaf styles (#29651)
GitOrigin-RevId: 52ca336f70b29edf6e39cf95aa164f3ae32c0a79
2025-11-19 09:05:14 +00:00
Borja
b1009d3b1f Writefull refactor bootstrapping (#29549)
GitOrigin-RevId: f8422d3c3d1d7e588f18352e08c7596b520225e5
2025-11-19 09:05:09 +00:00
Rebeka Dekany
b773ac2715 Add focus trap to Modal component (#28754)
* Add focus-trap-react npm package

* Trap the focus for the Modal

* In some cases, the focus will not return to the trigger element

* If there are no tabbable elements, the focus should fallback

* Add explanations for focusTrapOptions props and extend test

* Auto generate package-lock.json - Add focus-trap-react npm package

GitOrigin-RevId: 488a05d5e95dd369c69bedcfaf7c1fd5e456e302
2025-11-17 09:05:45 +00:00
Malik Glossop
65419ad6f1 Merge pull request #29520 from overleaf/mag-tool-tip-casing
Update toolbar tooltips

GitOrigin-RevId: 80d3fa906776684275c856d1a74171d5b8a4f65a
2025-11-12 09:05:23 +00:00
Mathias Jakobsen
0110ac4715 [web] Convert LaTeX linter to Typescript (#29483)
GitOrigin-RevId: ec79e95db03bbea60da01eb8b35989978e1ec33a
2025-11-11 09:05:39 +00:00
Borja
7f96e9504e Revert "Writefull refactor bootstrapping (#29306)" (#29542)
This reverts commit 6de05eb695579dc08cb5ee6ddf30c243cc2ff86a.

GitOrigin-RevId: 1fe00bd95b2ce437f91b38667e4d787d49c36902
2025-11-06 09:07:14 +00:00
Borja
1a511b14a4 Writefull refactor bootstrapping (#29306)
GitOrigin-RevId: 6de05eb695579dc08cb5ee6ddf30c243cc2ff86a
2025-11-05 09:07:09 +00:00
Alf Eaton
1d3d81e67d Allow enabling EditContext in CodeMirror (#29114)
GitOrigin-RevId: 15d70fd2d5da68d43f441bb0c65ff0cd2d785306
2025-11-04 09:06:01 +00:00
Borja
cb0cfcfd82 Add languages and further functionality to Translate (#29342)
GitOrigin-RevId: 5e575c2aa51490071bfbd7498fd81b4e30ffa77f
2025-10-30 09:06:05 +00:00
Mathias Jakobsen
129a002055 Merge pull request #29074 from overleaf/mj-figure-modal-eps
[web] Allow eps files in figure modal

GitOrigin-RevId: 2678f1415d04b366a6e8a829a9e75e3ef1133685
2025-10-16 08:05:51 +00:00
Borja
ce38ba6fc1 Refactor Writefull toolbar (#28911)
GitOrigin-RevId: 1d8a3addc9046dc67c0cca20d5cf4fba35d132d1
2025-10-15 08:07:42 +00:00
Mathias Jakobsen
f694da4443 Merge pull request #28978 from overleaf/mj-visual-editor-broken-image
[web] Add image loading fallback screen to visual editor

GitOrigin-RevId: 205c6355011802672e57123bb2a61cb708242e31
2025-10-15 08:06:32 +00:00
David
584572bb40 Merge pull request #28760 from overleaf/dp-hackathon-knip
Add Knip and remove a bunch of unused code

GitOrigin-RevId: 42ab99fc65973c883d2361e0027e7181767e714e
2025-10-15 08:05:57 +00:00
Alf Eaton
7e3b853fc1 Revert "Show tooltip immediately if a tooltip is already open (#28870)" (#28935)
This reverts commit 74950ea7e705acb8f42dea552b23ce93c66058c7.

GitOrigin-RevId: 346a947c420448becf294f0174937a5c256bf945
2025-10-09 08:08:14 +00:00
Alf Eaton
d3f05fda77 Show tooltip immediately if a tooltip is already open (#28870)
* Memoize delayProps
* Refactor Escape key handler
* Use useTooltipContext
* Remove delay: 0 from tooltips
* Only use isTooltipOpen if available
* Only show transition for initial tooltip

GitOrigin-RevId: 74950ea7e705acb8f42dea552b23ce93c66058c7
2025-10-09 08:05:49 +00:00
Mathias Jakobsen
f9d0f7e3ee Merge pull request #28893 from overleaf/mj-linter-brace-check
[web] Allow braces in documentclass options

GitOrigin-RevId: 9675d3fc760a3b7d402c5a9df57a0cf183a1e648
2025-10-09 08:05:31 +00:00
Alf Eaton
7e74841a97 Ensure that invalid search regexp is correctly highlighted (#28724)
GitOrigin-RevId: f122e2ea649d8cbfa984ddad0b7424aa96bd015a
2025-10-07 08:06:40 +00:00
jmescuderowritefull
360c7c1d33 Clean extension checks and old feature flags in Writefull (#28713)
GitOrigin-RevId: c1949019f1f51add7fd036a1ad0e2946ccab5382
2025-10-01 08:06:07 +00:00
Rebeka Dekany
19b38340ac Consistent usage of the modal header close button (#28681)
* Convert OLModal to named exports only

* Make closeButton the default for OLModalHeader

* Set `closeButton={false}` for modal that is not dismissible

* Fix duplicated imports

* Remove another unnecessary `closeButton` prop

* Fix import

---------

Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>
GitOrigin-RevId: ddd7be6e59a966ac634683d2494d6e9d2c3732e6
2025-09-30 08:05:24 +00:00
Jakob Ackermann
74746a096c [monorepo] rebuild lezer output as part of 'make install' (#28545)
* [monorepo] rebuild lezer output as part of 'make install'

* [monorepo] run 'make install' with high concurrency in Jenkins

* [monorepo] rebuild lezer parser output once

* [monorepo] headless npm run

* [web] update docs for lezer

GitOrigin-RevId: f385bb8a9cdab1a6bfc28a8843b5128ceec364ec
2025-09-18 08:06:02 +00:00
Alf Eaton
141aca070a Add support for \subfile (#28517)
* Add \subfile to LaTeX grammar
* Handle \subfile in word count
* Show tooltip for \subfile in Visual Editor
* Add subfile completions

GitOrigin-RevId: d9c4308581bd3f25accb97f2191ffe1e5a64764e
2025-09-18 08:05:39 +00:00
Alf Eaton
2c1baa717d Use tracked changes and comments from the snapshot (#26267)
GitOrigin-RevId: c2bf0c9c9a5ab4f8837b8712ca549119a31cf067
2025-09-05 08:05:56 +00:00
Alf Eaton
9ff0bc4ec4 Avoid selecting next match when opening search form with no selected text (#28261)
If a setSearchQuery effect is dispatched but the search query hasn't changed, avoid selecting the next match in the editor.

GitOrigin-RevId: 8b0dda2b6c9442796a030214a37da7e93f4901f4
2025-09-05 08:05:41 +00:00
Mathias Jakobsen
ed0c4c447e Merge pull request #24468 from overleaf/mj-client-side-references
[web] Perform ARS on client-side

GitOrigin-RevId: 19703c82758cae450fe52463ad9612d3a2383ba0
2025-09-03 08:05:41 +00:00
Alf Eaton
d6f6cbe189 Remove visual paste and history restore feedback surveys (#27891)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
GitOrigin-RevId: ee0a215dfc5ed6aa589b8012d2e930d9c3b0824f
2025-08-27 08:06:23 +00:00
Rebeka Dekany
74533fc401 Replace placeholders with labels (#26811)
* Replace placeholders for labels

* Remove redundant aria-label and update labels with `.visually-hidden`

* Change "Invite more members" to a label

* Fix helper text for group members and fix responsiveness

* Change error message to an error notification

* Use label and helper text instead of a placeholder

* Remove redundant label and use the placeholder text instead for the admin user searchbar

* Extract translations

GitOrigin-RevId: a504fda9779da82920b57c7b8aad38a8b027d09a
2025-08-26 08:05:02 +00:00
Mathias Jakobsen
63a92b53f1 Merge pull request #28017 from overleaf/revert-28016-revert-27953-mj-editor-color-scheme
Reinstate "[web] Specify CSS color-scheme based on editor theme"

GitOrigin-RevId: a6ac8e5a352c3c795725290584a2edfa236e2baa
2025-08-22 08:05:31 +00:00
Mathias Jakobsen
9b90b5e823 Merge pull request #28016 from overleaf/revert-27953-mj-editor-color-scheme
Revert "[web] Specify CSS color-scheme based on editor theme"

GitOrigin-RevId: b83fee057d40cb6c58c4e96f5ffdab2019965146
2025-08-20 08:06:11 +00:00
Mathias Jakobsen
33dbfe4c6f Merge pull request #27953 from overleaf/mj-editor-color-scheme
[web] Specify CSS color-scheme based on editor theme

GitOrigin-RevId: dda4039b7fcc4aecc7ed3f96efe15518599c9226
2025-08-20 08:06:06 +00:00