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