Commit Graph

28494 Commits

Author SHA1 Message Date
Manav Rathi
ea476b9c96 lf 2024-06-03 15:10:08 +05:30
Manav Rathi
c8c19972d9 lint on PR 2024-06-03 15:09:16 +05:30
Manav Rathi
ac32a33358 lf 2024-06-03 15:06:23 +05:30
Manav Rathi
6b6a81b6a8 Need yarn.lock for caching 2024-06-03 15:05:58 +05:30
Manav Rathi
16272dc7b0 README 2024-06-03 15:05:58 +05:30
Manav Rathi
9a47135209 gi yarn.lock 2024-06-03 15:05:58 +05:30
Manav Rathi
c91b0e4d3e lint 2024-06-03 15:05:58 +05:30
Manav Rathi
ff29bda5ac gitig 2024-06-03 15:05:58 +05:30
Manav Rathi
78b82e774d tsconfig 2024-06-03 15:05:58 +05:30
Manav Rathi
2d8b16ca99 Move files 2024-06-03 15:05:54 +05:30
Neeraj Gupta
555f987511 [auth] Surface more information about importError on UI (#1954)
## Description
Surfacing error information on UI. 
This is to reduce the to and fro between customer and support as error
logging isn't enabled by default. Also, added missing logs at certain
places.
## Tests
2024-06-03 11:37:00 +05:30
Manav Rathi
0cbf7db745 [desktop] Remember window size (#1968) 2024-06-03 10:20:14 +05:30
Manav Rathi
247db36c3b Add changelog entry 2024-06-03 10:18:58 +05:30
Manav Rathi
79d9eba099 Fin 2024-06-02 19:53:18 +05:30
Manav Rathi
19980559f4 Use 2 2024-06-02 19:33:15 +05:30
Manav Rathi
b365e03acd Use 1 2024-06-02 19:26:26 +05:30
Manav Rathi
d067673dca old 2024-06-02 19:15:10 +05:30
Manav Rathi
9deefeb019 window-rect 2024-06-02 19:13:53 +05:30
Manav Rathi
861b4d9228 [web] Introduce zod for API response runtime type validation (#1966)
Yup wasn't cutting it, after looking around and evaluating on a bunch of
parameters, zod seems like a better choice for such a primitive part of
our stack, even if it means an extra 8kb dependency in the bundle (zod
itself has no dependencies! wish more libs were like that).
2024-06-02 17:50:49 +05:30
Manav Rathi
1d5f936ced Move to lower layer for fixing eslint errors 2024-06-02 17:46:22 +05:30
Manav Rathi
e8a3b3b299 lf 2024-06-02 17:41:59 +05:30
Manav Rathi
62f3e6d47b Consolidate checks 2024-06-02 17:36:17 +05:30
Manav Rathi
0e9a4911b5 zod 2024-06-02 17:20:39 +05:30
Manav Rathi
7c3a137723 staff yup => zod 2024-06-02 17:11:03 +05:30
Manav Rathi
c9c582cbcc fix 2024-06-02 16:57:13 +05:30
Manav Rathi
d924ee636d Fix imports 2024-06-02 16:55:47 +05:30
Manav Rathi
176289d0a8 zod flags 2024-06-02 16:50:30 +05:30
Manav Rathi
f663c436cb Add zod
zod required strict mode, which is why creating this "@/new" package was a prereq.
2024-06-02 16:00:30 +05:30
Manav Rathi
3f3a63d8da Move 2024-06-02 15:50:58 +05:30
Manav Rathi
1360378aaa Fix circular dependency warning
> Circular dependency between chunks with runtime
  (src_services_face_face_worker_ts-src_services_face_index_ts-src_services_face_indexer_ts-src_-39d208,
  webpack)
2024-06-02 15:19:13 +05:30
Manav Rathi
14e4c3a133 Fix circular dependency warning 2024-06-02 15:06:21 +05:30
Manav Rathi
a6b8bfcf90 [web] Investigate ESLint 9 (but don't switch yet) (#1964)
Pending on https://github.com/facebook/react/pull/28773

Note - once we go eslint 9, we won't need the
`--report-unused-disable-directives` in our eslint invocation:

https://eslint.org/docs/latest/use/configure/configuration-files#reporting-unused-disable-directives
2024-06-02 15:02:42 +05:30
Manav Rathi
bf2a97f4a1 Prune (prep for eslint 9) 2024-06-02 14:40:34 +05:30
Manav Rathi
ebab8568b9 Prune old config 2024-06-02 14:31:01 +05:30
Manav Rathi
55ee9a5d29 [desktop] Upgrade dependencies to latest + ESLint 9 (#1962)
The two outdated dependencies in the desktop code at this point are
* Jackspeak, which needs to be pinned because of
https://github.com/isaacs/jackspeak/issues/5 (Presumably we'll not need
this once we go yarn v4).
* Electron store, which is ESM only.
2024-06-02 14:18:06 +05:30
Manav Rathi
27b7532ca4 lf 2024-06-02 14:15:13 +05:30
Manav Rathi
d38ea56492 Upgrade more 2024-06-02 14:06:06 +05:30
Manav Rathi
37f09c0dc3 yarn upgrade-interactive electron electron-log 2024-06-02 14:03:33 +05:30
Manav Rathi
22b9bc7804 onnx runtime 1.18
https://github.com/microsoft/onnxruntime/releases/tag/v1.18.0
https://stackoverflow.com/questions/70077595/is-32-bit-arm-windows-considered-dead-deprecated
2024-06-02 13:57:41 +05:30
Manav Rathi
aad4d62f05 typescript-eslint is not ready yet
https://github.com/typescript-eslint/typescript-eslint/pull/9002#issuecomment-2106424400
2024-06-02 13:56:06 +05:30
Manav Rathi
f716f3bed7 prettier 3.3
https://prettier.io/blog/2024/06/01/3.3.0
2024-06-02 13:50:36 +05:30
Manav Rathi
c2bf99531a eslint . is now the default
> If you are using a flat configuration file (eslint.config.js), you can also
> omit the file arguments and ESLint will use .
>
> https://eslint.org/docs/latest/use/command-line-interface
2024-06-02 13:42:16 +05:30
Manav Rathi
0d3db30cac Remove false disables that have been fixed in eslint 9 2024-06-02 13:41:13 +05:30
Manav Rathi
d9477891bb eslint 9 2024-06-02 13:38:10 +05:30
Manav Rathi
429caf5f6c New 2024-06-02 12:56:54 +05:30
Manav Rathi
39a17bc0b8 eslint 9 2024-06-02 12:45:59 +05:30
Manav Rathi
2310758810 We'll put react code here 2024-06-02 12:43:31 +05:30
Manav Rathi
781a99aa42 Place 2024-06-02 12:39:18 +05:30
Manav Rathi
3ff5b2f18f This config is automatically included
...if you use any of the recommended configurations.

https://typescript-eslint.io/users/configs/
2024-06-02 12:29:38 +05:30
Laurens Priem
38c88c9aa8 [mob][photos] Bump (#1960)
## Description

## Tests
2024-06-01 21:36:11 +05:30