Commit graph

1288 commits

Author SHA1 Message Date
Manav Rathi
9f58f1eeb3
Fix error on refresh while a folder watch is being set up
Notes:

From QA

> This error mostly happens if i add a watch folder and before watch folders
  start to upload and i refresh the app.

e is undefined in

    let {watches: e, removeWatch: n} = t;
    return 0 === e.length ? (0,...

Results in Next throwing

    Application error: a client-side exception has occurred (see the browser console for more information).
2024-05-27 14:42:56 +05:30
Manav Rathi
a2a209a849
[web] Fix display of codes on Safari 2024-05-27 12:59:32 +05:30
Manav Rathi
c5aa536c3b
[web] App context refactoring (#1879) 2024-05-26 22:03:33 +05:30
Manav Rathi
05406333e4
Split types 2024-05-26 21:55:16 +05:30
Manav Rathi
8ebd50606a
lf 2024-05-26 21:32:24 +05:30
Manav Rathi
7d497b5ae1
Revert reimportability 2024-05-26 20:43:53 +05:30
Manav Rathi
b28f6c3d8c
reduce auth 2024-05-26 20:31:32 +05:30
Manav Rathi
71a8049a35
reduce accounts 2024-05-26 20:28:59 +05:30
Manav Rathi
e95cba0ace
Reduce boilerplate 2024-05-26 20:25:02 +05:30
Manav Rathi
e836ada0d6
Refactor 2024-05-26 20:13:53 +05:30
Manav Rathi
19a104374d
Refactor 2024-05-26 19:49:23 +05:30
Manav Rathi
693ef45e2c
Refactor 2024-05-26 19:39:32 +05:30
Manav Rathi
4bcb765810
[web] Passkey fixes (#1866)
@ua741 Not sure if passkey code is supposed to work on web yet, but I
was doing an unrelated change and noticed that clicking passkeys didn't
even try to redirect to accounts. I don't have a test setup for
passkeys, so don't know if these changes are 100% correct, but at least
now it redirects to accounts. Can test fully when doing final
integration.

- Use correct origin for passkey API requests
- Fix key length error
- Fix param name to match server
- Pass the token instead of a query param
2024-05-26 18:55:11 +05:30
Manav Rathi
6bf6f78147
Refactor app context types 2024-05-26 17:53:49 +05:30
Manav Rathi
3261da3515
title 2024-05-26 15:19:05 +05:30
Manav Rathi
5fe5451f5c
Fix key length error
[error] failed to redirect to accounts page: TypeError: invalid key length
2024-05-26 08:36:57 +05:30
Manav Rathi
1ea7a8f3a7
tweak 2024-05-26 07:20:52 +05:30
Manav Rathi
99f1ba799d
lhs of && cannot be a number
needs to be false for the hole
2024-05-25 20:56:46 +05:30
Manav Rathi
1548bcd378
Fix dialog 2024-05-25 20:30:43 +05:30
Manav Rathi
c5b6297cea
Wrap 2024-05-25 18:05:22 +05:30
Manav Rathi
390b4b1f81
Towards noUncheckedIndexedAccess 2024-05-25 17:44:49 +05:30
Manav Rathi
b19b34b3dc
Prune 2024-05-25 17:39:45 +05:30
Manav Rathi
5690d613bb
tsc 2024-05-25 17:17:21 +05:30
Manav Rathi
bb713cfc76
Cannot avoid a undefined initial app context 2024-05-25 17:14:08 +05:30
Manav Rathi
4a0c93373d
st 2024-05-25 17:00:51 +05:30
Manav Rathi
b42759d473
tsc 2024-05-25 16:55:31 +05:30
Manav Rathi
2e93281368
tsc 2024-05-25 16:51:58 +05:30
Manav Rathi
c18be32c09
Rearrange 2024-05-25 16:48:13 +05:30
Manav Rathi
650163c341
id is always sent be server 2024-05-25 16:40:28 +05:30
Manav Rathi
d101208baa
tsc 2024-05-25 16:34:10 +05:30
Manav Rathi
76f7215269
Filter 2024-05-25 16:31:42 +05:30
Manav Rathi
431d629641
Start tackling strict null 2024-05-25 07:35:07 +05:30
Manav Rathi
94c1cc011b
lf 2024-05-25 07:26:20 +05:30
Manav Rathi
0379216e05
Remove sx prop (in prep for typing) 2024-05-25 06:30:21 +05:30
Manav Rathi
34effef810
tsc 2024-05-25 06:19:01 +05:30
Manav Rathi
92a2506f8a
Reduce prop scope 2024-05-25 06:02:47 +05:30
Manav Rathi
e23bc2602f
Reorder 2024-05-25 06:01:06 +05:30
Manav Rathi
880b13f436
Fix 2024-05-24 20:48:07 +05:30
Manav Rathi
54820689c2
Towards removing implicit anys 2024-05-24 20:16:55 +05:30
Manav Rathi
acebb86fec
Towards strict 2024-05-24 19:49:11 +05:30
Manav Rathi
367e09599d
Enable more 2024-05-24 19:43:10 +05:30
Manav Rathi
b9fe509567
Enable noImplicitReturns 2024-05-24 19:41:37 +05:30
Manav Rathi
7340443b86
lf 2024-05-24 18:57:32 +05:30
Manav Rathi
2cd1dfd720
Chip away 2024-05-24 18:54:16 +05:30
Manav Rathi
3b8c48e92d
Create a next specific base
The include still needs to be specified in the importing tsconfig otherwise the
"." is resolved relative to the @/build-config.
2024-05-24 18:17:59 +05:30
Manav Rathi
54e33d3f42
Create a WIP replacement 2024-05-24 17:29:06 +05:30
Manav Rathi
0adb94f405
Link to @/build-config 2024-05-24 17:17:55 +05:30
Manav Rathi
7d634aa703
Add a note 2024-05-24 17:16:16 +05:30
Manav Rathi
057d11f39b
Fix typo 2024-05-24 14:38:49 +05:30
Manav Rathi
c9de6d7a82
Don't advance the bar for HOTPs 2024-05-24 14:35:59 +05:30