Tim Down
409d5f7b3e
Merge pull request #26326 from overleaf/td-clean-up-scope-store
...
Create separate window.overleaf.unstable.store based on React context values
GitOrigin-RevId: 68f070a6fc5e2965a82720024d91b16fa622b28b
2025-07-02 08:05:53 +00:00
Domagoj Kriskovic
27211c6644
Allow switching reviewing mode for anonymous editors ( #26426 )
...
* Revert "Remove reference to track changes ofForGuests"
This reverts commit 675f3864e4bf0a07d24848223814768ab50bfd9b.
* handle track changes for guests
* only send on_for_guests
* update test
GitOrigin-RevId: 15308f0904b26d2ea6a2e57b3852cd2a9b3c886d
2025-06-26 08:05:43 +00:00
Mathias Jakobsen
952c6660c0
Merge pull request #26499 from overleaf/dp-pdf-couldnt-compile
...
Update handling of "suggest fix" in new editor
GitOrigin-RevId: 80d6fa479bc1d12d7e5b82a8c504830c9f4db182
2025-06-26 08:05:14 +00:00
Mathias Jakobsen
d100f5c1e4
Merge pull request #26440 from overleaf/mj-ide-co-branding-submit
...
[web] Editor redesign: Add co-branded submit button to toolbar
GitOrigin-RevId: 45f7ba93de8b28868d88a4ad913f6543e0f7e0a6
2025-06-26 08:05:10 +00:00
Antoine Clausse
192ca0479c
[web] Move UI scope to React states ( #26403 )
...
* Move `ui.view` to setState
* Move `openFile` to setState
* Move `ui.leftMenuShown` to setState
* Move `ui.miniReviewPanelVisible` to setState
* Move `ui.pdfLayout` to setState
* Move `ui.chatOpen` to setState
* Move `ui.reviewPanelOpen` to setState
* Cleanup: remove layout-context-adapter and imports
* Replace `ui` scope by mocked `LayoutProvider` in tests
* Update test
* Remove unnecessary `scopeStore.set('ui.chatOpen' ...`
GitOrigin-RevId: 81578bfdc958239eac492905f714a6074c81d0f5
2025-06-25 08:05:15 +00:00
Antoine Clausse
e2add2cba1
[web] Rename docRoot_id to docRootId in the frontend code ( #26337 )
...
* Rename `rootDoc_id` to `rootDocId` in the frontend
* Update types
* Fix frontend test
GitOrigin-RevId: b755a4ebf7b8c0b8ed800d713bbae8cfcfdd5046
2025-06-18 08:07:05 +00:00
Antoine Clausse
37e550f43f
[web] Remove instances of $scope and _ide ( #26297 )
...
* Remove `$scope` from `getMockIde`
* Replace `...getMockIde()` by `_id: projectId`
* Simplify stories decorator scope.tsx: less reliance on `window`
* Update helper editor-providers.jsx: pass data instead directly instead of using `window`
* Remove `cleanUpContext`
* Remove unused prop `clsiServerId`
* Update types to reflect unused properties
* Remove comment
* Add `ol-chatEnabled` in Storybook
* Revert moving `getMeta` outside of the component
This causes issues in Storybook
GitOrigin-RevId: dc2558ce814c2d738fb39450c57c104f4419efb8
2025-06-18 08:06:42 +00:00
David
3131835a54
Merge pull request #26472 from overleaf/dp-full-project-search-shortcut
...
Add mod-shift-f shortcut to open full-project-search to new editor
GitOrigin-RevId: a843c408cc8bd30228cbb7bc17309f4f9ff355b3
2025-06-18 08:05:48 +00:00
Domagoj Kriskovic
a851bff2bf
Revert "Reinitialise Writefull toolbar after buying AI assist ( #25741 )" ( #26144 )
...
This reverts commit 7247ae45ca7de7f1f3778b1b22f49e2ff840a7ef.
GitOrigin-RevId: c6dc1a073ce3d0f9703e426df1c12fa1c7ffac5c
2025-06-05 08:05:28 +00:00
David
f730230f36
Merge pull request #25939 from overleaf/dp-error-logs
...
Update error logs designs for new editor
GitOrigin-RevId: 0de3a54446a0ff114a1debb7b5f274d3a8f19c42
2025-06-05 08:05:11 +00:00
Mathias Jakobsen
988d826c75
Merge pull request #26015 from overleaf/mj-ide-breadcrumbs-setting
...
[web] Add setting to control editor breadcrumbs
GitOrigin-RevId: 6e0a4bb97eba63a1df43d85840f8962bf0238b7c
2025-06-03 08:05:49 +00:00
David
4bb59f8ac0
Merge pull request #25804 from overleaf/dp-on-for-guests
...
Remove references to removed track changes onForGuests option
GitOrigin-RevId: c251ad41633df33f0d963dbc3c2e5cb62920a5e1
2025-05-23 08:05:59 +00:00
Domagoj Kriskovic
56de4c02da
Reinitialise Writefull toolbar after buying AI assist ( #25741 )
...
* Reinitialise Writefull toolbar after buying AI assist (#25596 )
* Reinit Writefull toolbar after buying AI assist
* use refreshSession()
* add a timeout
* add a second refresh
* Increase a timeout for second refresh of writefull session (#25725 )
GitOrigin-RevId: 7247ae45ca7de7f1f3778b1b22f49e2ff840a7ef
2025-05-22 08:07:16 +00:00
Domagoj Kriskovic
54466bc0b0
Handle undefined user features in UserFeaturesProvider
...
GitOrigin-RevId: 70841809f691e9f20591bdf1ea05c510a44892af
2025-05-22 08:07:11 +00:00
David
c8a1a58ad6
Merge pull request #25740 from overleaf/dp-gutter-error-logs
...
Correctly open logs when using AI assist gutter button in new editor
GitOrigin-RevId: 2700832f9e18d10ca3e6ee52841d31613fee626c
2025-05-22 08:06:47 +00:00
Domagoj Kriskovic
845da23a15
Revert "Reinitialise Writefull toolbar after buying AI assist" ( #25731 )
...
* Revert "Increase a timeout for second refresh of writefull session (#25725 )"
This reverts commit 0a34bdde656ade863aead22f003253e13af37829.
* Revert "Reinitialise Writefull toolbar after buying AI assist (#25596 )"
This reverts commit a2572d62bce0e344d92696e42d137a0b36574b3b.
GitOrigin-RevId: 3d51a4375059ab9f4494a7e18b132cc5db34e4cd
2025-05-19 12:27:00 +00:00
Domagoj Kriskovic
9a55ebc1a3
Reinitialise Writefull toolbar after buying AI assist ( #25596 )
...
* Reinit Writefull toolbar after buying AI assist
* use refreshSession()
* add a timeout
* add a second refresh
GitOrigin-RevId: a2572d62bce0e344d92696e42d137a0b36574b3b
2025-05-19 12:26:21 +00:00
David
476380bc29
Merge pull request #25618 from overleaf/dp-symbol-palette-proptypes
...
Remove Proptypes from SymbolPalette components
GitOrigin-RevId: 58b74652a5b47612c4622a7cac9b1ff3aadadfc5
2025-05-16 08:05:48 +00:00
David
207b38fd42
Merge pull request #25553 from overleaf/dp-clone-project-modal-proptypes
...
Remove Proptypes from CloneProjectModal
GitOrigin-RevId: 400f4c9de72eb1910a0ca067882a6358663303d3
2025-05-16 08:05:44 +00:00
Alf Eaton
3ade5e27ac
Remove the full-project-search split test ( #25444 )
...
GitOrigin-RevId: b36c1c81152694547dcf044cfb2cb0f511bfdc22
2025-05-14 08:06:31 +00:00
Jimmy Domagala-Tang
6c641bd0b6
Merge pull request #25568 from overleaf/jdt-rely-on-user-feats-for-assist-paywall-button
...
Rely on user features when showing the get assist paywall button post upgrade
GitOrigin-RevId: 2218171eb57996ee962b4ddc94c1749ad65b9c1b
2025-05-14 08:06:04 +00:00
David
8f0925733d
Merge pull request #25387 from overleaf/dp-editor-toolbar-proptypes
...
Remove proptypes from editor-navigation-toolbar components
GitOrigin-RevId: 77a1c4e13e3da6c06bb515b0137da2f70bfdf4a8
2025-05-13 08:08:06 +00:00
Jimmy Domagala-Tang
9aa325ff2d
Merge pull request #25151 from overleaf/dk-use-user-features
...
UserFeaturesContext with cross-tab syncing via BroadcastChannel
GitOrigin-RevId: 4262719f5018f5717211851ce28b3255af65461a
2025-05-13 08:07:57 +00:00
Jakob Ackermann
e94369cb72
[web] settle on a single split-test for the clsi-cache rollout ( #25399 )
...
* [web] settle on a single split-test for the clsi-cache rollout
Use the split-test that was used for rolling out the writes so that we
can use their already populated caches.
* [clsi-cache] fix non-sharded clsi-cache in dev-env
GitOrigin-RevId: 6ebd6369183342fe6d5e325b760d011fd1d57516
2025-05-08 08:06:37 +00:00
Tim Down
aae0d42002
Merge pull request #23940 from overleaf/td-react-18
...
Upgrade to React 18
GitOrigin-RevId: 9b81936e6eea2bccd97fe5c2c5841f0b946371b8
2025-05-02 08:05:29 +00:00
Domagoj Kriskovic
f7e7062b0c
Refactor Writefull init to always include overleafLabels ( #25055 )
...
GitOrigin-RevId: 416b2d1ea3a24e7c879779078e4f2a13ca6c3555
2025-04-28 08:05:47 +00:00
Jakob Ackermann
02dc00b0b8
[web] make clsi-cache a premium feature ( #25075 )
...
* [web] stopOnFirstError=true does not conflict with =false locally
Allow stopOnFirstError to be enabled in the compile from cache and
disabled locally.
Compiles that passed with stopOnFirstError=true will also pass with
stopOnFirstError=false. The inverse does not hold, and we need to
recompile.
* [web] record event when using compile from cache
* [web] record event when falling back to clsi-cache
* [web] make clsi-cache a premium feature
* [k8s] clsi-cache: increase disk size for beta rollout
NOTE: As this is a premium feature and paid servers run in zones c+d, we
do not need to scale up clsi-cache in zone b for now.
* [web] enable full sampling of compile-result-backend events
* [web] fix frontend tests
* [web] be more verbose when determining access to clsi-cache feature
GitOrigin-RevId: 6fd663e16085187876eb225f7f33eeeaf69d2b2a
2025-04-25 08:05:33 +00:00
David
ad48e9227d
Merge pull request #24950 from overleaf/dp-writeful-editor-switch
...
Expose isNewEditor in window.overleaf.unstable.store for use by writefull
GitOrigin-RevId: be68b3bc62ea1bfb631f349475888b1153e47cfd
2025-04-24 08:05:58 +00:00
Domagoj Kriskovic
2fcaa94cfd
Add origin for ai assist interstitial modal ( #24904 )
...
GitOrigin-RevId: 035edf8791b0afdc8c320598d09d99f5e84acc47
2025-04-18 08:04:55 +00:00
Jakob Ackermann
c07e2fc38a
[clsi-cache] check compiler settings before using compile from cache ( #24845 )
...
* [web] provide an actual rootFolder from EditorProviders in tests
- Fixup SocketIOMock and ShareJS mocks to provide the complete interface
- Extend SocketIOMock interface to count event listeners
- Fixup test that did not expect to find a working rootDoc
* [web] expose imageName from ProjectContext
* [clsi-cache] check compiler settings before using compile from cache
* [web] avoid fetching initial compile from clsi-cache in PDF detach tab
GitOrigin-RevId: e3c754a7ceca55f03a317e1bc8ae45ed12cc2f02
2025-04-16 08:05:35 +00:00
David
925334d776
Merge pull request #24859 from overleaf/dp-history-file-tree
...
Always show file tree in history view in new editor
GitOrigin-RevId: e993aae4c1625ef7fb0a716ae5bff8edb0e8d0d0
2025-04-16 08:04:52 +00:00
Jimmy Domagala-Tang
34659d1271
Merge pull request #24391 from overleaf/jdt-move-wf-features-to-ol
...
Move Writefull table + equation generator to OL toolbar
GitOrigin-RevId: b7bc5b1cde5687360c4f60cb64924da139ccfbe9
2025-04-15 08:05:47 +00:00
Jakob Ackermann
e6edb4bf23
[clsi-cache] frontend ( #24389 )
...
* [clsi-lb] forward ?clsiserverid=cache requests to clsi-cache
* [web] use clsi-cache in frontend
* [web] upgrade compile from cache to full compile when triggered inflight
* [web] fix pdf-js-viewer.spec.tsx tests -- add ?clsiserverid=foo to url
* [web] fix renamed reference after merge
* [web] fix download of other output files and use specific build
* [web] consolidate validation of filename into ClsiCacheHandler
* [web] remove unused projectName from getLatestBuildFromCache
* [web] avoid hitting the same clsi-cache instance first all the time
* [web] update documentation
GitOrigin-RevId: d48265a7ba89d6731092640e1492bc9f103f5c33
2025-04-10 08:05:22 +00:00
Jimmy Domagala-Tang
d15aa48164
Merge pull request #24208 from overleaf/jdt-wf-analytics-wrapper
...
Create listener for Writefull to send events to our analytics
GitOrigin-RevId: 8ad1866e3c81b1f6c3388b744f9e27810623436e
2025-04-09 08:05:42 +00:00
Eric Mc Sween
3512992ac4
Merge pull request #24433 from overleaf/em-pending-reviewers
...
Support reviewers in the collaborator limit enforcement logic
GitOrigin-RevId: f11a8e37ca6ef36f9894233803c6ee8363bf0ff8
2025-03-27 14:16:48 +00:00
David
f2b6389b7e
Merge pull request #24442 from overleaf/dp-writefull-parent
...
Provide writefull with element selectors to insert into
GitOrigin-RevId: 87c9a939f7024e54adfe0b970dddb96b7f56d6b3
2025-03-27 09:05:51 +00:00
Jimmy Domagala-Tang
36b15c888d
Merge pull request #24253 from overleaf/jdt-move-wf-instance-to-context
...
moving WF to editor context in anticipation for calling functionality…
GitOrigin-RevId: 368554e9308fe8e9e7ef42a4abd78690ec834520
2025-03-25 09:05:21 +00:00
Eric Mc Sween
c5d442af67
Merge pull request #24225 from overleaf/em-reviewers-share-modal
...
Count reviewers towards collaborator limit in share modal
GitOrigin-RevId: 27ec3a787124be7590791412d914ec6da78bab35
2025-03-24 10:51:09 +00:00
Jakob Ackermann
a00c6f3511
[web] convert file-list to typescript ( #24354 )
...
* [web] convert file-list to typescript
* [web] add type annotation for clsiServerId without providing default
Co-authored-by: David Powell <david.powell@overleaf.com >
---------
Co-authored-by: David Powell <david.powell@overleaf.com >
GitOrigin-RevId: 5ecb79c2540a3e46e296c6bf7f8573fb65febc3f
2025-03-24 10:46:48 +00:00
Jakob Ackermann
c33fe777aa
[web] operate on shadow-copy of compileResponse.outputFiles ( #24330 )
...
GitOrigin-RevId: 49336daf11b2a011d03b7469aa4c0ffed72b279a
2025-03-24 10:45:58 +00:00
David
062b2d57f8
Merge pull request #24137 from overleaf/mj-ide-permissions-utils
...
[web] Add switcher for editor redesign
GitOrigin-RevId: 806a1f567027df53f879b564a50aaae9166c8480
2025-03-18 09:05:40 +00:00
David
483a6dfa77
Merge pull request #24210 from overleaf/mj-nested-menu-bar
...
[web] Editor redesign: Make menu bar nestable
GitOrigin-RevId: 5c08126499ff96494d6af9adcbd75126ddd596af
2025-03-13 09:05:23 +00:00
Alf Eaton
aedb835067
Tidy up global scope values ( #20379 )
...
* Remove crypto from window
* Remove ui.loadingStyleSheet
* Remove onlineUsers scope
* Remove addNewComment
GitOrigin-RevId: 5e62ed7f265cdd530b5ca85488477093b0be775a
2025-02-28 09:05:15 +00:00
Mathias Jakobsen
1cc7e51ddb
Merge pull request #23687 from overleaf/mj-expose-font-lineheight
...
[web] Expose font family and lineheight to extensions
GitOrigin-RevId: 75462fd5b062b70feb152fe5e805ff5ab80f5e64
2025-02-20 09:06:22 +00:00
Alf Eaton
3807b81270
Update tooltip text for search buttons ( #23448 )
...
GitOrigin-RevId: d189aac06c5f68e009eeb125d7cc225b41e8cc0c
2025-02-17 09:04:45 +00:00
David
9c9307b628
Merge pull request #23502 from overleaf/dp-pdf-typescript
...
Convert PDF Preview components to typescript
GitOrigin-RevId: 34594d21143727fa42b8b595aa12125a4dd7ae5e
2025-02-13 09:06:41 +00:00
David
4638e208ba
Merge pull request #23300 from overleaf/mj-ide-menu-hover
...
[web] Introduce menu bar shared component
GitOrigin-RevId: c304cc4e1e5961fe4ef7d2112e8d9f91c47dd0ec
2025-02-07 09:06:26 +00:00
Alf Eaton
dd379487be
Remove uses of editor scope values ( #23312 )
...
GitOrigin-RevId: 97e2188bc1363618b60f722fa317a5b240d5013b
2025-02-07 09:05:12 +00:00
Alf Eaton
be3a208166
Minimise use of ide context provider ( #23308 )
...
GitOrigin-RevId: 468b8d4b33925bdb97bd46d2c4e7acb969f3d82b
2025-02-07 09:05:05 +00:00
Eric Mc Sween
e40071fbfb
Fix full project search shortcut for Linux/Windows ( #23430 )
...
GitOrigin-RevId: e90baa04529ece283da794eeeb0bd322c7a74b51
2025-02-07 09:04:53 +00:00