M Fahru
|
4444377b11
fix tsc error by re-creating request body object instead of directly assigning it from function argument
|
3 жил өмнө |
M Fahru
|
b2cf833e9d
Remove `scope` suffix from variable name in react-related files since it's an angular-specific concept
|
3 жил өмнө |
M Fahru
|
03e5614969
Remove _csrf in request body since `fetchJSON` already have `X-Csrf-Token` set in request header
|
3 жил өмнө |
M Fahru
|
4548f504f7
standardize the naming for `rootDocId`.
|
3 жил өмнө |
M Fahru
|
bdf3b18d4f
Change `import` to `import type` for type imports
|
3 жил өмнө |
M Fahru
|
608b75c9db
Fix linter error because of wrong variable name and camel case issue
|
3 жил өмнө |
M Fahru
|
e3d0380e6f
Remove multiple source of type imports; add `type` on type imports.
|
3 жил өмнө |
M Fahru
|
12f5c845b4
Simplify function by removing generic
|
3 жил өмнө |
M Fahru
|
10bb724197
Fix wrong hook name
|
3 жил өмнө |
M Fahru
|
f2060b35ad
Refactor type by reusing type declaration and avoid multiple source of the same type
|
3 жил өмнө |
M Fahru
|
f85d17f894
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
|
3 жил өмнө |
M Fahru
|
677ec173ed
Disable updating project-wide settings while socket is currently listening to update project-wide settings in a project.
|
3 жил өмнө |
M Fahru
|
af01ace5a0
refactor function by simplifying function argument (from two arguments to a single object)
|
3 жил өмнө |
M Fahru
|
777beaadc3
Don't send spellCheckLanguage request if the old value is the same as the new one
|
3 жил өмнө |
M Fahru
|
ae5a08e680
Add 'setting-changed' tracking when user changes user-wide settings
|
3 жил өмнө |
M Fahru
|
85cbc5b721
Apply prettier
|
3 жил өмнө |
M Fahru
|
06b0833e33
Add a comment explaining why user settings may be undefined
|
3 жил өмнө |
M Fahru
|
5597736057
Fix numerous test fails because of unitialized user settings scope on the test environment
|
3 жил өмнө |
M Fahru
|
56395d9a95
Save spellCheckLanguage to both project-wide and user-wide setting
|
3 жил өмнө |
M Fahru
|
4bf09e21de
Fix tsc lint error by restricting the generic type
|
3 жил өмнө |
M Fahru
|
98fbd330b2
Add socket listener for compiler, imageName, and spellCheckLanguage
|
3 жил өмнө |
M Fahru
|
b6b6b9c4b1
Rename "rootDoc_id" to "rootDocId" before sending it to server
|
3 жил өмнө |
M Fahru
|
30c32713c6
Add _csrf to request body
|
3 жил өмнө |
M Fahru
|
132bb40a21
replace save project setting hooks with common function and implement set root doc id change
|
3 жил өмнө |
M Fahru
|
8ae9839f79
apply prettier
|
3 жил өмнө |
M Fahru
|
c2b0707c2a
Change variable declaration location + apply prettier
|
3 жил өмнө |
M Fahru
|
414540af5c
Reduce save/setScope user setting duplication by introducing a new shared hooks
|
3 жил өмнө |
M Fahru
|
09b1974a3d
Migrate updating overallTheme to react
|
3 жил өмнө |
M Fahru
|
9452bee1b4
add newline
|
3 жил өмнө |
M Fahru
|
6c41a65200
migrate user-wide settings post request from angular controller to react
|
3 жил өмнө |