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
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
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
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
Miguel Serrano
04fa5366ce
Merge pull request #26070 from overleaf/msm-disable-dropbox
...
[web] Disable Dropbox Capability
GitOrigin-RevId: 5f91d2918bf3b88e52f4d27c828a4715f9b88629
2025-06-20 08:05:20 +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
Tim Down
5d78229e1e
Merge pull request #25093 from overleaf/td-upgrade-react-error-boundary-second-attempt
...
Upgrade react-error-boundary to version 5, second attempt
GitOrigin-RevId: 2b88334b66f0ace383211c147279ff88e9f956bb
2025-04-29 08:06:23 +00:00
Jakob Ackermann
39110d9da9
[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
Tim Down
28468e134c
Merge pull request #24660 from overleaf/td-bs5-remove-react-bootstrap-0
...
Remove react-bootstrap 0.33.1
GitOrigin-RevId: c320a6b18c576afdc0fd49559915d3d2f3a7a1ef
2025-04-10 08:04:50 +00:00
Tim Down
7168572e74
Merge pull request #24336 from overleaf/td-bs5-migrate-cypress-tests
...
Migrate some Cypress tests to Bootstrap 5
GitOrigin-RevId: a3de8680046c35f8cc1df8baef60981d8eb52580
2025-03-24 10:48:25 +00:00
Tim Down
c2da12939e
Merge pull request #24313 from overleaf/td-ac-bs5-frontend-tests
...
Update front-end tests to use Bootstrap 5
GitOrigin-RevId: abaa09f8c0639d64d6ade97468ab16204e5de97b
2025-03-24 10:48:20 +00:00
Mathias Jakobsen
dc0b214bb5
Merge pull request #22638 from overleaf/mj-reference-search-paywall
...
[web] Add paywall to W&C settings modal
GitOrigin-RevId: 388c7c14092ca0190dd532d126760c8f755c383f
2025-02-13 09:05:15 +00:00
Alf Eaton
36392832d5
Remove unused EventLog ( #23419 )
...
GitOrigin-RevId: 25e09466c2a16545436fd9c312431f78e68b3194
2025-02-07 09:04:32 +00:00
Alf Eaton
87186eb568
Standardise naming of openDocId
as openDocWithId
or currentDocumentId
( #23307 )
...
GitOrigin-RevId: d71b6d878188c7b916f02a3749976ecd96d648a3
2025-02-05 09:05:15 +00:00
Brian Gough
2ce82fabab
Merge pull request #22533 from overleaf/ar-only-use-history-for-blobs-when-enabled
...
[web] only use history for blobs when enabled
GitOrigin-RevId: 010983e9b29657d4c594e03945dca5700577bf0a
2025-01-10 09:05:32 +00:00
Alf Eaton
3ac1b48d10
Allow context providers to be overridden in ReactContextRoot ( #22631 )
...
* Allow providers to be overridden in ReactContextRoot
* Use ReactContextRoot in EditorProviders
* Use ReactContextRoot in ScopeDecorator
GitOrigin-RevId: bb6dab91f3fca843d7563ed812c4ea6f56fb28bb
2025-01-08 09:05:10 +00:00
Alf Eaton
1b2f5af1c0
Display current spell check language and option to change it ( #21138 )
...
GitOrigin-RevId: 87cf140a7e3e719125eb6d2df23d6c6bd6631fe8
2024-10-18 08:05:48 +00:00
Jakob Ackermann
577497b655
Merge pull request #19842 from overleaf/jpa-ro-mirror-on-client
...
[misc] add readonly mirror of full project content on the client
GitOrigin-RevId: 940bd93bfd587f83ca383d10fc44579b38fc3e88
2024-08-22 08:05:13 +00:00
Tim Down
e60885aa88
Merge pull request #19347 from overleaf/td-bs5-cypress-css
...
Move CSS loading in Cypress to individual test spec files
GitOrigin-RevId: 92bb5167cfa81b0bd54acc724efb23b397421ccb
2024-07-25 08:05:16 +00:00
David
c07d2f3fa2
Merge pull request #19528 from overleaf/dp-equation-preview
...
Equation Preview
GitOrigin-RevId: 98e71e5d2c1a83d6c9fa685eeee1f4b93a5a3da1
2024-07-25 08:05:04 +00:00
Alf Eaton
2d2746ef24
Streamline the project metadata context provider ( #19384 )
...
GitOrigin-RevId: 0b75635cb9141983827dfd0fa6a58b6182d47f22
2024-07-15 09:32:59 +00:00
Jakob Ackermann
aa480a2663
Merge pull request #18898 from overleaf/jpa-no-window
...
[web] migrate from window attributes to getMeta
GitOrigin-RevId: 3dcf1ab6b01155e5e4abeb3e78d0fa9053e055bc
2024-06-19 08:04:21 +00:00
Alf Eaton
c24ace801b
Remove Angular ( #17534 )
...
GitOrigin-RevId: 7a0d45e17d9905fa75569e2d19ca59caa4a41565
2024-06-06 08:04:09 +00:00
Jakob Ackermann
9c5eb9630b
Merge pull request #18222 from overleaf/jpa-socket-io-mock
...
[web] replace socket.io-mock with simple EventEmitter based interface
GitOrigin-RevId: 012e4263367a83e16efea3947f310a2de9a65279
2024-05-09 08:05:14 +00:00
Mathias Jakobsen
d7a4061486
Merge pull request #16397 from overleaf/mj-logparser-missed-error
...
[web] Stop wrapping potential errors into previous log lines
GitOrigin-RevId: 892fc19e2e7886afa3dc011315879fa992f94877
2024-01-08 09:04:35 +00:00
Mathias Jakobsen
1a6f3fc256
Merge pull request #16253 from overleaf/mj-human-readable-logs-fixes
...
[web] Fix incorrect error log parsing and imprecise package recommendations
GitOrigin-RevId: a0b9c6c51ebf680bb77be88167ab6d35eaa8fa70
2023-12-19 09:04:07 +00:00
Alf Eaton
c2b553e915
[ide-react] Improve file tree and outline components in the editor sidebar ( #16225 )
...
* Upgrade react-resizable-panels
* Add FileTreeOpenProvider
* Add OutlineProvider and OutlineContainer
* Convert Outline tests to Cypress
GitOrigin-RevId: afd9ae8190edf37642e36a4ffb331f1182c8982d
2023-12-18 09:03:53 +00:00
Alf Eaton
19a17060ab
Remove history-related Angular code ( #15932 )
...
GitOrigin-RevId: e4fafddd67909a0e709439ddbe560c66e2629bdb
2023-11-29 09:04:17 +00:00
Tim Down
38efea39f2
Merge pull request #15707 from overleaf/td-user-settings-context
...
Move user settings to a context
GitOrigin-RevId: 9a9d55dfee9f71cee323fe64d1442303ac7cfeb2
2023-11-22 09:04:39 +00:00
Tim Down
13f246a85e
Merge pull request #15342 from overleaf/td-remove-file-tree-manager-in-react
...
Remove use of FileTreeManager in React code
GitOrigin-RevId: f15bc9b4f84e0f65709b9850ed8cc5d3637efa7f
2023-10-27 08:03:10 +00:00
Tim Down
537673cdf6
Merge pull request #15415 from overleaf/td-scope-store-and-emitter-fixed
...
IDE scope store and emitter with fixed PDF URLs
GitOrigin-RevId: 9d33bad8a006bb55714878332f78932538dd8921
2023-10-25 08:05:07 +00:00
Jakob Ackermann
74c6085c55
Merge pull request #15412 from overleaf/revert-15280-td-scope-store-and-emitter
...
Revert "IDE scope store and emitter"
GitOrigin-RevId: bb764c66830e5e30806609b2834f918cf7784dd7
2023-10-25 08:04:17 +00:00
Tim Down
92a38e1311
Merge pull request #15280 from overleaf/td-scope-store-and-emitter
...
IDE scope store and emitter
GitOrigin-RevId: 9835d684db791937cd0bbc657228cb9112089b47
2023-10-25 08:03:55 +00:00
Tim Down
719da5fbd8
Merge pull request #15056 from overleaf/td-ide-connection-load
...
IDE page: connection manager and loading screen
GitOrigin-RevId: 2cbc8c09aeb36a14eae66da78b267c7a830fb71a
2023-10-17 08:03:13 +00:00
M Fahru
3324a14202
Merge pull request #15029 from overleaf/mf-remove-angular-settings-dependency-rename-project
...
[web] Remove angular settings dependency when renaming a project in editor top bar
GitOrigin-RevId: 45a8b71fc84135f5291217f613cc95aea7192c35
2023-09-29 08:04:33 +00:00
Jakob Ackermann
9daa8f5d98
Merge pull request #15040 from overleaf/jpa-js-to-jsx
...
[web] rename all the JSX files to .jsx/.tsx
GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
2023-09-29 08:04:29 +00:00
ilkin-overleaf
e5d6777211
Merge pull request #13628 from overleaf/ii-review-panel-migration-resolved-comments-entry
...
[web] Add resolved comments entries functionality
GitOrigin-RevId: f0a8365b00c0861be12347aeaf486f7c02faf8e5
2023-07-17 10:47:41 +00:00
Miguel Serrano
51223315e4
Merge pull request #13164 from overleaf/msm-email-limit
...
[web] limit user email addresses to 10
GitOrigin-RevId: 038214cc921d86a407391e6c82fa9cd16a7f9646
2023-05-29 08:04:04 +00:00
Miguel Serrano
b2a0fd13e6
[web] Git Bridge modal with Personal Access Token ( #13058 )
...
* [web] Git Bridge modal with Personal Access Token
* [web] Added `git-bridge-modal-tokens` unit tests
GitOrigin-RevId: 854ce83bba91b9d97afa950d49ce18f62970fb5b
2023-05-17 09:28:10 +00:00
Tim Down
70bae34bd8
Add paywall to React history view ( #12849 )
...
* Implement history view paywall
* Add tests and some CSS fallbacks
* Make additional faded version above paywall non-clickable
* Change isFaded to faded for consistency
* Remove unused import
* Add missing attribute
* SHow all labels in free tier
* Address review comments
* Change Boolean conversion
Co-authored-by: ilkin-overleaf <100852799+ilkin-overleaf@users.noreply.github.com>
* Make adding or deleting a label show up in version list again
* Refactor to use visibleUpdateCount rather than maintaining two separate update arrays
* Removed unused import
* Use data-testid instead on class
* Round gradient values
* Correct test selector
---------
Co-authored-by: ilkin-overleaf <100852799+ilkin-overleaf@users.noreply.github.com>
GitOrigin-RevId: a2b021f3f4d3b9eb1358edb2ee4aa7db1bc7240e
2023-05-02 19:44:39 +00:00
Alf Eaton
6175df9f95
Show preview for PDF image ( #11793 )
...
GitOrigin-RevId: 5c7dde42cdfcf9952e47487358f7e2b52658cc59
2023-02-17 09:04:35 +00:00
Mathias Jakobsen
a87d44ffdd
[cm6+rt] Add cypress tests for atomic decorations ( #11486 )
...
GitOrigin-RevId: c8bd264603dbb8eb5354d07f8d277010aeb9a2c0
2023-01-27 12:03:53 +00:00
Alf Eaton
cda947d1ac
Remove sysend dependency ( #10852 )
...
GitOrigin-RevId: c3d9601256af8720ab41264609cb5c5c810afbba
2023-01-10 09:04:37 +00:00
Mathias Jakobsen
38cc3394e3
Merge pull request #10793 from overleaf/mj-split-test-cleanup
...
Split test clean-up
GitOrigin-RevId: 7dd6178487022cbefcbc85797dacc3f3fbfa17e2
2022-12-21 09:04:04 +00:00
M Fahru
f27562eb12
Data handling for settings in editor left menu react migration ( #10470 )
...
- Importing SettingsController from the angular code, which enables post requests for every select menu and socket handler for compiler, texlive version, and main document select option
- New context for the data handling infrastructure between react and angular. The data is still located in the angular version, and I use the context only as a proxy to fetch/post new data.
GitOrigin-RevId: 59009bceb128d82969a2318e90036aacf79f9887
2022-11-30 09:04:32 +00:00