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
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
Jakob Ackermann
3586b37491
[web] Remove clsi-cache-prompt/survey, split-tests and events ( #29510 )
...
* [web] Remove clsi-cache-prompt/survey and split-tests
* [web] Remove initial 50/50 clsi-cache split-test
* [web] Remove synctex-downloaded-from-cache event
* [web] Remove fallback-to-clsi-cache event
* [saas-e2e] fix tests with clsi-cache enabled
GitOrigin-RevId: b5cf2ab073dc866fe398b81fd5afe46422134c80
2025-11-05 09:06:59 +00:00
Jakob Ackermann
28c1c7db37
[clsi-cache] add circuit breaker to clsi-cache requests ( #29339 )
...
Stage timeouts:
- frontend waits 5s
- web/clsi waits 4s
- clsi-cache waits 3s
This should ensure that the frontend can receive a valid response after
any of the backend requests failed.
The circuit breaker will remain closed for TIMEOUT + jitter of 0-3 times
the TIMEOUT of the respective service. This should avoid the bulk of
traffic to fail and occasionally issue retries without hammering the
instances while down.
Also do not try the next backend when the abort signal has expired.
GitOrigin-RevId: d612125616a9e416beff2f4c6d7f30066b5b9d6d
2025-10-29 09:05:34 +00:00
Jakob Ackermann
f3f6a8a8e0
[web] add clsi-cache prompts ( #29281 )
...
* [web] add clsi-cache prompts
* [web] add new editor variant to segmentation
* [web] add tests for useNewEditorVariant
* [web] adjust start of using clsi-cache in split-test
GitOrigin-RevId: c9c5b1eff2ceefb65ef82516d9074cb971cb4c48
2025-10-24 08:05:42 +00:00
David
129ea72d36
Merge pull request #29152 from overleaf/dp-dashboard-dark-mode
...
Add data-theme attribute to project list page
GitOrigin-RevId: 3a623e3258d55e01f0911bcc45b78bcdba21745b
2025-10-22 08:05:34 +00:00
Borja
0409b27311
Writefull to BigQuery new events and clean up ( #29191 )
...
GitOrigin-RevId: dc01a585f451513dcb1eb37ce6e5fdf906eb7ef6
2025-10-21 08:06:43 +00:00
Borja
ce38ba6fc1
Refactor Writefull toolbar ( #28911 )
...
GitOrigin-RevId: 1d8a3addc9046dc67c0cca20d5cf4fba35d132d1
2025-10-15 08:07:42 +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
jmescuderowritefull
360c7c1d33
Clean extension checks and old feature flags in Writefull ( #28713 )
...
GitOrigin-RevId: c1949019f1f51add7fd036a1ad0e2946ccab5382
2025-10-01 08:06:07 +00:00
Borja
67f105edcf
Change suggestion-click event listener to avoid duplications ( #28756 )
...
GitOrigin-RevId: 4feac33ee530f768397a9097e96400ff25d70e5c
2025-10-01 08:06:02 +00:00
David
1b5887d97f
Merge pull request #28675 from overleaf/dp-pdf-preview-output-files-typescript-2
...
Convert output-files.js to typescript
GitOrigin-RevId: 32eb509f491cfd53de7f1b21b97861ba421566a5
2025-09-30 08:05:45 +00:00
Mathias Jakobsen
c4aae2f887
Merge pull request #28580 from overleaf/mj-compile-log-entries
...
[web] Remove compile-log-events override for labs users
GitOrigin-RevId: 247a27f06e0eb8eff41d015d916c088b5da2a45d
2025-09-22 08:05:09 +00:00
David
4e15b8fbf5
Merge pull request #27868 from overleaf/dp-pdf-preview-2-typescript
...
Convert DocumentCompiler class to typescript
GitOrigin-RevId: 6a0d72f7e0cc319c9166ee6236380f6af5187dbb
2025-08-14 08:06:12 +00:00
David
95014d005a
Merge pull request #27846 from overleaf/dp-pdf-preview-typescript
...
Convert several pdf-preview files to typescript
GitOrigin-RevId: afa7f7fce8fec2a36090a259783a586960ccb291
2025-08-14 08:05:47 +00:00
Mathias Jakobsen
4ab4fbdf51
Merge pull request #26951 from overleaf/mj-layout-broken
...
[web] Add restoreView to LayoutContext
GitOrigin-RevId: 3a50c1e215c99236f503285fee1c924df57e07e4
2025-07-11 08:05:06 +00:00
Tim Down
bfa0459e72
Merge pull request #26928 from overleaf/td-remove-use-scope-value
...
Remove useScopeValue and its associated store
GitOrigin-RevId: 439d6eb16343f65695ef615a9ff697d0cc5ad2c7
2025-07-10 08:08:59 +00:00
Tim Down
905cc5d45f
Move project context out of scope value store ( #26615 )
...
* Refactor project context to not use scope store
* Fix Cypress tests for project context changes
* Fix frontend React Testing Library tests for project context changes
* Remove redundant code
* Fix some project types in tests
* Remove unused import and fix a type
* Throw an error if updating the project in the project context before joining the project
* Fix some review panel tests
* Remove unused imports
GitOrigin-RevId: 2f0c928b651f387aa980c29aef7d1ba0649790a7
2025-07-10 08:06:31 +00:00
David
74063b14e0
Merge pull request #26909 from overleaf/dp-eq-preview-presentation-mode
...
Prevent codemirror tooltips appearing on top of pdf preview
GitOrigin-RevId: 0c6ce15cd91b4958674fbc247bcd27ce5778f7fc
2025-07-10 08:05:34 +00:00
Tim Down
132ccbc4cc
Merge pull request #26583 from overleaf/td-editor-scope-values-to-context
...
Move scope values starting with `editor.` to contexts
GitOrigin-RevId: 7ca349ceff002228cf4e931c644c8c386eb6c597
2025-07-09 08:05:15 +00:00
Antoine Clausse
07b1701b72
[web] Convert EditorProviders and some test files to Typescript ( #26512 )
...
* Rename files to tsx
* Update types
* Remove props that aren't typed
* Add `LayoutContextOwnStates`
* Use `LayoutContextOwnStates`
* Ignore ts errors about `SocketIOMock`
* Address comments: remove `satisfies`, update `BroadcastChannel` fixture
* Add types to `makeEditorOpenDocProvider`. Update `openDocId`->`currentDocumentId`
* misc.
* Type sockets as `SocketIOMock & Socket`
* Fix remaining typing errors
* Fix type of `ideReactContextValue`
GitOrigin-RevId: 2734ac707517d56c452b0bf06ea3438f947a64be
2025-07-07 08:05:40 +00:00
Antoine Clausse
09a534f48b
[web] Move scopes permissionsLevel, permissions and hasLintingError to React context ( #26607 )
...
* Move `hasLintingError` from scope to react state
* Move `permissionsLevel` to IdeReactContext states
* Get `permissionsLevel` from `useIdeReactContext()`
* Set `permissionsLevel` in mocked `IdeReactProvider`
* Replace `permissions` scope by React state
* Fixup `permission` changes
* Remove redundant type
GitOrigin-RevId: 6203c61f9ac429789624196bf67e508310f4577f
2025-07-07 08:05:36 +00:00
Antoine Clausse
40136785dd
[web] Move pdf.* scopes to react states ( #26599 )
...
* Move `pdf.logEntryAnnotations` to react state
* Remove unused scope `pdf.downloadUrl`
* Remove unused scope `pdf.url`
* Move `pdf.uncompiled` to react state
* Move `pdf.logEntries` to react state
* Remove `pdf` from `mockScope`
* Fix test: "renders annotations in the gutter"
GitOrigin-RevId: bf1d0ec30cc0ffcc1177871651483c296ed08baf
2025-07-03 08:04:58 +00:00
Tim Down
904fac958d
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
3b65a674d0
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
9d267f0803
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
4fd9c6fd18
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
9e189e7d59
[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
494f0a4b1a
[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
3ba002460e
[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
dc252fe772
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
62714d995d
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
db98f5132b
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
da449f9f5f
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
c450094659
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
9b27ed4798
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
b8e391c005
Handle undefined user features in UserFeaturesProvider
...
GitOrigin-RevId: 70841809f691e9f20591bdf1ea05c510a44892af
2025-05-22 08:07:11 +00:00
David
0b9cb185fa
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
b375b13950
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
50a5c7984d
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
4847c83cb8
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
69d99079b1
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
6c96c70b28
Remove the full-project-search split test ( #25444 )
...
GitOrigin-RevId: b36c1c81152694547dcf044cfb2cb0f511bfdc22
2025-05-14 08:06:31 +00:00
Jimmy Domagala-Tang
732b365683
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
8d940ad841
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
82e5b2c5d7
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