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 |
|
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
|
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
|
f375362894
|
Always use mockable location methods (#11929)
* Always use mockable location methods
* Add eslint rules for window.location calls/assignment
* Add useLocation hook
* Update tests
GitOrigin-RevId: eafb846db89f884a7a9a8570cce7745be605152c
|
2023-03-17 09:05:21 +00:00 |
|
Timothée Alby
|
1fe424631f
|
Merge pull request #8291 from overleaf/ta-email-emails-ui-tweaks
[SettingsPage] Emails UI Tweaks
GitOrigin-RevId: 352d52badb234ed27ae48c39c4367c633ac83424
|
2022-06-07 08:02:29 +00:00 |
|
ilkin-overleaf
|
e41315364d
|
Merge pull request #8226 from overleaf/ae-remaining-types
[web] Fix remaining strict type checks
GitOrigin-RevId: 69881c37938f88c7ea4a630f362712a804085bc8
|
2022-06-01 08:03:29 +00:00 |
|
Miguel Serrano
|
bce645b0f1
|
Merge pull request #8164 from overleaf/msm-add-disabled-state-link-accounts
[Settings] Disable "Link Account" buttons after click
GitOrigin-RevId: 528acdebe4812f1bf81fa70f1d9ce810ce5170c3
|
2022-05-31 08:04:46 +00:00 |
|
Miguel Serrano
|
adc88dc5ae
|
Merge pull request #8110 from overleaf/msm-emails-row-test
[Settings] `<EmailsRow/>` test
GitOrigin-RevId: d12d5a5f369f2abb6b296d200b04b8f85124175c
|
2022-05-27 08:03:30 +00:00 |
|