Commit Graph

368 Commits

Author SHA1 Message Date
Mathias Jakobsen
1ac1410b3b Merge pull request #32901 from overleaf/mj-tabs-context-menu
[web] Add custom context menu for tabs

GitOrigin-RevId: 5ca997bde0c881ad3ba80092915d341f03c609a8
2026-04-21 08:05:35 +00:00
Mathias Jakobsen
3bf3264cfe Merge pull request #32313 from overleaf/ae-tab-icon
Add icons to file tabs

GitOrigin-RevId: 7b032c694c4f81e868e5811673b465179e10bae7
2026-04-15 08:05:30 +00:00
Mathias Jakobsen
d1ce54b513 Merge pull request #32794 from overleaf/mj-tab-scroll
[web] Allow scrolling with wheel in tab container

GitOrigin-RevId: af81825288387675bdac5d734041299126d3b44c
2026-04-15 08:05:26 +00:00
Alexandre Bourdin
e4b49b00ec Merge pull request #32639 from overleaf/fix/figure-modal-zero-byte-file-crash
[web] Fix FileSize crash when uploading zero-byte file in figure modal

GitOrigin-RevId: 6ce0dfa221c44af4df813231c97aac846214b34d
2026-04-10 08:04:29 +00:00
Alexandre Bourdin
671df33da3 Merge pull request #32244 from overleaf/ab-labs-in-feature-flags
[web] Merge Labs programme into the Feature flags system

GitOrigin-RevId: db75e07bf3272becc11ef1eeda3850098b3daa9d
2026-03-26 09:06:51 +00:00
Mathias Jakobsen
6b01183bba Merge pull request #32330 from overleaf/mj-tabs-survey
[web] Tweaks for editor tabs

GitOrigin-RevId: fed9a500b871fa68a158c2e7ab42030117775161
2026-03-24 09:05:52 +00:00
Malik Glossop
6901a2a8de Merge pull request #32135 from overleaf/mg-comment-empty-select
Allow adding comments on empty selection

GitOrigin-RevId: 14e742bb563fab99624be860691f1a9d2dabc00e
2026-03-20 09:07:28 +00:00
Malik Glossop
504005aa74 Merge pull request #32264 from overleaf/mg-paste-blocked
Show toast when context menu paste fails due to blocked clipboard access

GitOrigin-RevId: fcbeaa17174288ba627b3988ef5149d54a33fd4f
2026-03-20 09:07:23 +00:00
Alexandre Bourdin
5d0498f89c Merge pull request #32312 from overleaf/ab-rename-editor-tabs-flag
[web] Rename editor tabs feature flag

GitOrigin-RevId: 3b9a0ea618d2f43edc108362d384a5b354d1b0e4
2026-03-20 09:07:01 +00:00
Mathias Jakobsen
9224197fb3 Merge pull request #32164 from overleaf/mj-tabs
[web] Add editor tabs experiment

GitOrigin-RevId: 8cef265a45dbd826ad8a4df7d98e38f9bb7ec1cd
2026-03-20 09:06:32 +00:00
Domagoj Kriskovic
f078929b25 Fix optional chaining for file extension retrieval in EditorSwitch
GitOrigin-RevId: 9aeee2f856c4f4dadc38affecc06179b61267af0
2026-03-16 11:56:48 +00:00
Domagoj Kriskovic
a7621a99c4 Updated analytics event for visual bibtex editor
GitOrigin-RevId: ccca1ba7f60a7fa63a41866f780fbb73441b0c9a
2026-03-16 11:56:43 +00:00
Davinder Singh
281dc16a6d removing the usage of useIsNewEditorEnabled from first set of files (#31800)
GitOrigin-RevId: 821885295f4dab046d9abf552d7fbd7a21d86fb5
2026-03-06 09:14:55 +00:00
Malik Glossop
a293474c0c Merge pull request #31035 from overleaf/mg-context-menu-analytics
Add analytics event for context menu, comment, track changes, and jump to location

GitOrigin-RevId: 8412cc3c8039cd1582ccee20b162b4bef4467dea
2026-03-06 09:14:26 +00:00
Davinder Singh
f27c99ea4b Tearing down of old Editor (File tree) (#31784)
* merging ide-redesign/components/file-tree into features/file-tree

* moving ide-redesign/contexts/settings-modal-context   to features/settings/contexts

* use-collapsible-file-tree.tsx → features/file-tree/hooks

* use-focus-on-setting.tsx → features/settings/hooks

* use-project-notification-preferences.ts → features/settings/hooks

* use-rail-overflow.tsx→ features/ide-react/hooks

* deleting use-switch-enable-new-editor-state.ts

* use-toolbar-menu-editor-commands.tsx → features/source-editor/hooks

* npm run extract-translations

* modifying the test to target correct buttons and removing a test for old component

* adding a test back and modifying it

* changing the test

GitOrigin-RevId: baa1e9a992c88b84313eea82161354d4958cf1ef
2026-03-06 09:14:01 +00:00
Davinder Singh
b7f5344859 Tearing down of old Editor (Integrations panel) and other files (#31701)
* moving files from ide-redesign/components/editor-tour to features/editor-tour

moving files from ide-redesign/components/integrations-panel to features/integrations-panel

fixing imports

Revert "moving files from ide-redesign/components/editor-tour to features/editor-tour"

This reverts commit 9e4dcd4e001ffa4bfdb1053fb8824c1e8521ab10.

* moving files from ide-redesign/components/help -> ide-react/components/rail

* ide-redesign/components/breadcrumbs → features/source-editor/extensions

* ide-redesign/components/editor.tsx → ide-react/components/layout

* ide-redesign/components/full-project-search-panel.tsx → ide-react/components/rail/full-project-search-panel.tsx

* removing old-editor-warning-tooltip

* ide-redesign/components/tooltip-promo.tsx → shared/components/tooltip-promo.tsx

make cleanup_unused_locales

* extract-translations

GitOrigin-RevId: b9f44c4820bb4e0a7eef4f6f9a58ff96fd007bf9
2026-03-06 09:06:48 +00:00
Malik Glossop
a7b3cb6042 Merge pull request #31573 from overleaf/mg-context-menu-feedback
Add feedback button to context menu

GitOrigin-RevId: f7d2b27f7f49a4cd3cbad2e8c6f114967f84ab65
2026-02-19 09:05:54 +00:00
Domagoj Kriskovic
b10854f3e3 Use "tanstack/react-table" for visual bibtex editor
GitOrigin-RevId: 85c7ae2433de04a4d64d9d59af062646add3b473
2026-02-04 09:06:49 +00:00
Jimmy Domagala-Tang
fc8d564320 Editor Redesign Cleanup: main layout, toolbar, and rail (#31031)
* feat: integrate  main layout, toolbar, and rail from redesign into main ide-react folder

* feat: remove additional files no longer used after ide redesign

GitOrigin-RevId: 8fd77f63cb9c67be91995a9dde13b0fe2376d80f
2026-02-03 09:06:37 +00:00
Jimmy Domagala-Tang
a370a72a5a Revert "Revert "adding all button variants as dark mode (#30989)" (#31145)" (#31148)
This reverts commit c8296444ed68ca30ab330c6e0d6e3b9466f102e0.

GitOrigin-RevId: d7a3252fc4590f5fd12ed1b882faca7e38f3a208
2026-01-30 09:05:49 +00:00
Jimmy Domagala-Tang
e91a870b94 Revert "adding all button variants as dark mode (#30989)" (#31145)
This reverts commit a67ea76d5e03e96c1df8a17063aa332e7cb2d1a3.

GitOrigin-RevId: c8296444ed68ca30ab330c6e0d6e3b9466f102e0
2026-01-30 09:05:38 +00:00
Jimmy Domagala-Tang
0e51f08e58 adding all button variants as dark mode (#30989)
* adding all button variants as dark mode

* feat: removing unecessary mixin after move to dm buttons

* fix: prefix button css vars, and scope them out of modals

* fix: update link button on project list dash

* Use themed styles in the search form (#30489)

* [web] Introduce dark mode for codemirror search form

* [web] Tweak search form dark mode

---------

Co-authored-by: Mathias Jakobsen <mathias.jakobsen@overleaf.com>

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
Co-authored-by: Mathias Jakobsen <mathias.jakobsen@overleaf.com>
GitOrigin-RevId: a67ea76d5e03e96c1df8a17063aa332e7cb2d1a3
2026-01-30 09:05:33 +00:00
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
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
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
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
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
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
Borja
d4992914c2 Add figure generator from text functionality (#29742)
GitOrigin-RevId: 94c65c567d59e3228dba63395bd46fe0c57fab02
2025-11-24 09:07:16 +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
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
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
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
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
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