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
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
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
Antoine Clausse
4a8b79080b
[storybook] Update Storybook and add a control for BS3/BS5 ( #20948 )
...
* [storybook] Update Storybook to version 8.3.5
* [storybook] Run storybook with `--no-open`. Fixes xdg-utils issue
* [storybook] Create decorator for BS3/BS5
* [storybook] Add `bsVersionDecorator` to stories
* [storybook] Fix bugs in stories
* [storybook] Fixup `useMeta` type. Use `DeepPartial`
* [storybook] Fix types
GitOrigin-RevId: 48c0f0fefb1ab2d4863ab59051b900b1908a613c
2024-10-14 11:07:40 +00:00
Liangjun Song
3f1edfc1c9
Merge pull request #19954 from overleaf/ls-access-token-gradual-rollout-cleanup
...
Update git bridge modal for pw auth deprecation
GitOrigin-RevId: 2e764922bf350ddcba29bf9f3baa220ed1f48e40
2024-08-26 08:05:15 +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
Jakob Ackermann
9daa8f5d98
Merge pull request #15040 from overleaf/jpa-js-to-jsx
...
[web] rename all the JSX files to .jsx/.tsx
GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
2023-09-29 08:04:29 +00:00
Miguel Serrano
51223315e4
Merge pull request #13164 from overleaf/msm-email-limit
...
[web] limit user email addresses to 10
GitOrigin-RevId: 038214cc921d86a407391e6c82fa9cd16a7f9646
2023-05-29 08:04:04 +00:00
Miguel Serrano
27c2d1c16e
[web] Personal Access Token Settings UI ( #13040 )
...
* [web] Personal Access Token Settings UI
* [web] Add Personal Access Token Settings UI to settings page
* [web] Added `personal-access-token-settings` unit tests
GitOrigin-RevId: 353b2f1a2b57c3292554f129be6cbb4f8f8382f8
2023-05-17 09:28:01 +00:00
Timothée Alby
666c2c3b47
Merge pull request #8178 from overleaf/ta-settings-reconfirmation
...
[SettingsPage] Add Reconfirmation Prompt
GitOrigin-RevId: 2e03ba7f459b32faf6d66f21ba692ca54f62a320
2022-06-01 08:03:53 +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
Timothée Alby
5bc28ffa8c
Merge pull request #8211 from overleaf/ii-settings-ts-storybook-fixes
...
[web] Fix TS issues in stories
GitOrigin-RevId: 093102351c2ca3d4bf05e6de2ce0dda55d421df1
2022-05-31 08:04:22 +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
7c243c6c50
Merge pull request #7975 from overleaf/ta-settings-fixes-6
...
[SettingsPage] Small Fixes 6
GitOrigin-RevId: 19ad9a195a401909ac3dcc2be79d380cb61078da
2022-05-19 08:03:54 +00:00
Alf Eaton
d91ee50762
Standardise scope/context usage in Storybook stories ( #7842 )
...
GitOrigin-RevId: 109a4357fc3b083ffbd3af5b8c98acf0f655f297
2022-05-17 08:04:12 +00:00
Timothée Alby
cb065e7f12
Merge pull request #7820 from overleaf/msm-settings-leavers-survey
...
[Settings] Institutional Leavers Survey
GitOrigin-RevId: 1774af7fc4bb90cb39c9fc188323c44a1256bb3d
2022-05-17 08:04:00 +00:00
Timothée Alby
920a5921c7
Merge pull request #7883 from overleaf/ii-institution-autocomplete
...
Institution autocomplete
GitOrigin-RevId: f0a42794ce9071ec7c0c5c2c4d499e8a027811f8
2022-05-17 08:03:42 +00:00
Timothée Alby
4b87568e4f
Merge pull request #7810 from overleaf/ta-settings-intermediate-pages
...
[SettingsPage] Github and Dropbox Linking Flow Improvements
GitOrigin-RevId: 4fd69e7e3a8989b2478299751582007635f9e0b0
2022-05-17 08:03:29 +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
ilkin-overleaf
c807bedb65
Merge pull request #7841 from overleaf/ii-refactor-add-email
...
Refactor add email section
GitOrigin-RevId: 41de440caaf3baf43673c4a5f07a18b990f28c7b
2022-05-12 08:03:29 +00:00
ilkin-overleaf
85f731110c
Merge pull request #7786 from overleaf/ii-departments-override
...
Override default departments
GitOrigin-RevId: 23061bc8c083bb8099ca62bd0cdb3c796e49979d
2022-05-02 08:03:43 +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
Miguel Serrano
23d1bfd11e
[Settings] Link SSO email ( #7778 )
...
* [Settings] Link SSO email
GitOrigin-RevId: c46ed1709ceedd74df52e02a87f22614d024afea
2022-04-28 08:04:43 +00:00
Timothée Alby
e5051bcd1d
Merge pull request #7765 from overleaf/ii-add-email-ui-affiliating-with-existing-institution
...
Add email with existing and non existing institution
GitOrigin-RevId: 331bc06f0ea289a82b403a910491e233f4eda4bb
2022-04-28 08:03:16 +00:00
Timothée Alby
3c124667ba
Merge pull request #7751 from overleaf/ta-settings-misc-section-split
...
[SettingsPage] Split Misc Section
GitOrigin-RevId: b6fc60c571dfaf3aec542f3df8dc826a0ba3ab58
2022-04-27 08:05:08 +00:00
Miguel Serrano
5ed9987345
[Settings] Autocomplete input for Add Email Form ( #7747 )
...
* [Settings] Autocomplete input for Add Email Form
* Applied PR Feedback
GitOrigin-RevId: 27d2ef97deb836e92283e89675dfa3866f44904f
2022-04-27 08:04:10 +00:00
Timothée Alby
b289afe23c
Merge pull request #7725 from overleaf/ta-settings-fixes
...
[SettingsPage] Misc Fixes
GitOrigin-RevId: 56f58d2bb5830f7e0584a83c98efc9989ae2bd42
2022-04-26 08:04:18 +00:00
Timothée Alby
bb59627db3
Merge pull request #7697 from overleaf/msm-sso-flow-alerts
...
[Settings] SSO Flow Alerts
GitOrigin-RevId: fc89c86a6681b27e86bb6bf12f8bee51eb25aa8d
2022-04-26 08:04:05 +00:00
Timothée Alby
146a207fd1
Merge pull request #7723 from overleaf/ta-settings-refactor
...
[SettingsPage] Refactor Linking Section
GitOrigin-RevId: 49aa27cdcb3669c59c9a9c46edd3249cee876dd0
2022-04-26 08:03:59 +00:00
Timothée Alby
0c2c3bff8b
Merge pull request #7711 from overleaf/ta-misc-section
...
[SettingsPage] Add Misc Section
GitOrigin-RevId: a4a00c6b2bb920a0c0c6665f30a9657a6e89bc8f
2022-04-25 08:05:19 +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
ilkin-overleaf
a8fdf6269e
Merge pull request #7481 from overleaf/ta-leave-modal-no-password
...
[DeleteAccount] Handle Password-Less Users
GitOrigin-RevId: b7d03d26d43b9ab7f50a199d9aabd226ac79972d
2022-04-11 08:03:45 +00:00
ilkin-overleaf
d50271c1e9
Merge pull request #7225 from overleaf/ta-leave-modal
...
[DeleteAccount] Create Modal with Form
GitOrigin-RevId: 611f08c7253f59d91c6937b79c80a386b9d21ccd
2022-04-11 08:03:36 +00:00