Tim Down
9c16a85295
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
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
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
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
Rebeka Dekany
b7032e925f
Storybook for the Modal component ( #26798 )
...
GitOrigin-RevId: 679935722a8b8a96c55f60be16c0ac34f6e6fbcc
2025-07-04 08:05:26 +00:00
Alexandre Bourdin
36c4c65609
Merge pull request #26683 from overleaf/ab-update-survey-form
...
Update survey form and preview + support custom button CTA
GitOrigin-RevId: 2b519ab1da1c8e7897b3135956f80619f4e901b4
2025-07-03 08:05:26 +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
e6d09ca748
[web] Fix Editor Stories ( #26535 )
...
* Fix storybook stories
* Add `chat` to `ol-capabilities` in Storybook
GitOrigin-RevId: 0816c82170ebc3bfe9ca2d7f02766364c693365a
2025-06-25 08:05:20 +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
andrew rumble
4960569648
Remove unused full arguments
...
As distinct from removing destructured props.
GitOrigin-RevId: d02ad8d36fb532559ed2899268d7b699f2f2fa37
2025-06-11 08:05:46 +00:00
andrew rumble
eb60d364f6
Fix instances of ...rest filtering
...
GitOrigin-RevId: 9f2889b08ffed20466d7022a5aba69d3e87c5ed9
2025-06-11 08:05:42 +00:00
Kristina
7a449f4686
Merge pull request #26014 from overleaf/kh-remaining-references-to-recurly-fields
...
[web] update remaining references to `recurlyStatus` and `recurlySubscription_id`
GitOrigin-RevId: f5e905eba598cfcd146803c6ccc36a2304021544
2025-06-09 08:05:17 +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
Eric Mc Sween
f11ea06c1a
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
Antoine Clausse
f7b6246d41
[web] Use 6-digits verification in project-list notifications (bis) ( #25847 )
...
* Pull email context outside of `ResendConfirmationCodeModal`
* Use `loading` prop of button instead of deprecated Icon
* Swap notification order to clarify priority (no change in behaviour)
* Replace confirmation link action by confirmationCodeModal, and simplify code
* Change to secondary button variant in the Notification
* Display errors within the modal
* Increase ratelimit for resend-confirmation
* Copy changes
* Add stories on email confirmation notifications
* Fix other Notification stories
* Update tests
* Update services/web/frontend/js/features/settings/components/emails/confirm-email-form.tsx
Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com>
* Remove placeholder on 6-digit code input
---------
Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com>
GitOrigin-RevId: dad8bfd79505a2e7d065fd48791fd57c8a31e071
2025-05-28 08:05:01 +00:00
Antoine Clausse
e0f3bea9ad
[web] De-capitalize english translations ( #24123 )
...
* Create decapitalize.sh script
* Remove `text-capitalize` classes, rely on translations instead
* `Account Linking` -> `Account linking`
* `Account Settings` -> `Account settings`
* `Add Affiliation` -> `Add affiliation`
* `Add Email` -> `Add email`
* `Add Files` -> `Add files`
* `Add to Dictionary` -> `Add to dictionary`
* `All Projects` -> `All projects`
* `All Templates` -> `All templates`
* `Archive Projects` -> `Archive projects`
* `Archived Projects` -> `Archived projects`
* `Auto Compile` -> `Auto compile`
* `Back to Subscription` -> `Back to subscription`
* `Blank Project` -> `Blank project`
* `Change Password` -> `Change password`
* `Change Project Owner` -> `Change project owner`
* `Clear Sessions` -> `Clear sessions`
* `Company Name` -> `Company name`
* `Compile Error Handling` -> `Compile error handling`
* `Compile Mode` -> `Compile mode`
* `Compromised Password` -> `Compromised password`
* `Confirm Affiliation` -> `Confirm affiliation`
* `Confirm Email` -> `Confirm email`
* `Connected Users` -> `Connected users`
* `Contact Sales` -> `Contact sales`
* `Contact Support` -> `Contact support`
* `Contact Us` -> `Contact us`
* `Copy Project` -> `Copy project`
* `Delete Account` -> `Delete account`
* `Emails and Affiliations` -> `Emails and affiliations`
* `Git Integration` -> `Git integration`
* `Group Settings` -> `Group settings`
* `Link Accounts` -> `Link accounts`
* `Make Primary` -> `Make primary`
* `Mendeley Integration` -> `Mendeley integration`
* `Papers Integration` -> `Papers integration`
* `Project Synchronisation` -> `Project synchronisation`
* `Sessions Cleared` -> `Sessions cleared`
* `Stop Compilation` -> `Stop compilation`
* `Update Account Info` -> `Update account info`
* `the Sales team` -> `the sales team`
* `your Group settings` -> `your group settings`
* `Zotero Integration` -> `Zotero integration`
* Update decapitalize.sh
* Decapitalize some translations
* `Example Project` -> `Example project`
* `New Project` -> `New project`
* `New Tag` -> `New tag`
* `Trashed Projects` -> `Trashed projects`
* `Upload Project` -> `Upload project`
* `Your Projects` -> `Your projects`
* Revert "Create decapitalize.sh script"
This reverts commit 8c79f367096c206c704c7c01e3572a18f3961d5e.
* Revert changes to stories
* Fix tests
* `Contact us of` -> `Contact us if`
* Make `Contact us` bold in tex files
* `sales team` -> `Sales team`
* `Link accounts and Add email` -> `Link accounts and add email`
* `Make Private` -> `Make private`
* `contact support` -> `contact Support`
* Make `Make primary` tests case sensitive
* Use `add_email` translation string
* Revert changes to non-english locales
* Remove redundant `Account settings` translation
* `New project Name` -> `New project name`
GitOrigin-RevId: 675c46f96ddbf3d259a8d723fed62aa4a7ed40b7
2025-05-22 08:07:46 +00:00
Mathias Jakobsen
8a1cdab27e
Merge pull request #25755 from overleaf/mj-ide-collaborators-look
...
[web] Align online user design to Figma
GitOrigin-RevId: 89e09056558d98a57d3c1e5a8409476530784b26
2025-05-22 08:06:55 +00:00
Tim Down
5c4cb50628
Merge pull request #24988 from overleaf/td-bs5-upgrade-and-rename
...
Apply minor upgrades to Bootstrap 5 and react-bootstrap
GitOrigin-RevId: eb013f38515ebd4b9572d139f00841aca344e3c6
2025-05-16 08:05:28 +00:00
Tim Down
7abafb01ea
Merge pull request #23940 from overleaf/td-react-18
...
Upgrade to React 18
GitOrigin-RevId: 9b81936e6eea2bccd97fe5c2c5841f0b946371b8
2025-05-02 08:05:29 +00:00
Alf Eaton
c732a02b38
Use toast notifications for SyncTeX errors and handle missing file errors ( #24579 )
...
GitOrigin-RevId: 88c6658ff0d11fdb43cef19c48b542a3b2206666
2025-04-28 08:05:42 +00:00
Alf Eaton
c6ac06b51c
Start adding client-side word count ( #24892 )
...
GitOrigin-RevId: 6c17d7bf7095794c003e17939a8302fc6b059262
2025-04-28 08:05:38 +00:00
Antoine Clausse
b901bb6c75
[web] Update fetch-mock
to version 12 ( #24837 )
...
* Update fetch-mock to version 12
* Replace `fetchMock.done` by `fetchMock.callHistory.done`
* Replace `…Mock.called` by `…Mock.callHistory.called`
* Replace `fetchMock.reset` by `fetchMock.hardReset`
* Replace `fetchMock.restore` by `fetchMock.hardReset`
* Replace `fetchMock.resetHistory` by `fetchMock.clearHistory`
* Replace `fetchMock.calls` by `fetchMock.callHistory.calls`
* Replace `fetchMock.flush` by `fetchMock.callHistory.flush`
* Update tests for fetch-mock version 12
See https://www.wheresrhys.co.uk/fetch-mock/docs/Usage/upgrade-guide
* Update stories for fetch-mock version 12
* Remove `overwriteRoutes` option
* Add `fetchMock.spyGlobal()` to storybook
* Remove deprecated `sendAsJson` param
* Replace `fetchMock.hardReset()` by `fetchMock.removeRoutes().clearHistory()`
* Fixup fetch-mock in storybook:
Call `mockGlobal` inside the hook, call `removeRoutes` and `unmockGlobal` on cleanup
Behaviour can be tested by navigating between
https://storybook.dev-overleaf.com/main/?path=/story/editor-ai-error-assistant-compile-log-entries--first-log-entry
https://storybook.dev-overleaf.com/main/?path=/story/editor-ai-error-assistant-compile-log-entries--rate-limited
https://storybook.dev-overleaf.com/main/?path=/story/project-list-notifications--project-invite
https://storybook.dev-overleaf.com/main/?path=/story/project-list-notifications--project-invite-network-error
And clicking the buttons
GitOrigin-RevId: 35611b4430259e4c21c3d819ad18b2e6dab66242
2025-04-17 08:06:24 +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
Rebeka Dekany
562ef81389
Cleanup Bootstrap 3 code in the Account settings page ( #24058 )
...
* Remove the Bootstrap 5 version utilities
* Remove Account settings LESS stylesheet and unused styles
* Prefer using the OLFormText wrapper component instead of FormText
* Remove the Bootstrap 3 version stories
* Replace Font Awesome icons to Material icons
* Fix the heading hierarchy
* Cleanup unused translation
* Restore ellipsis to the text of two loading spinners
* Add loading button tests back and add some button loading labels
---------
Co-authored-by: Tim Down <158919+timdown@users.noreply.github.com>
GitOrigin-RevId: 283a9167c8c78bf0fe5062840ded6917dcd6263b
2025-03-24 10:49:33 +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
Alf Eaton
b8d74c6ae0
Remove 'review-panel-redesign' split test and old code ( #24235 )
...
GitOrigin-RevId: 1f3d4a9a51429591a82391a9bee3cfdf226bc9c8
2025-03-24 10:48:15 +00:00
Alf Eaton
2147f1d53d
Remove Bootstrap 3 code from IDE page components ( #23061 )
...
GitOrigin-RevId: b41aff10672bf96e892de0be396a69eb25e2443b
2025-03-07 09:05:45 +00:00
Alf Eaton
8ca5360454
Reapply "Increase the length of unsaved doc time before the editor is locked" ( #23723 )
...
* Reapply "Increase the length of unsaved doc time before the editor is locked (#23431 )"
This reverts commit d0efca398e59ca488c530ee9ec5ca76f29843679.
* Use pendingOpCreatedAt if inflightOpCreatedAt isn't set
GitOrigin-RevId: b3301d7cc1554215a4ba569537bd47beeefde20f
2025-02-20 09:06:31 +00:00
Alf Eaton
432bbe0db8
Merge pull request #23714 from overleaf/ae-revert-unsaved-docs
...
Revert "Increase the length of unsaved doc time before the editor is locked"
GitOrigin-RevId: 0f2d257a55ebc3353ded2b10d505bfdb2e85f402
2025-02-20 09:05:53 +00:00
Alf Eaton
f40118e58b
Increase the length of unsaved doc time before the editor is locked ( #23431 )
...
* Use opInflightSince to measure unsaved doc time
* Use performance.now() for lastAcked timestamp
* Use inflightOpCreatedAt
* Increase MAX_UNSAVED_ALERT_SECONDS to 15
* Increase MAX_UNSAVED_SECONDS to 30
* Increase FATAL_OP_TIMEOUT to 45000
* Convert "Connection lost" modal to a notification
GitOrigin-RevId: 2d4233723620fd03ce6d6c5795c48c33c0b2f92c
2025-02-20 09:05:20 +00:00
MoxAmber
420c3881c2
Merge pull request #23503 from overleaf/as-compile-timeout-paywall-primary
...
[web] Create UpgradePrompt paywall component
GitOrigin-RevId: 591eaae0c179c7419f8ec93284cebb3ecfc52154
2025-02-14 09:04:07 +00:00
David
1d648f9755
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
Tim Down
3082e4c5cc
Merge pull request #23220 from overleaf/td-bs5-paused-plan-remove-bs3
...
Remove Bootstrap 3 styles from paused plan widget
GitOrigin-RevId: 1f04ab5c356f60330a9c5266b81de114dd81f943
2025-02-10 09:05:01 +00:00
David
bd76193eb5
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
9854d37916
Minimise use of ide context provider ( #23308 )
...
GitOrigin-RevId: 468b8d4b33925bdb97bd46d2c4e7acb969f3d82b
2025-02-07 09:05:05 +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
Jakob Ackermann
8df7f6772c
[web] close connection permanently when opening out-of-sync modal ( #23148 )
...
* [web] close connection permanently when opening out-of-sync modal
* [web] disable generic forceDisconnected behavior for out-of-sync modal
* [web] hide "disconnected" banner when displaying out of sync modal
GitOrigin-RevId: 133b3e24d94279917298ce7fd5d0a76da2265512
2025-02-03 09:05:34 +00:00
Alf Eaton
71ab3a41ed
Remove ColorManager ( #22974 )
...
GitOrigin-RevId: 32cb6fd599345eaf8e474553da5c6d3080575ee8
2025-01-29 09:04:48 +00:00
Jakob Ackermann
45a5d090d9
[web] add external 15s heartbeat to socket.io connection ( #22853 )
...
* [web] add external 15s heartbeat to socket.io connection
* [web] extend debugging context for client errors
- include performance.now() timestamp for correlating other timings
- include connectionState, especially for new externalHeartbeat detail
- include spellCheckLanguage to check on client-side spelling impact
* [web] remove unnecessary hook dependency
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
* Refactor externalHeartbeat
* Add connectionManager to context
* Clear the interval earlier, and on connect
* [web] refactor handling of socket debugging info
* [web] add split-test for external socket heartbeat
* [web] fully remove connectionManager from connection context
---------
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: fbebe64f8aa207eb4fd4a8f27d522d1cac35f9d4
2025-01-28 09:05:12 +00:00
Alf Eaton
604471bfe9
Improve types for window.metaAttributesCache ( #22983 )
...
GitOrigin-RevId: cc962bf7eeaac525267ba04080889b0d58051914
2025-01-23 09:05:14 +00:00
Rebeka Dekany
84deec4e5a
Merge pull request #22993 from overleaf/rd-searchbar-button-fix-migration
...
[web] Fix close button alignment of search bar
GitOrigin-RevId: ef6761f6f068090d8cbf7e8922b257bd499ee5c3
2025-01-21 09:06:15 +00:00
Alf Eaton
2fbb4615f9
Convert utility functions to TypeScript ( #22658 )
...
* Convert event-tracking to TypeScript
* Convert local-storage to TypeScript
* Convert mapSeries to TypeScript
* Convert SessionStorage to TypeScript
* Convert account-upgrade to TypeScript
* Convert isValidTeXFile to TypeScript
* Convert date functions to TypeScript
* Convert EventEmitter to TypeScript
* Convert isNetworkError to TypeScript
* Convert webpack-public-path to TypeScript
* Convert displayNameForUser to TypeScript
GitOrigin-RevId: 79c5a2d1101fcd520f3116f0f4af29d974189d94
2025-01-16 09:05:36 +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
David
e72a3cbc28
Merge pull request #22297 from overleaf/dp-bs5-dropdown-description-icon
...
Fix display of leading icons in dropdown items with a description
GitOrigin-RevId: bdb7bca62abef9d599a23364656b32599a909a90
2024-12-10 09:04:39 +00:00
Tim Down
b3edd2b6c6
Merge pull request #22288 from overleaf/td-history-dropdown-layout-fix
...
Fix history dropdown layout issue in Bootstrap 3
GitOrigin-RevId: 85709eaa45fd496128afb95738841894c5d211dd
2024-12-04 09:04:51 +00:00
Alf Eaton
a82952f9df
Show deprecated browser message to Safari 14 ( #22124 )
...
GitOrigin-RevId: 92ba1a900f990eb8ab20870f0909816a07a5af9c
2024-12-02 09:05:13 +00:00