Commit graph

72 commits

Author SHA1 Message Date
Manav Rathi
84d21984e0
Test complete
Tested logging from both worker (in web app) and when running in Electron.

Refs:
- https://github.com/GoogleChromeLabs/comlink/issues/506
- https://github.com/GoogleChromeLabs/comlink/issues/568
2024-04-08 13:16:50 +05:30
Manav Rathi
da9a704094
fixing logging in workers WIP 2 2024-04-08 12:52:10 +05:30
Manav Rathi
a96ad6dfa2
WIP 2024-04-08 12:40:03 +05:30
Manav Rathi
0b3165b812
Remove unused 2024-04-07 10:58:19 +05:30
Manav Rathi
99579fbf51
Inline 2024-04-07 10:56:15 +05:30
Manav Rathi
75d041dd9c
Inline 2024-04-07 10:53:34 +05:30
Manav Rathi
d992085dbd
Inline 2024-04-07 10:49:31 +05:30
Manav Rathi
cb6cfee9a3
Inline 2024-04-07 10:49:04 +05:30
Manav Rathi
49b5bff042
Inline 2024-04-07 10:29:00 +05:30
Manav Rathi
01e6e79819
Cannot be a compile time constant 2024-04-07 10:18:30 +05:30
Manav Rathi
e5b2d737b4
Clean up environment detection code 2024-04-07 10:03:28 +05:30
Manav Rathi
411984ebdc
Fix lint errors 2024-04-05 21:09:47 +05:30
Manav Rathi
42a59f2fb5
Consolidate and deduplicate 2024-04-05 20:35:22 +05:30
Manav Rathi
7807d3a413
Inline 2024-04-05 20:03:23 +05:30
Manav Rathi
461430a972
Move up from shared 2024-04-05 20:01:28 +05:30
Manav Rathi
fe6215d0fd
Replace context entry with useRouter 2024-04-05 19:58:45 +05:30
Manav Rathi
e680970cdf
Inline 2024-04-05 19:58:45 +05:30
Manav Rathi
356ad6f004
Use regular link
Removing unnecessary dependencies on next specific components
2024-04-05 19:58:45 +05:30
Manav Rathi
fa7cbaea18
Remove custom _document
Looking towards a longer term transition out of next
2024-04-05 10:09:37 +05:30
Manav Rathi
9785bbcb26
We don't have full web app support yet
Plus, Apple doesn't do much for PWAs anyway. One reason for removing this until
we test it out in actuality is because there were reports of the semi-PWA
caching causing issues.
2024-04-05 09:38:48 +05:30
Manav Rathi
2c098904fb
Inline 2024-04-05 09:13:38 +05:30
Manav Rathi
a68dce35f6
Remove unused knob 2024-04-05 09:08:56 +05:30
Manav Rathi
1d0f30ad91
These values were never customized 2024-04-05 09:08:02 +05:30
Manav Rathi
f10f751a2f
Inline local storage calls
The methods are trivial, and we cannot centralize the keys since they will be
different for different apps. So an abstraction for this is not beneficial.

Also move the next specific dev build check to @/next
2024-04-03 14:21:11 +05:30
Manav Rathi
26b35cec9e
Merge @/ui into @/next 2024-04-02 19:58:42 +05:30
Manav Rathi
0e1bdfe07e
Support arbitrary ReactNodes as title 2024-04-02 14:38:37 +05:30
Manav Rathi
7183a8b493
[web] Remove emotion caches
This is no longer needed for emotion > 10

> For v10 and above, SSR just works in Next.js.
>
> https://emotion.sh/docs/ssr#nextjs

Tested with

- yarn dev:*
- yarn preview:*

This change screws up the CSS in places in dev mode though.
2024-03-30 20:56:38 +05:30
Manav Rathi
949780d1e8
[cast] Use the placeholder as the placeholder, not as the label 2024-03-29 12:15:06 +05:30
Manav Rathi
478435f806
Use :3001 for all the aux services 2024-03-28 11:42:59 +05:30
Manav Rathi
8f0ef055c5
[web] Make the imported payments code feel at home in the new monorepo
- Use the shared yarn monorepo configuration
- styled-components => emotion (since that's what the rest of the code uses)
- Remove Sentry (since it's gone elsewhere)
2024-03-28 11:40:22 +05:30
Manav Rathi
48a726885f
Fix typo in comment 2024-03-26 21:45:21 +05:30
Manav Rathi
ac97d65c12
Remove one copy of duplication from IPC types 2024-03-26 21:45:21 +05:30
Manav Rathi
f8a36852a6
Prepare for test 2024-03-25 15:39:29 +05:30
Manav Rathi
892bf852a5
Convert remaining upload functions 2024-03-25 15:29:39 +05:30
Manav Rathi
f53b1361e8
Move file related functions 2024-03-25 15:09:51 +05:30
Manav Rathi
4261624da5
Handle rest of watch related functions 2024-03-25 14:03:20 +05:30
Manav Rathi
186e76c62b
Move add/remove watch functions to preload 2024-03-25 13:49:48 +05:30
Manav Rathi
96ea53face
preload / watch - part 1
The change event was not being used (since
dca542e781), so also remove that dead code.
2024-03-25 13:31:28 +05:30
Manav Rathi
67468c6ff9
Move the selection dialogs 2024-03-25 13:02:06 +05:30
Manav Rathi
e8acbd8c9f
Convert the other conversion functions 2024-03-25 12:45:21 +05:30
Manav Rathi
2522da2b5e
Handle runFFMPEGCmd in preload 2024-03-25 12:32:57 +05:30
Manav Rathi
dd7e87274a
Handle set/getEncryptionKey in preload 2024-03-25 12:19:19 +05:30
Manav Rathi
106ba270fe
Handle ML related functions in updated preload 2024-03-25 12:09:11 +05:30
Manav Rathi
d3093809d6
Inline more into preload 2024-03-23 20:25:56 +05:30
Manav Rathi
81ba5379c9
Move checkExistsAndCreateDir out of preload 2024-03-23 20:06:27 +05:30
Manav Rathi
f21dc84840
Switch to async fs.exists
We cannot expose the sync version over the context bridge - the node:fs module
is not available to the preload script under context isolation.
2024-03-23 19:59:47 +05:30
Manav Rathi
b1d0909675
EXtract common queueProcessor 2024-03-23 18:49:22 +05:30
Manav Rathi
7704b902c4
Extract shared function 2024-03-23 18:46:20 +05:30
Manav Rathi
bdb2a22863
Extract shared function 2024-03-23 18:44:30 +05:30
Manav Rathi
47a7042d55
Remove dead code from cast 2024-03-23 18:38:31 +05:30