Domagoj Kriskovic
d82dcc382a
Skip opening root document if delete originated from a file-restore ( #27992 )
...
* Skip opening root document if delete originated from a file-restore
* handle project-restore origin
* Refactor isFileRestore logic
GitOrigin-RevId: f2a34189140deb4e614d93e8d197b8a6a90c8f65
2025-08-27 08:05:25 +00:00
David
297ed66899
Merge pull request #27684 from overleaf/dp-teardown-labs
...
Cleanup editor-redesign labs experiment
GitOrigin-RevId: 7697736f3bada8d205bab98c03ba96a99734311a
2025-08-19 08:04:42 +00:00
David
dd42a3b4c7
Merge pull request #27811 from overleaf/dp-file-view-typescript
...
Convert file-view components and test files to typescript
GitOrigin-RevId: 277aa8fd4f3d06a322dc9d0b372eebefb26fd285
2025-08-14 08:05:43 +00:00
Rebeka Dekany
960eea7129
Bootstrap files and folders cleanup ( #27692 )
...
* Remove icons folder
* Create folders for badge, button, and dropdown components
* Remove Bootstrap 5 from test
* Rename `getBootstrap5Breakpoint` to `getBootstrapBreakpoint`
* Cleanup and update BS 5 comments
* Move components to the shared folder
* Rename `tooltips-bs5` to `tooltip`
* Remove `-bs5` suffix
* Fix path
* Delete BS3 version file
* Rename `_form_marketing-bootstrap-5` to `_form_marketing`
* Delete BS3 version file
* Rename `_contact_general_modal-marketing-bootstrap-5` to `_contact_general_modal-marketing`
* Delete BS3 version file
* Rename `_contact_modal-marketing-bootstrap-5` to `_contact_modal-marketing`
* Delete BS3 version file
* Rename `thin-footer-bootstrap-5` to `thin-footer`
* Delete BS3 version file
* Rename `language-picker-bootstrap-5` to `language-picker`
* Rename `fat-footer-react-bootstrap-5` to `fat-footer-react`
* Delete BS3 version file
* Rename `navbar-marketing-bootstrap-5` to `navbar-marketing`
* Rename `navbar-marketing-react-bootstrap-5` to `navbar-marketing-react`
* Delete BS3 version file
* Rename `layout-website-redesign-cms-bootstrap-5` to `layout-website-redesign-cms`
* Source format
* Fix path
GitOrigin-RevId: cf0f5db7c84cf545c69213dcc271d9ff17fe5db7
2025-08-11 08:06:16 +00:00
Jimmy Domagala-Tang
43c640ed59
Add event when the connection lost modal is shown for users who have internet, but doc saves aren't successful ( #25960 )
...
* adding naive event send for case where realtime is disconnected, but user has internet connection for events
* using reportError and moving ops length summation to getUnsavedOpsSize
GitOrigin-RevId: 7c1c8e31ddbaa21fbc299703c69cf07ab46df925
2025-08-06 08:05:34 +00:00
David
5423fb52d7
Merge pull request #27384 from overleaf/dp-drag-file-tree-outline
...
Allow file tree and outline to be expandable and collapsible by dragging
GitOrigin-RevId: e25f0d263b1446537cdb42ef52fe1c486e855773
2025-08-06 08:05:09 +00:00
Mathias Jakobsen
46cff13391
Merge pull request #27329 from overleaf/dp-editor-redesign-beta
...
Prepare editor redesign for beta release
GitOrigin-RevId: 584c0303f652640669234bd227780ed4f20b76c0
2025-08-01 08:05:42 +00:00
Rebeka Dekany
e1ee6d37b7
Improve landmarks on the Project dashboard and Editor pages ( #27401 )
...
* Improve landmarks for the Project Dasbhboard
* Improve landmarks for the IDE page
* Improve landmarks for the new redesigned IDE page
* Sort locales
* Fix typo OlButtonToolbar -> OLButtonToolbar
* Update project navbar translation
* Update labels
* Redundant main landmark
* Fix failing test
* Descriptive name for the rails tab
* Header should not be in a button
* Update translation to Account and help
* Update translation to Project categories and tags
* Add explanations
* Show landmark for the survey widget when it's rendered
* Suggestions for nav stretch/scroll/borders
* Source format
---------
Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com >
GitOrigin-RevId: d05a738e782d2edb229529aadf92b9004dfd973a
2025-07-29 08:05:16 +00:00
Antoine Clausse
338171c4de
Merge pull request #27363 from overleaf/revert-26751-rd-landmarks
...
[web] Revert "Improve landmarks on the Project dashboard and Editor pages"
GitOrigin-RevId: 4bf0bbb9466db4436df4a72dcc70c320263dd168
2025-07-24 08:05:48 +00:00
Rebeka Dekany
e1ba93db21
Improve landmarks on the Project dashboard and Editor pages ( #26751 )
...
* Improve landmarks for the Project Dasbhboard
* Improve landmarks for the IDE page
* Improve landmarks for the new redesigned IDE page
* Sort locales
* Fix typo OlButtonToolbar -> OLButtonToolbar
* Update project navbar translation
* Update labels
* Redundant main landmark
* Fix failing test
* Descriptive name for the rails tab
* Header should not be in a button
* Update translation to Account and help
* Update translation to Project categories and tags
* Add explanations
GitOrigin-RevId: 96712b37bb1306b552de510d9fd8ae890f24309f
2025-07-23 08:07:35 +00:00
Tim Down
8a75434552
Merge pull request #24030 from overleaf/td-bs5-remove-font-awesome
...
Remove Font Awesome in BS5
GitOrigin-RevId: 3ee9b136ac9ecda57ba9985d1da7d7a7e6b275e6
2025-07-18 08:05:06 +00:00
Tim Down
79b54b9ade
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
e11724799f
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
3b32c81410
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
12b3dcdfdc
[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
779e346cb1
[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
0725f0b5f3
Merge pull request #26586 from overleaf/td-file-view-error-reset
...
Reset file view loading and error state when switching between files
GitOrigin-RevId: 44be9bf71fe9541ed78db3421bf356997850e6ec
2025-07-02 08:05:57 +00:00
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
Mathias Jakobsen
eae43fdc3e
Merge pull request #26567 from overleaf/ae-modal-onconfirm
...
Remove onConfirm from modal props
GitOrigin-RevId: 96c6456a0e893aeb544f346c0de3cb2c207f40d4
2025-06-26 08:05:23 +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
485b8ff884
[web] Add compilation indicator favicon ( #25990 )
...
* Import changes from Hackathon
https://github.com/overleaf/internal/pull/24501
* Update compile status: allow errors
* Update favicons. Use the ones from Figma
* Optimize and reuse path from favicon.svg
* Clear status favicon after 5s on active tab
* Rename hook from useCompileNotification to useStatusFavicon
* Add tests
* Revert changes to favicon.svg
* Query favicon on document.head
GitOrigin-RevId: 3972b1981abaf6c80273e0ed5b1bc05eb51bd689
2025-06-24 08:05:15 +00:00
Miguel Serrano
177db2826c
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
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
andrew rumble
6ec0fd2ee2
Disable lint warnings for stubbed class
...
GitOrigin-RevId: bcee2d1ea4fcb5543fa31fd2174641e55d6c4d39
2025-06-11 08:06:00 +00:00
andrew rumble
6f0eb6901c
Remove unused full arguments
...
As distinct from removing destructured props.
GitOrigin-RevId: d02ad8d36fb532559ed2899268d7b699f2f2fa37
2025-06-11 08:05:46 +00:00
Eric Mc Sween
55a90dc221
Merge pull request #26209 from overleaf/em-multiple-edit-ops
...
Support multiple ops in the history OT ShareJS type
GitOrigin-RevId: fad1e9081ed1978de414c5130692d3b23fcd13d8
2025-06-10 08:06:13 +00:00
Mathias Jakobsen
bb298263b0
Merge pull request #26257 from overleaf/mj-ide-breadcrumbs-crash
...
[web] Avoid editor crash when breadcrumbs can't find open entity
GitOrigin-RevId: 7c7f198c82e102ee9f8e2a59ca1755c3550bdf37
2025-06-10 08:05:46 +00:00
Mathias Jakobsen
4236265982
Merge pull request #26133 from overleaf/mj-ide-keyboard-shortcuts
...
[web] Editor redesign: Add keyboard shortcuts to menu bar
GitOrigin-RevId: 8fe844389de70a919ba836d03f0390f585532bb1
2025-06-10 08:05:42 +00:00
Eric Mc Sween
6d43673d5f
Merge pull request #26128 from overleaf/em-no-tracked-deletes-in-cm
...
History OT: Remove tracked deletes from CodeMirror
GitOrigin-RevId: 4e7f30cf2ed90b0c261eaa4ba51a2f54fe6e3cef
2025-06-06 08:06:34 +00:00
Eric Mc Sween
266f2c47c0
Merge pull request #26041 from overleaf/em-history-ot-type-serialize
...
History OT type: operate on parsed EditOperations
GitOrigin-RevId: dbb35789736958d4ef398e566400d6e9a0e49e8b
2025-06-04 08:07:54 +00:00
Eric Mc Sween
d949b8f831
Merge pull request #25910 from overleaf/em-track-changes-sharejs
...
Track changes in the history OT sharejs doc
GitOrigin-RevId: 17365219f24a25790eac611dbde9681eb73d0961
2025-06-04 08:07:50 +00:00
Eric Mc Sween
8a1e5a3555
Merge pull request #25952 from overleaf/em-split-editor-facade
...
Split EditorFacade functionality for history OT (2nd attempt)
GitOrigin-RevId: 2bc6d6c54a9f336fd4a69f0eb548dd06b9f06f5f
2025-06-02 08:05:30 +00:00
Mathias Jakobsen
0827886060
Merge pull request #25955 from overleaf/mj-ide-editing-session
...
[analytics+web] Add editor redesign status to editing session segmentation
GitOrigin-RevId: 8f2a05a6851d41712a592952c18b845b77115f47
2025-05-30 08:05:35 +00:00
Eric Mc Sween
6d17c6e8b0
Merge pull request #25949 from overleaf/revert-25869-em-split-editor-facade
...
Revert "Split EditorFacade functionality for history OT"
GitOrigin-RevId: a55328e08776fa0f59071fca955ba73ef130984d
2025-05-28 08:05:30 +00:00
Eric Mc Sween
26300dea3b
Merge pull request #25869 from overleaf/em-split-editor-facade
...
Split EditorFacade functionality for history OT
GitOrigin-RevId: 1e415e1d058c0de0b27271a9a5d7208b4a8a689b
2025-05-28 08:05:26 +00:00
Eric Mc Sween
43586bcaee
Merge pull request #25825 from overleaf/em-accept-edit-operations
...
Accept all EditOperations in history-ot type
GitOrigin-RevId: b3bc710c92c4aa31dfeec16d422e42f0a6bb8cdb
2025-05-23 08:05:46 +00:00
Jakob Ackermann
98762a55c5
[history-ot] rename remaining history-v1-ot references to history-ot ( #25428 )
...
* [history-ot] rename remaining history-v1-ot references to history-ot
* [web] rename History-v1 OT -> History OT in admin panel
* [web] rename OT Migration -> History OT Migration in admin panel
GitOrigin-RevId: 103ce816d5320d6379d51009cdc08b8a71aa48e6
2025-05-20 08:06:46 +00:00
Tim Down
cb150a6043
Merge pull request #25502 from overleaf/td-chat-open-bug
...
Prevent chat opening by default for new user
GitOrigin-RevId: 260050c26f6b9dee7ea52284dadb7ed00ce9eddb
2025-05-13 08:08:11 +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
e54d3c3e19
[history-ot] initial implementation of using doc-level history-ot ( #25054 )
...
* [history-v1-ot] initial implementation of using doc-level history-v1-ot
* [web] fix advancing of the otMigrationStage
Use 'nextStage' for the user provided, desired stage when advancing.
Co-authored-by: Brian Gough <brian.gough@overleaf.com >
* [document-updater] document size check in editor-core
* [history-ot] rename history-v1-ot to history-ot and add types
* [history-ot] apply review feedback
- remove extra !!
- merge variable assignment when processing diff-match-match output
- add helper function for getting docstore lines view of StringFileData
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com >
* Revert "[document-updater] add safe rollback point for history-ot (#25283 )"
This reverts commit d7230dd14a379a27d2c6ab03a006463a18979d06
Signed-off-by: Jakob Ackermann <jakob.ackermann@overleaf.com >
---------
Signed-off-by: Jakob Ackermann <jakob.ackermann@overleaf.com >
Co-authored-by: Brian Gough <brian.gough@overleaf.com >
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com >
GitOrigin-RevId: 89c497782adb0427635d50d02263d6f535b12481
2025-05-08 08:05:44 +00:00
David
306b5d4f55
Merge pull request #25164 from overleaf/dp-editor-survey
...
Create Editor Survey
GitOrigin-RevId: dc11ef16c0a00aa846ac7a664dd88e9531e832f2
2025-05-02 08:05:47 +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
Tim Down
719fbe7847
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
Alf Eaton
12463ac08d
Use toast notifications for SyncTeX errors and handle missing file errors ( #24579 )
...
GitOrigin-RevId: 88c6658ff0d11fdb43cef19c48b542a3b2206666
2025-04-28 08:05:42 +00:00
Jakob Ackermann
ead78d49ea
[web] avoid accessing the sharejs snapshot directly ( #25037 )
...
* [web] avoid accessing the sharejs snapshot directly
* [web] limit API interface for sharejs types
GitOrigin-RevId: faece372128e4580376e32fa93aa8fedf1e02957
2025-04-24 08:05:15 +00:00
Domagoj Kriskovic
e508f11719
"default-visual-for-beginners" split test tear down ( #24759 )
...
GitOrigin-RevId: cdd6c8d3ffb60b9ae3e972f2267f1838cf720c83
2025-04-16 08:05:47 +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
Mathias Jakobsen
283f55b448
Merge pull request #24427 from overleaf/mj-command-registry
...
[web] Editor redesign: Add command registry
GitOrigin-RevId: c3d78d052f7e6e067de3247da8fe04329d8822ff
2025-04-07 08:04:40 +00:00
Alf Eaton
c8a13182ed
Avoid setting pendingOpCreatedAt for remote changes ( #24542 )
...
GitOrigin-RevId: 5d1684a743825cac23d486678b8f249cf0d152d8
2025-03-27 09:06:02 +00:00