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
Crowdin Bot
b3842dab04
New Crowdin translations by GitHub Action
2024-04-08 04:09:44 +00:00
Manav Rathi
7913d5ec2e
lint
2024-04-08 09:37:08 +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
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
0071182721
Revert "Attempt to reenable tsc"
...
This reverts commit 5700b101b2
. We still need to
fix it in photos before re-enabling this.
2024-04-07 08:28:13 +05:30
Manav Rathi
5700b101b2
Attempt to reenable tsc
...
Partially reverts 6333792d64
2024-04-07 08:25:16 +05:30
Manav Rathi
02207ca96c
Remove unused ffmpeg from cast
2024-04-07 08:18:36 +05:30
Manav Rathi
4b074f4475
Fix the CSS for cast
2024-04-06 19:15:42 +05:30
Manav Rathi
b650372d35
Cleanupxs
2024-04-06 19:09:02 +05:30
Crowdin Bot
e779ae5189
New Crowdin translations by GitHub Action
2024-04-06 07:12:09 +00:00
Manav Rathi
568f4540e3
Remove scripts
...
It has done its job, let it rest in peace
2024-04-06 12:12:15 +05:30
Manav Rathi
6bff42ad9b
Remove unused keys
2024-04-06 12:11:29 +05:30
Manav Rathi
d00211964b
Improve heuristic
2024-04-06 11:45:05 +05:30
Manav Rathi
8695f46b43
Improve script for finding unused keys
2024-04-06 11:43:56 +05:30
Manav Rathi
8020d83ced
Fix crowdin paths
2024-04-06 11:30:31 +05:30
Manav Rathi
121df66ada
Cleanup
2024-04-06 11:19:14 +05:30
Manav Rathi
a98a29800b
[web] Bundle translations but load them lazily
...
Refs:
- https://github.com/i18next/i18next-resources-to-backend
- https://stackoverflow.com/questions/77251750/how-to-implement-lazy-loading-translations-in-i18next-with-react
- https://github.com/i18next/react-i18next/issues/525
- https://gist.github.com/SimeonC/6a738467c691eef7f21ebf96918cd95f
- https://www.i18next.com/overview/plugins-and-utils
2024-04-06 11:06:29 +05:30
Manav Rathi
6333792d64
Temporarily disable tsc on CI
2024-04-05 22:03:39 +05:30
Manav Rathi
69bd822499
Attempt to fix tsc warning on CI
...
Error: src/services/wasm/ffmpeg.ts(6,38): error TS2307: Cannot find module 'ffmpeg-wasm' or its corresponding type declarations.
2024-04-05 21:59:18 +05:30
Manav Rathi
6a31331ac4
Fix lint issue when running on CI
...
> cast
$ /home/runner/work/ente/ente/web/node_modules/.bin/tsc
Error: src/components/FilledCircleCheck/index.tsx(2,20): error TS2307: Cannot find module './FilledCircleCheck.module.scss' or its corresponding type declarations.
2024-04-05 21:56:46 +05:30
Manav Rathi
e16834e52e
Remove unused styled jsx tag
...
This caused the lint to fail on CI
> auth
$ /home/runner/work/ente/ente/web/node_modules/.bin/tsc
Error: src/pages/auth/index.tsx(125,20): error TS2322: Type '{ children: string; jsx: true; }' is not assignable to type 'ClassAttributes<HTMLStyleElement> & StyleHTMLAttributes<HTMLStyleElement> & { css?: Interpolation<Theme>; }'.
Property 'jsx' does not exist on type 'ClassAttributes<HTMLStyleElement> & StyleHTMLAttributes<HTMLStyleElement> & { css?: Interpolation<Theme>; }'.
error Command failed with exit code 2.
From reading the code, this CSS doesn't seem to be coming into effect. Then I
also did a test to verify that the auth app is correctly switching to a 2 column
layout even without this.
2024-04-05 21:39:52 +05:30
Manav Rathi
10b0d9f533
Fix the yarn lint
2024-04-05 21:22:44 +05:30
Manav Rathi
791cc61ca7
Fix more leftover issues
2024-04-05 21:18:26 +05:30
Manav Rathi
7a674dcf95
lint-fix
2024-04-05 21:10:59 +05:30
Manav Rathi
5c313fb87d
tsc when linting
2024-04-05 21:10:20 +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
Manav Rathi
0b39759ad9
Inline
2024-04-05 19:58:45 +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
63387d8819
Use regular image
...
This is the only place we were using next/image
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
ae51531bd0
[web] Uncomment accidentally activated env vars for localhost defaults
2024-04-05 17:08:47 +05:30
Manav Rathi
0d48284b4f
[web] Remove leftover console log
2024-04-05 11:33:57 +05:30