Commit graph

207 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Manav Rathi
e0cfa36f08
Use the implementation instead of the accidental infinite loop 2024-04-05 10:51:04 +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
039387a84e
Initial-scale=1 is still recommended
Ref:
https://teamtreehouse.com/community/is-initialscale-not-needed
2024-04-05 09:36:18 +05:30
Manav Rathi
866b52b002
Inline constant 2024-04-05 09:26:30 +05:30
Manav Rathi
1d0f30ad91
These values were never customized 2024-04-05 09:08:02 +05:30
Manav Rathi
ae061d2a44
fetch 2024-04-04 16:19:46 +05:30
Manav Rathi
d9d03d8451
Add schema validation of the response 2024-04-04 16:12:39 +05:30
Manav Rathi
39228270c1
Deploy 2024-04-04 15:40:17 +05:30
Manav Rathi
384ec365e8
Add starter staff app 2024-04-04 15:25:38 +05:30
Manav Rathi
608cb6c85e
Prevent double rendering in strict mode
The double invocation during dev mode, while harmless, is confusing, so add an
additional small check to insure this only runs once.
2024-04-04 14:25:04 +05:30
Manav Rathi
712b99b8f3
Fix lint issue 2024-04-04 14:15:42 +05:30
Manav Rathi
935e47fbca
Fix the payments eslint 2024-04-04 14:10:16 +05:30