Commit graph

59 commits

Author SHA1 Message Date
Tim Down
1c820de200 Merge pull request #15610 from overleaf/td-ide-page-editor-events
React IDE page: hook up events

GitOrigin-RevId: 1121a30755fc600023f06925ca3eafa7a8e1ee14
2023-11-14 09:04:36 +00:00
Tim Down
537673cdf6 Merge pull request #15415 from overleaf/td-scope-store-and-emitter-fixed
IDE scope store and emitter with fixed PDF URLs

GitOrigin-RevId: 9d33bad8a006bb55714878332f78932538dd8921
2023-10-25 08:05:07 +00:00
Jakob Ackermann
74c6085c55 Merge pull request #15412 from overleaf/revert-15280-td-scope-store-and-emitter
Revert "IDE scope store and emitter"

GitOrigin-RevId: bb764c66830e5e30806609b2834f918cf7784dd7
2023-10-25 08:04:17 +00:00
Tim Down
92a38e1311 Merge pull request #15280 from overleaf/td-scope-store-and-emitter
IDE scope store and emitter

GitOrigin-RevId: 9835d684db791937cd0bbc657228cb9112089b47
2023-10-25 08:03:55 +00:00
Alf Eaton
23e2d9bf99 Close pop-up window and update UI after reference provider linking (#15106)
GitOrigin-RevId: 3c93491041170cd78c66bc0ab5db516749f9eded
2023-10-09 08:04:04 +00:00
Jakob Ackermann
1213709578 Merge pull request #14980 from overleaf/jpa-debug-console
[web] migrate frontend logging to debugConsole

GitOrigin-RevId: b03ff9030b03fff059738d2270bc4b4912e79f16
2023-09-28 08:04:12 +00:00
Alf Eaton
930cec2189 Calculate overflow when languageName or visual change (#13872)
GitOrigin-RevId: f2d200d0d34e810688defe78b8143829f095df9f
2023-07-19 08:04:20 +00:00
Davinder Singh
65b83f2272 Merge pull request #13488 from overleaf/ds-user-tabs-page
Admin panel - Users Tabs page react migration

GitOrigin-RevId: c0de37bf6bc6b54b41b2865039247b8bf65720d0
2023-07-17 10:40:45 +00:00
Mathias Jakobsen
af76768eb7 Merge pull request #13372 from overleaf/mj-captcha-add-email
[web] Add recaptcha to add-email

GitOrigin-RevId: 0540e0dbc3103dcaac87dd7fabeedbc5892c371c
2023-07-17 10:40:08 +00:00
Tim Down
80a5f4594e Merge pull request #13130 from overleaf/td-history-add-label-autofocus
History migration: Autofocus input in add label dialog

GitOrigin-RevId: b51187e735414cd4b027413dfe57a0ba332c7b1a
2023-05-26 08:04:04 +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
Alf Eaton
85fbded781 Improve the Rich Text toolbar (#11616)
GitOrigin-RevId: d1999be629ac048058ffd82004865728796a3feb
2023-02-07 09:04:39 +00:00
ilkin-overleaf
ea2af56f7b Merge pull request #11122 from overleaf/ii-rollback-some-ts-hooks-to-js
[web] Revert detach hooks from TS to JS

GitOrigin-RevId: c108fe219d472f0c0b745dc8648fd15375f0e083
2023-01-10 09:06:14 +00:00
ilkin-overleaf
d959dbc236 Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion
[web] Shared React hooks JS to TS conversion

GitOrigin-RevId: 0ccdebff236c7424b1a73cd7d6646a9d01a20eb1
2023-01-10 09:05:52 +00:00
ilkin-overleaf
4f35333a39 Merge pull request #9536 from overleaf/ii-adjustable-project-dashboard-panel
[web] Adjustable project dashboard sidebar

GitOrigin-RevId: 1007ecb896bbe215af28fa92d295201b2457aeef
2023-01-10 09:05:44 +00:00
Jakob Ackermann
618d41f623 Merge pull request #10316 from overleaf/mj-cm6-outline-debouncing
[cm6] Debounce EditorState in CM6 outline

GitOrigin-RevId: 759748f1d3dabbe22dc0cd2d3d989c973753442a
2022-11-08 09:04:25 +00:00
Mathias Jakobsen
a54b633726 Merge pull request #10111 from overleaf/mj-lezer-file-outline
[web] Parser backed file outline

GitOrigin-RevId: 0825f4887ba4dae24a14dd1880d07b791d0b4cd9
2022-11-04 09:04:33 +00:00
Alexandre Bourdin
171cd4f21c Merge pull request #9724 from overleaf/ab-tag-modals-autofocus
[web] Add autofocus to React dashboard tag modals

GitOrigin-RevId: 804fee108ab8e1c5bf97ade8032c4ea363baf7bb
2022-09-27 08:04:16 +00:00
Davinder Singh
e65ede1d6a Merge pull request #9572 from overleaf/ab-new-project-autofocus
[web] Autofocus on new project name input field

GitOrigin-RevId: 4e26b2b5b6d39df942dc8ed293d3e4212028e4b0
2022-09-16 08:04:34 +00:00
Alexandre Bourdin
a0fabee3b4 Merge pull request #9245 from overleaf/integration-project-dashboard-react-migration
[Integration branch] Project Dashboard React Migration

GitOrigin-RevId: 3c3db39109a8137c57995f5f7c0ff8c800f04c4e
2022-09-14 08:04:03 +00:00
Alf Eaton
d905863002 Merge pull request #8747 from overleaf/ae-error-boundary-fallback
Create a generic ErrorBoundaryFallback component

GitOrigin-RevId: 0c9200ddef2be3b90030a32eb8c36a59047cf2b4
2022-08-10 08:03:51 +00:00
Eric Mc Sween
3d0f464637 Merge pull request #8361 from overleaf/em-halt-on-error-events
Analytics events for "Stop on first error"

GitOrigin-RevId: cbdb054cdf031f0364390c36cc1c1865169f2cd4
2022-06-14 08:02:30 +00:00
Alf Eaton
910e07ca1c Add types (#8154)
GitOrigin-RevId: 41ee6b6873a01fbfedc41a884b9e3ebee47fc08f
2022-05-30 08:03:45 +00:00
Alf Eaton
5e08d5f505 Merge pull request #8074 from overleaf/ii-ts-strict-fixes-1
GitOrigin-RevId: b99c5c998de9cc36cffffaab5b318331b45e931d
2022-05-27 08:04:04 +00:00
Alf Eaton
309742c37b Merge pull request #8103 from overleaf/ae-state-hooks-types
Add types to scope state hooks

GitOrigin-RevId: 61f903120b84a1770b1047953deb3a76ccfc50f0
2022-05-25 08:11:00 +00:00
Timothée Alby
4209828a6a Merge pull request #7941 from overleaf/msm-use-async-typing-fix
Fix typescript errors related to `useAsync()` hook

GitOrigin-RevId: eacf7ec7e9c5da38ad88fde225ffedbfd1c2ff61
2022-05-19 08:04:13 +00:00
ilkin-overleaf
f7977cdca5 Merge pull request #7831 from overleaf/ii-scroll-to-position
Add scroll to position custom hook

GitOrigin-RevId: e2202e390ad674e31b61eb0f0ff6bda9346b34b8
2022-05-12 08:03:36 +00:00
Timothée Alby
e63c5565a6 Merge pull request #7761 from overleaf/ta-settings-loading-screen
Delay Settings Page Content Until Translations Are Ready

GitOrigin-RevId: 0537367f672bd2e88c95248d15c5638887ff3aee
2022-04-27 08:04:55 +00:00
Miguel Serrano
ef0e475b04 Migrate usePersistedState hook to Typescript (#7739)
* Migrate `usePersistedState` hook to Typescript

* Use React types for setter functions

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: e9ddf6e2ab45e0b0739c850a89ec7be0f14a7506
2022-04-27 08:04:03 +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
5b0c122f5d Merge pull request #7290 from overleaf/ii-7154-list-user-emails
List of user emails

GitOrigin-RevId: 28a8e405812932ba7ebd8043a4dc9d3c573a68b2
2022-04-11 08:03:38 +00:00
Timothée Alby
3c01402bbd Merge pull request #7034 from overleaf/ta-pdf-detach-full
PDF Detach v2

GitOrigin-RevId: 3deb76474185f9176cde23ab32ef51b90df6e8e9
2022-04-05 12:19:23 +00:00
Timothée Alby
2cab7059ee Merge pull request #6717 from overleaf/ta-ds-deep-compare-memo
Use Deep Comparison for RootFolder Effects

GitOrigin-RevId: fd4dd523f131799eccd5909a7fd42ec7c985ca4e
2022-02-16 11:40:03 +00:00
Jessica Lawshe
c849b8f244 Merge pull request #5985 from overleaf/jel-detached-event
Analytics event when PDF detach layout setup done

GitOrigin-RevId: 9f20a339ed9a45f9d85e1872454fe50236178aac
2022-01-13 09:04:29 +00:00
Alf Eaton
50df230846 [web] Upgrade Prettier to match version in monorepo root (#6231)
GitOrigin-RevId: 02f97af1b9704782eee77a0b7dfc477ada23e34d
2022-01-11 09:03:23 +00:00
Timothée Alby
44eca312ff Merge pull request #6053 from overleaf/ta-pdf-detach-tests
PDF Detach Misc Tests

GitOrigin-RevId: 9615c8fdfd8964a9c63d7c91e4596d397a1d35dc
2021-12-15 09:04:46 +00:00
Timothée Alby
f6fc3d468c Merge pull request #5854 from overleaf/ta-pdf-detach-v2
PDF Detach Updates

GitOrigin-RevId: c09c4fe37a922b041cfa1376e110a264a88177c8
2021-12-01 09:03:41 +00:00
Alexandre Bourdin
cdaf55c7da Merge pull request #5808 from overleaf/revert-5736-ab-drop-ie11-polyfill
Revert "Remove IE11 polyfills and update browser support policy"

GitOrigin-RevId: fa44a6bfa796d191446956e94d9e533a70e59da4
2021-11-17 09:04:23 +00:00
Alf Eaton
ec31473f8f Merge pull request #5736 from overleaf/ab-drop-ie11-polyfill
Remove IE11 polyfills and update browser support policy

GitOrigin-RevId: 9ab9513ecf97fc565a1d2620f9785a64bd16b766
2021-11-17 09:03:32 +00:00
Timothée Alby
8ca159b4b9 Merge pull request #5797 from overleaf/ta-pdf-detach
PDF Detach

GitOrigin-RevId: f69d8a87d1ba2115ad496a719106dfc7707a6ed5
2021-11-16 09:02:57 +00:00
Alf Eaton
efcc15d5b5 Add CodeMirror 6 cursor/scroll position handling (#5653)
GitOrigin-RevId: bf756a415dbf1e4b5bbd9f580700bdc799c6b1d6
2021-11-16 09:02:41 +00:00
Alf Eaton
ed825e3170 Mark defaultValue as optional for useScopeValueSetterOnly (#5695)
GitOrigin-RevId: e42cc48f3762e1a0369fe80ab1b9d7ccb237b3f1
2021-11-05 09:03:08 +00:00
Miguel Serrano
26eb5d7cdc Cleanup compile results on compilation error (#5663)
- pdfUrl, pdfDownloadUrl and log entries are now cleared up after a compilation error.

- Added a new hook, useScopeValueSetterOnly that limits how changes in React components are propagated to Angular. Since the compilation process happens entirely within compile-context it make sense that compilation results are solely managed by compile-context itself.

GitOrigin-RevId: 2003be03bab6753bb9a88194c7a6163cfd36f9c2
2021-11-04 09:04:05 +00:00
Alf Eaton
845b2fbc04 Move useScopeValue hook to shared hooks folder and wrap setValue in a function (#5386)
GitOrigin-RevId: b1a6a4e871af3b52fb3d100a83b479c834cb75ca
2021-10-11 08:03:29 +00:00
Alf Eaton
e76b7696da Add listen parameter to usePersistedState hook (#5134)
GitOrigin-RevId: d40f942164403a31ffbb10336227eef59a57febf
2021-09-30 08:04:25 +00:00
Alf Eaton
c5c727f552 Move useResizeObserver into features/preview (#5188)
GitOrigin-RevId: c12dfc30b07e4a214990b7e80ce11364edb6137a
2021-09-24 08:04:28 +00:00
Alf Eaton
233ceb5356 Allow function as value for usePersistedState hook (#5131)
* Allow function value in usePersistedState
* Add tests for usePersistedState
* Use nullish coalescing to avoid calling getItem twice

GitOrigin-RevId: e0351addea904aefb7a402bff32689792b49fbbb
2021-09-24 08:04:21 +00:00
Alf Eaton
bb55fc2e32 Add useDropdown hook (#4228)
GitOrigin-RevId: a16762139049aed1e309b1330602c3b291d41f81
2021-06-24 02:06:49 +00:00
Alf Eaton
2328dd1705 Add useAbortController hook (#4234)
GitOrigin-RevId: 731f86a2b07cd2c3189e6ca86bba9fbbc913f429
2021-06-24 02:06:45 +00:00
Alf Eaton
ec3400c7cd Add useIsMounted hook (#4039)
GitOrigin-RevId: 4ece1381fbfbed048fe46a399a60e9aab2f3526e
2021-05-19 02:06:31 +00:00