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 |
|
Tim Down
|
c2da12939e
|
Merge pull request #24313 from overleaf/td-ac-bs5-frontend-tests
Update front-end tests to use Bootstrap 5
GitOrigin-RevId: abaa09f8c0639d64d6ade97468ab16204e5de97b
|
2025-03-24 10:48:20 +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 |
|
Thomas
|
52e6ceef67
|
Merge pull request #17898 from overleaf/tm-remove-twitter-login
Remove twitter login code and uninstall passport-twitter
GitOrigin-RevId: 928c877ef2a42d5881652cad7f9d563c7766fd36
|
2024-04-18 08:04:16 +00:00 |
|
Jessica Lawshe
|
d65bba566c
|
Merge pull request #17315 from overleaf/ab-accounts-settings-sso-status
[web] Show Group SSO linking status on the account settings page
GitOrigin-RevId: ae45e1bd7a90a672c5fb023e7f3e603a00e364e5
|
2024-03-12 09:03:43 +00:00 |
|
Jimmy Domagala-Tang
|
24261ac617
|
Merge pull request #16007 from overleaf/jdt-writeful-user-settings
Add Writeful to user settings
GitOrigin-RevId: 15b3dd47b96cdc8bf8002afe3ddc570b03a6065f
|
2023-12-08 09:04:45 +00:00 |
|
Timothée Alby
|
00fa5b2d96
|
Merge pull request #8162 from overleaf/ae-orcid-capital
Fix ORCID capitalisation
GitOrigin-RevId: 56136473482568e303570c9679a13e5d032d6d34
|
2022-05-27 08:04:22 +00:00 |
|
Timothée Alby
|
3580ec6db3
|
Merge pull request #8029 from overleaf/ta-settings-fix-7
[SettingsPage] Small Fixes 7
GitOrigin-RevId: 2716fe13af3f5f6b56d6bba47505fad75ba1adbf
|
2022-05-24 08:04:47 +00:00 |
|
Timothée Alby
|
426aaa8b4b
|
Merge pull request #7833 from overleaf/ta-settings-fixes-5
[SettingsPage] Small Fixes 5
GitOrigin-RevId: a0d02be246ff5128fa382bd7a9723f01377855b9
|
2022-05-17 08:03:36 +00:00 |
|
Timothée Alby
|
c043db0ed9
|
Merge pull request #7792 from overleaf/ta-settings-fixes-4
[SettingsPage] Wording and Error Handling
GitOrigin-RevId: 1e2445a68e0d32cbec558832892f2ce5a051d729
|
2022-05-17 08:03:23 +00:00 |
|
Miguel Serrano
|
14a22de754
|
Merge pull request #7779 from overleaf/ta-settings-fixes-3
[SettingsPage] Small Fixes 3
GitOrigin-RevId: 98accb3c53c802e83f2939e5c25d13fcf3b5e054
|
2022-04-28 08:04:49 +00:00 |
|