Antoine Clausse
|
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 |
|
Alf Eaton
|
fb0cfbe0bb
|
Add more detail to word count UI (#25400)
GitOrigin-RevId: 3521f2ea03332e46ef1bac634ce0650cdce01249
|
2025-05-14 08:06:40 +00:00 |
|
Alf Eaton
|
c6ac06b51c
|
Start adding client-side word count (#24892)
GitOrigin-RevId: 6c17d7bf7095794c003e17939a8302fc6b059262
|
2025-04-28 08:05:38 +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
|
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 |
|
Alf Eaton
|
9f969d07e0
|
Delete unused PDF-related code (#6334)
* Remove new logs UI code
* Remove unused preview components
* Move metrics file
* Remove Angular PDF controllers
* Move the service worker util functions
* Remove the ide/pdfng folder
* Remove vendored pdf.js
* Remove showNewPdfPreview
* Use mockCompile
* Remove split test code
GitOrigin-RevId: 723b7440c62cda51f6ad8bb9c691900882166d21
|
2022-03-16 09:03:04 +00:00 |
|
Alf Eaton
|
1d55af6e75
|
Refactor WordCountModalController (#4747)
GitOrigin-RevId: d32d84a96743cd104f7d5fcd6ec66fc2c0b61c45
|
2021-09-15 08:03:29 +00:00 |
|
Alf Eaton
|
7c97f8ab6e
|
Switch to new JSX runtime (#4225)
* Use new JSX runtime and update Babel Node target
* Update .eslintrc
* Remove React imports
GitOrigin-RevId: 559de0267f8f2934c56a860ea8701bb522aa861a
|
2021-06-24 02:06:59 +00:00 |
|
Alf Eaton
|
2328dd1705
|
Add useAbortController hook (#4234)
GitOrigin-RevId: 731f86a2b07cd2c3189e6ca86bba9fbbc913f429
|
2021-06-24 02:06:45 +00:00 |
|
Alf Eaton
|
1be43911b4
|
Merge pull request #3942 from overleaf/prettier-trailing-comma
Set Prettier's "trailingComma" setting to "es5"
GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
|
2021-04-28 02:10:01 +00:00 |
|
Alf Eaton
|
1ebc8a79cb
|
Merge pull request #3495 from overleaf/ae-prettier-2
Upgrade Prettier to v2
GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
|
2021-04-15 02:05:22 +00:00 |
|
Alf Eaton
|
c8f139cced
|
Merge pull request #3707 from overleaf/ae-refactor-word-count-modal
Refactor "Word Count" modal
GitOrigin-RevId: 00561b5b3f8f161238321c440ecde67cd42ece1c
|
2021-03-06 03:04:42 +00:00 |
|
Alf Eaton
|
669c72ed2c
|
Merge pull request #3445 from overleaf/ae-wordcount-modal
Migrate word count modal to React
GitOrigin-RevId: cfb5beceec7ba3a992a808b9e7417170d580b392
|
2021-01-07 03:04:59 +00:00 |
|