Commit Graph

98 Commits

Author SHA1 Message Date
Manav Rathi
4055f02a1d Cleaner 2024-04-13 08:52:37 +05:30
Manav Rathi
3499e47c88 Tweak 2024-04-13 06:47:43 +05:30
Manav Rathi
b056cf7f56 Move to newer shared package 2024-04-12 20:55:07 +05:30
Manav Rathi
a2a8be3b19 Scaffold the split 2024-04-12 20:52:33 +05:30
Manav Rathi
41472eb87d Document and structure more 2024-04-12 20:24:48 +05:30
Manav Rathi
c691ad2ac1 Document the plan 2024-04-12 20:11:44 +05:30
Manav Rathi
36f9ca2004 Remove unused param 2024-04-12 19:53:23 +05:30
Manav Rathi
c83dc87d5d Inline the factory 2024-04-12 14:45:03 +05:30
Manav Rathi
495ff99874 Replace enum with TS type 2024-04-12 14:41:33 +05:30
Manav Rathi
cd3ff6f878 Delete is not needed outside 2024-04-12 14:32:50 +05:30
Manav Rathi
b447dedf83 Cache limit is usused 2024-04-12 14:26:41 +05:30
Manav Rathi
bdadc839e0 Remove firefox specific workaround
In a quick (but possibly incomplete) test I wasn't able to reproduce this in an
incognito window. Throwing the error from here has a potential for breaking
things though, I'll try to verify this as I go through the flows individually.
2024-04-12 14:23:56 +05:30
Manav Rathi
7fa9e924eb Consolidate 2024-04-11 20:57:54 +05:30
Manav Rathi
8bcf77b7f7 IPC keys 2024-04-10 11:03:36 +05:30
Manav Rathi
b0fbd68d27 Fix errors 2024-04-09 13:13:37 +05:30
Manav Rathi
9127c48787 Remove duplicate files 2024-04-09 12:45:37 +05:30
Manav Rathi
d441418b5b Remove deprecated loggers 2024-04-09 12:06:46 +05:30
Manav Rathi
1dc8f4617e log.error regex replacement
- logError\(e, (".+")\);
- log.error($1, e);

+ a whole bunch of manual tweakings
2024-04-09 11:32:34 +05:30
Manav Rathi
92a3650696 Dedup comlink 2024-04-08 20:53:27 +05:30
Manav Rathi
a1c9ceae6b Add temporary gateways 2024-04-08 20:47:47 +05:30
Manav Rathi
5339b1aa89 Merge 2024-04-08 20:39:53 +05:30
Manav Rathi
0be549c91b Transition 2024-04-08 20:21:49 +05:30
Manav Rathi
826cacd6bf Reroute 2024-04-08 20:00:24 +05:30
Manav Rathi
90a770c619 WIP 2024-04-08 18:09:08 +05:30
Manav Rathi
f4f041552f Move electron API types to lower layer 2024-04-08 16:51:48 +05:30
Manav Rathi
18e47b3d4e Synchronize startup banners 2024-04-08 14:09:59 +05:30
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