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 |
|
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 |
|
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 |
|
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
|
cf2dfc6bf1
|
Merge pull request #7593 from overleaf/ta-settings-migration
[SettingsPage] Integration Branch
GitOrigin-RevId: 5a3c26b2a02d716c4ae3981e3f08b811ae307725
|
2022-04-25 08:05:12 +00:00 |
|