Manav Rathi
8bcf77b7f7
IPC keys
2024-04-10 11:03:36 +05:30
Manav Rathi
d828bcb071
[web] Fix SSR build
...
Fixes the following error on the nightly build
Error: Attempting to assert globalThis.electron in a non-electron context
at r (/home/runner/work/ente/ente/web/apps/photos/.next/server/chunks/676.js:1:25418)
...
> Build error occurred
Error: Failed to collect page data for /gallery
at /home/runner/work/ente/ente/web/node_modules/next/dist/build/utils.js:1258:15 {
type: 'Error'
}
2024-04-10 09:53:30 +05:30
Manav Rathi
1214b4ddc3
Web enum cleanup
2024-04-09 21:12:00 +05:30
Manav Rathi
a813de5617
Only ONNX, web
2024-04-09 20:53:08 +05:30
Manav Rathi
b76b57d07e
Bye GGML web
2024-04-09 20:07:11 +05:30
Manav Rathi
67e39daff5
Cleanup
2024-04-09 19:59:31 +05:30
Manav Rathi
b02600cb42
Rename
2024-04-09 19:26:20 +05:30
Manav Rathi
b937102cda
A more apropos link
2024-04-09 16:22:02 +05:30
Manav Rathi
544e6be3fd
Document
2024-04-09 15:38:59 +05:30
Manav Rathi
b0fbd68d27
Fix errors
2024-04-09 13:13:37 +05:30
Manav Rathi
5edca461f7
Final touches
2024-04-09 12:39:37 +05:30
Manav Rathi
4aa3d68e36
Wrap the assertion
2024-04-09 12:36:25 +05:30
Manav Rathi
c729516faf
Final stretch
2024-04-09 12:21:32 +05:30
Manav Rathi
56ce5c0b0e
More transition
2024-04-09 12:17:33 +05:30
Manav Rathi
d441418b5b
Remove deprecated loggers
2024-04-09 12:06:46 +05:30
Manav Rathi
0d0e20f7c4
More manual tweaks
2024-04-09 11:58:44 +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
2b7aa372bd
Switch
2024-04-09 10:33:54 +05:30
Manav Rathi
f92a4c2a6e
Fix errors
2024-04-08 20:57:13 +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
3e3712efb3
Transition
2024-04-08 20:43:42 +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
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
7913d5ec2e
lint
2024-04-08 09:37:08 +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
60321111c2
Remove isCanvasBlocked checker
...
We don't really support running without canvas access, we need it for image
manipulation. The firefox feature seems poorly implemented -
https://bugzilla.mozilla.org/show_bug.cgi?id=1429865 - and if someone _really_
wishes to not add an exclusion for our open source web app, then they can
download our desktop app.
2024-04-07 10:45:30 +05:30
Manav Rathi
49b5bff042
Inline
2024-04-07 10:29:00 +05:30
Manav Rathi
7c0ab6dd8a
Remove l11n unsafe direct string manipulation
2024-04-07 10:23:20 +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
3cb51184b3
[web] Add required transitive dependency of MUI datepicker
...
Previously this was coming from react-datepicker that was otherwise unused and thus removed.
Use the same major version as we had previously.
Ref:
https://stackoverflow.com/questions/71037974/module-not-found-error-cant-resolve-date-fns-adddays-in-c-users
2024-04-07 09:26:52 +05:30
Manav Rathi
d317da6536
Remove unused package react-datepicker
...
+ another unused type
+ an transitive from code
2024-04-07 08:42:27 +05:30
Manav Rathi
6bff42ad9b
Remove unused keys
2024-04-06 12:11:29 +05:30
Manav Rathi
121df66ada
Cleanup
2024-04-06 11:19:14 +05:30
Manav Rathi
791cc61ca7
Fix more leftover issues
2024-04-05 21:18:26 +05:30
Manav Rathi
411984ebdc
Fix lint errors
2024-04-05 21:09:47 +05:30
Manav Rathi
cf27f3236c
lint-fix
2024-04-05 20:48:23 +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