Simon Gardner and Copybot
d4fe9cf34b
Update unit tests for ActiveSubscription
...
GitOrigin-RevId: 181f5a097fff2fa31ed11d39b76f40c9a4b4ca31
2025-09-10 08:05:25 +00:00
Liangjun Song and Copybot
8f9a343004
Merge pull request #28226 from overleaf/ls-remove-leaver-survey-alert
...
Remove leaver survey alert
GitOrigin-RevId: 6dbeabaff8c73d2ce9e3e382da83ce8f2177668d
2025-09-09 08:06:48 +00:00
David and Copybot
657f3a36ba
Merge pull request #28120 from overleaf/dp-more-error-states
...
Add remaining pdf error states
GitOrigin-RevId: 4c0dd3fa105273eda5c9a010051a2cb60c0056c4
2025-08-28 08:06:04 +00:00
Rebeka Dekany and Copybot
74533fc401
Replace placeholders with labels ( #26811 )
...
* Replace placeholders for labels
* Remove redundant aria-label and update labels with `.visually-hidden`
* Change "Invite more members" to a label
* Fix helper text for group members and fix responsiveness
* Change error message to an error notification
* Use label and helper text instead of a placeholder
* Remove redundant label and use the placeholder text instead for the admin user searchbar
* Extract translations
GitOrigin-RevId: a504fda9779da82920b57c7b8aad38a8b027d09a
2025-08-26 08:05:02 +00:00
David and Copybot
76e23434ed
Merge pull request #28037 from overleaf/dp-additional-error-states
...
Add additional pdf error states in new editor
GitOrigin-RevId: a7e08652cb5ff23d2139106629f13aad20bd32a0
2025-08-22 08:05:22 +00:00
Rebeka Dekany and Copybot
996c0a2b31
Update Notification story with the offer type ( #27966 )
...
* Update notification story with the `offer` type
* Remove `.btn-sm` as buttons should be medium sized
GitOrigin-RevId: ec0cd09fda0126bce185265fdf1f05ca7ae414c9
2025-08-21 08:05:20 +00:00
Rebeka Dekany and Copybot
532f9b6549
Remove Bootstrap 3 related types ( #27959 )
...
* Remove bootstrap-5 folder and move tokens to foundations
* Remove unused `BsStyle` and `BsSize`
* Fix the size prop of the reference search modal
GitOrigin-RevId: 566ee519c50a39dd80bda475af40383ef8154a2c
2025-08-19 08:04:54 +00:00
ee8a9d9caf
Create Storybook guideline and add addon-designs to embed Figma ( #27310 )
...
* Add foundations and migrations docs
* Add storybook/addon-designs version 8.2.1
* Test Figma link
* Refactor Modal stories
* Create figmaDesignUrl
* Create foundations
* Create feature flags docs
* Create Storybook builds docs
* Add storybook/addon-designs version 8.2.1
* Test Figma link
* Add an example of Story with split-tests within the Storybook guidelines (#27260 )
* Add FormatCurrency demo in feature-flags.mdx
* Add syntax highlight to code samples
* Update stories with figmaDesignUrl
* Figma access token
* Use OLButton
* Hide control for children and footer
* Add primitive colors
* Use useSplitTest instead
* Update cloud builds docs with `storybook-push-trigger`
* Make Foundations the default story
---------
Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com >
GitOrigin-RevId: 0729759803f190d89cf543d087eea86265b725f1
2025-08-13 08:06:22 +00:00
David and Copybot
7b230eb8ed
Merge pull request #25598 from overleaf/dp-proptypes-misc
...
Convert HotkeysModal components to Typescript
GitOrigin-RevId: c2cf7a3a33afeb996650faa6e3ed91c4fe14ef1a
2025-08-12 08:06:35 +00:00
ilkin-overleaf and Copybot
222ecb55d6
Merge pull request #27641 from overleaf/ii-domain-capture-page
...
[web] Create domain capture page
GitOrigin-RevId: df16ba2cac683d315979be69f63e160ec402020b
2025-08-11 08:06:21 +00:00
Rebeka Dekany and Copybot
d751b88e6b
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
Mathias Jakobsen and Copybot
e27da3bfd8
Merge pull request #27640 from overleaf/mj-ide-compile-errors
...
[web] Handle premium timeout and running compilation in redesigned editor
GitOrigin-RevId: 8ed05c8b9c60e85605f374898b3176c7afa561a3
2025-08-08 08:06:52 +00:00
Mathias Jakobsen and Copybot
9b601774fc
Merge pull request #27608 from overleaf/mj-beta-colours
...
[web] Update beta badge colours
GitOrigin-RevId: ffa08940a3133e09f4b14d964ac58443ba5cf4e3
2025-08-08 08:06:47 +00:00
Antoine Clausse and Copybot
1cebef56f0
Remove endpoint /user/emails/send-reconfirmation ( #27423 )
...
GitOrigin-RevId: bd96d749175248cba83eb07c00dab7e7a9f819da
2025-07-30 08:06:38 +00:00
Antoine Clausse and Copybot
535a9774ef
[web] Remove the unused endpoint /user/emails/resend_confirmation ( #27416 )
...
* Remove the unused endpoint `/user/emails/resend_confirmation`
* Remove exported middleware `resendConfirmationEmail`
* Revert "Remove exported middleware `resendConfirmationEmail`"
This reverts commit 7989bf25465dbc9b68c9d1af0d64d1097a747b55.
GitOrigin-RevId: 8054c6f217a734881093f78599a7b2be29436793
2025-07-30 08:06:33 +00:00
Tim Down and Copybot
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 and Copybot
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 and Copybot
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 and Copybot
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 and Copybot
b7032e925f
Storybook for the Modal component ( #26798 )
...
GitOrigin-RevId: 679935722a8b8a96c55f60be16c0ac34f6e6fbcc
2025-07-04 08:05:26 +00:00
Alexandre Bourdin and Copybot
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 and Copybot
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 and Copybot
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 and Copybot
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 and Copybot
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 and Copybot
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 and Copybot
4960569648
Remove unused full arguments
...
As distinct from removing destructured props.
GitOrigin-RevId: d02ad8d36fb532559ed2899268d7b699f2f2fa37
2025-06-11 08:05:46 +00:00
andrew rumble and Copybot
eb60d364f6
Fix instances of ...rest filtering
...
GitOrigin-RevId: 9f2889b08ffed20466d7022a5aba69d3e87c5ed9
2025-06-11 08:05:42 +00:00
Kristina and Copybot
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 and Copybot
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 and Copybot
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
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 and Copybot
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 and Copybot
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 and Copybot
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 and Copybot
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 and Copybot
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 and Copybot
c6ac06b51c
Start adding client-side word count ( #24892 )
...
GitOrigin-RevId: 6c17d7bf7095794c003e17939a8302fc6b059262
2025-04-28 08:05:38 +00:00
Antoine Clausse and Copybot
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 and Copybot
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 and Copybot
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
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 and Copybot
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 and Copybot
b8d74c6ae0
Remove 'review-panel-redesign' split test and old code ( #24235 )
...
GitOrigin-RevId: 1f3d4a9a51429591a82391a9bee3cfdf226bc9c8
2025-03-24 10:48:15 +00:00
Alf Eaton and Copybot
2147f1d53d
Remove Bootstrap 3 code from IDE page components ( #23061 )
...
GitOrigin-RevId: b41aff10672bf96e892de0be396a69eb25e2443b
2025-03-07 09:05:45 +00:00
Alf Eaton and Copybot
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 and Copybot
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 and Copybot
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 and Copybot
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 and Copybot
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