M Fahru
3a0ec888e9
Simplify function by removing generic
...
GitOrigin-RevId: 7732b6782cd1e0130eb56f6b674c03548b8e8315
2023-01-11 09:08:35 +00:00
M Fahru
14068b977f
Fix wrong hook name
...
GitOrigin-RevId: 58f98b508cf650a6ecab38772faf9ecd38c9a7bc
2023-01-11 09:08:28 +00:00
M Fahru
304d73a0c0
Refactor type by reusing type declaration and avoid multiple source of the same type
...
GitOrigin-RevId: 492a9a524e566cf70b53158b4e5cc6ad57cb6093
2023-01-11 09:08:21 +00:00
M Fahru
c7f65fb7d7
Remove disabling update while listening on socket (ignoreUpdates state) since the logic is more complicated that was originally thought and it will be tested/revisited on a different PR
...
GitOrigin-RevId: 70cee2f0fc565aaebfb3ead2dd1a58fc5371c816
2023-01-11 09:08:13 +00:00
M Fahru
afb179b286
Disable updating project-wide settings while socket is currently listening to update project-wide settings in a project.
...
This may happen if the project is being used by multiple people, and we want to avoid race condition on the update since it's possible for multiple people to update setting value at the same time.
GitOrigin-RevId: cdad6a6456e2d9e4ef1812ebfd6f6ef59f23747f
2023-01-11 09:08:06 +00:00
M Fahru
9ee7282139
refactor function by simplifying function argument (from two arguments to a single object)
...
GitOrigin-RevId: e4244a07a4ca196afa226e3fac9de74d30f7d4ea
2023-01-11 09:07:59 +00:00
M Fahru
12eb9aa22c
Don't send spellCheckLanguage request if the old value is the same as the new one
...
GitOrigin-RevId: 4ef34be7563ff707b6abd44dc8034293c88d2f72
2023-01-11 09:07:52 +00:00
M Fahru
a0a97a40a7
Add 'setting-changed' tracking when user changes user-wide settings
...
GitOrigin-RevId: 04ed66dcdff7fa04e783fe4028505d981a39b37b
2023-01-11 09:07:45 +00:00
M Fahru
197c69f687
Apply prettier
...
GitOrigin-RevId: 34c7e3b95d061c270c77337c7c82502af289b556
2023-01-11 09:07:38 +00:00
M Fahru
03a8227ac8
Add a comment explaining why user settings may be undefined
...
GitOrigin-RevId: 4460d4184cde5639d326da07121b2728d444c782
2023-01-11 09:07:30 +00:00
M Fahru
9f7ca368dd
Fix numerous test fails because of unitialized user settings scope on the test environment
...
GitOrigin-RevId: a27454285b0c89c6abef560f05c52d35f81fa570
2023-01-11 09:07:23 +00:00
M Fahru
53bb3c490e
Save spellCheckLanguage to both project-wide and user-wide setting
...
GitOrigin-RevId: 059cc64d0fe2e955814a7192f82d4ff8ea4e2572
2023-01-11 09:07:16 +00:00
M Fahru
9ed84016eb
Fix tsc lint error by restricting the generic type
...
GitOrigin-RevId: 11ef7ab4111c7b312b283283829e9b28a80c475c
2023-01-11 09:07:09 +00:00
M Fahru
bdb6007c0c
Add socket listener for compiler, imageName, and spellCheckLanguage
...
GitOrigin-RevId: b12644152387e479e433a014e1a1041ebae36f12
2023-01-11 09:07:02 +00:00
M Fahru
1b9de46f37
Rename "rootDoc_id" to "rootDocId" before sending it to server
...
GitOrigin-RevId: fc29e152ffd3bf97c00ee817abb07086f6cdfe17
2023-01-11 09:06:54 +00:00
M Fahru
b1068e5dec
Add _csrf to request body
...
GitOrigin-RevId: 87b5a7299fbb795618143421df79375b41f8f921
2023-01-11 09:06:47 +00:00
M Fahru
0d5f5ed59f
replace save project setting hooks with common function and implement set root doc id change
...
GitOrigin-RevId: e5b204cd93fc188288def529cb22018b3d4f89b6
2023-01-11 09:06:40 +00:00
M Fahru
5962b13ac7
apply prettier
...
GitOrigin-RevId: dd750756d2bfc625817760510e9bdbade186aef3
2023-01-11 09:06:33 +00:00
M Fahru
97f93ab9d5
Change variable declaration location + apply prettier
...
GitOrigin-RevId: 3237a417c23d5c66c47385e55f8d3cb68bdfc3ca
2023-01-11 09:06:26 +00:00
M Fahru
f183848bbb
Reduce save/setScope user setting duplication by introducing a new shared hooks
...
GitOrigin-RevId: 6054143eb042e4ff336b1f325a8cef693ae8c4bd
2023-01-11 09:06:19 +00:00
M Fahru
eec3b11f34
Migrate updating overallTheme to react
...
GitOrigin-RevId: 024ceb3c32c8d90ac0067fbb72d6e7d327b869f0
2023-01-11 09:06:12 +00:00
M Fahru
eff616992e
add newline
...
GitOrigin-RevId: f8c4054cbbaf935b50f06f51d19358e3560d0e74
2023-01-11 09:06:05 +00:00
M Fahru
132c5e956d
migrate user-wide settings post request from angular controller to react
...
GitOrigin-RevId: b5440178a11b82c5a5840eb310416f1519f85bae
2023-01-11 09:05:57 +00:00
M Fahru
c6e25d85f7
Migrate editor settings controller to react (this commit includes project-wide settings)
...
GitOrigin-RevId: 8c47a2699a2f11fda7fd60c5173bf2e29858e37a
2023-01-11 09:05:50 +00:00
M Fahru
8668e81c3f
Fix firefox bug where user can't focus on input while renaming file on editor file tree ( #11134 )
...
GitOrigin-RevId: daebbe6df4a3fef41cbf25444a31015d306901b3
2023-01-11 09:05:43 +00:00
M Fahru
32e0411456
Conform with new design system by changing btn-default to btn-secondary ( #10972 )
...
GitOrigin-RevId: 1fac39d3b1e7e68e6feffe467ac21b4cb3253353
2023-01-11 09:05:36 +00:00
Davinder Singh
a64e91a7c1
Again => Admin panel- Sessions tab react migration ( #11137 )
...
GitOrigin-RevId: 338d2e372de4a827e585c24a3ac09b07e77e6a30
2023-01-11 09:05:08 +00:00
Alf Eaton
047a8dfa46
Merge pull request #11008 from overleaf/msm-fix-email-helper-group
...
[web] Prevent NPE parsing RFC5322 email groups
GitOrigin-RevId: 57fa7dc523b94c44afdd45a790ff6c3e62e45214
2023-01-11 09:04:49 +00:00
Alf Eaton
672ed98461
Rich Text typography improvements ( #11102 )
...
GitOrigin-RevId: 04658c09aa265a6bba0523a7789913b4c5a852c9
2023-01-11 09:04:42 +00:00
Jessica Lawshe
5f1f58bd10
Merge pull request #11094 from overleaf/jel-use-label-style
...
[web] Use label rather than deprecated badge style
GitOrigin-RevId: f1275af06642def626820bc81cf7a318da0eedcf
2023-01-10 09:06:51 +00:00
Jessica Lawshe
c146c12d5c
Merge pull request #11078 from overleaf/jel-features-page-analytics
...
[web] Add analytics to React dash features link
GitOrigin-RevId: 5f62af1af3854b1443734cda6b97334e6eb42711
2023-01-10 09:06:43 +00:00
Jessica Lawshe
c0eb059a05
Merge pull request #10958 from overleaf/jel-features-page-link
...
[web] Update features page link on dash for split test
GitOrigin-RevId: 5b51700a8a4ca89920288b54e08caf88f29dec96
2023-01-10 09:06:36 +00:00
Jessica Lawshe
f4962a807a
Merge pull request #11092 from overleaf/jel-recompile-btn
...
[web] Add `data-ol-loading` button style
GitOrigin-RevId: 75230fee0e4c1183f389d08b0253402e4fc375b0
2023-01-10 09:06:28 +00:00
ilkin-overleaf
06ace7f18a
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
a543101483
Merge pull request #11071 from overleaf/jpa-typo-symbol-palette
...
[web] fix typo in symbol palette feature on new subscription pages
GitOrigin-RevId: b167c861ac77b8aaf5e78eae8a5d4c121e0c5f7d
2023-01-10 09:06:06 +00:00
ilkin-overleaf
e26452170f
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
0b4d469354
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
ilkin-overleaf
4f9f845b57
Merge pull request #11074 from overleaf/ii-tagged-trashed-projects
...
[web] Project dashboard archived and trashed projects appearing not hiding
GitOrigin-RevId: b323be2a1104af54d3af9c9610b584fc0ab24c10
2023-01-10 09:05:28 +00:00
Eric Mc Sween
eda09b7dfc
Merge pull request #10971 from overleaf/em-flush-docupdater-on-rename
...
Flush project in docupdater after a rename
GitOrigin-RevId: f08e722e9eb65e281965fe2603f8e97024edb8e9
2023-01-10 09:05:07 +00:00
Alf Eaton
1c71360ece
Set resize: vertical for textareas ( #11010 )
...
GitOrigin-RevId: 1fffad2b35937a9b44440b1007526df266fcf255
2023-01-10 09:04:53 +00:00
Alf Eaton
6ad2a0bc11
Fix .cjs importing via webpack/babel ( #11090 )
...
GitOrigin-RevId: 62f17069a3e0fd338269fe772a51870222c2877a
2023-01-10 09:04:45 +00:00
Alf Eaton
8f585749fa
Remove sysend dependency ( #10852 )
...
GitOrigin-RevId: c3d9601256af8720ab41264609cb5c5c810afbba
2023-01-10 09:04:37 +00:00
Jakob Ackermann
9f99354a7b
Merge pull request #11087 from overleaf/jpa-sort-locales
...
[web] sort all the locale files and check sorting in CI
GitOrigin-RevId: 5921e24f22e2ca126f7d49a1956b44d810b52dcd
2023-01-10 09:04:22 +00:00
Lucie Germain
d4c67abe80
Merge pull request #10995 from overleaf/lg-update-tpds-dropbox-only
...
Only send updates to tpds if project is linked to dropbox
GitOrigin-RevId: 52d8bbfc229b74346dd440f283925a8d6eb6198a
2023-01-09 09:04:02 +00:00
Alf Eaton
152534415d
Upgrade Cypress to v12 ( #11011 )
...
* Upgrade Cypress to v12.2.0
* Remove cy.unmount
* Only record video in CI
* Remove unmount definition and @cypress/react
GitOrigin-RevId: 463bc216b1debc65ad066f7c1d479724cfa062d1
2023-01-06 09:03:55 +00:00
Alf Eaton
d84f441aaa
Tidy up shared React components ( #9509 )
...
GitOrigin-RevId: b8029b65c95ccdac89587d484e2599e25fe44302
2023-01-06 09:03:47 +00:00
Alf Eaton
fd62b1c551
Ensure packages from libraries are processed with babel-loader ( #10703 )
...
* Allow webpack to resolve symlinks
* Rename library files to .cjs
GitOrigin-RevId: 0eab18604132104b1c5c92a5e6ed21713006a5a8
2023-01-06 09:03:41 +00:00
Alf Eaton
382ee69f38
Merge pull request #11064 from overleaf/ae-skip-pdfsynctexcontrols-tests
...
Skip PdfSynctexControls tests
GitOrigin-RevId: 17896aa9cf5862b862d777c522c5506ac87fc260
2023-01-05 09:04:52 +00:00
Mathias Jakobsen
b7c6cb51f6
Merge pull request #11016 from overleaf/ii-dashboard-wrong-action-buttons
...
[web] Project dashboard wrong action buttons
GitOrigin-RevId: d76c64616a34c63b60bc499b96c6507c1196e666
2023-01-05 09:04:45 +00:00
Mathias Jakobsen
88cc38149d
Merge pull request #10960 from overleaf/mj-keybindinging-cypress
...
[web] Add cypress tests for emacs and vim keybindings
GitOrigin-RevId: 17ada42d39ed81e2a0947fd102e5782428c1c619
2023-01-05 09:04:18 +00:00