Commit graph

214 commits

Author SHA1 Message Date
Manav Rathi 0566d2ee93
Spruce 2024-04-24 13:01:53 +05:30
Manav Rathi 190dc586a9
Prune 2024-04-23 18:47:48 +05:30
Neeraj Gupta 8e5d5c4e41 [web][cast] Minor fixes 2024-04-21 17:59:57 +05:30
Neeraj Gupta fdc7cf6ad8 [web] Fix cast build 2024-04-21 17:56:50 +05:30
Neeraj Gupta a7a44140e5 [cast] Load debug script 2024-04-21 14:35:56 +05:30
Neeraj Gupta 026647f192 cast: add additional logs 2024-04-21 14:14:36 +05:30
Neeraj Gupta 3486ef090c [cast] Add additional console logs for debuging remote device 2024-04-21 11:58:57 +05:30
Manav Rathi c90cd258ec
Deduce 2024-04-18 15:05:39 +05:30
Manav Rathi 184ba91a2d
Refactor 2024-04-17 12:34:00 +05:30
Manav Rathi fb1d2c800a
Dedup 2024-04-17 12:07:15 +05:30
Manav Rathi 871cb417d6
Replace 2024-04-17 12:03:45 +05:30
Manav Rathi 3172104578
Start using @/media's version 2024-04-17 10:08:08 +05:30
Manav Rathi c98d5a3e40
Filter out files with HEIC previews 2024-04-16 21:00:47 +05:30
Manav Rathi 2dd705d7f7
Not better not worse 2024-04-16 20:49:47 +05:30
Manav Rathi 0a248e5ce5
Prepare 2024-04-16 20:22:12 +05:30
Manav Rathi 598a885df2
Refactor
This doesn't fix the initial gap, functionality is still the same, but the flow
is now easier to understand.
2024-04-16 20:17:28 +05:30
Manav Rathi 138b775c13
At a more opportune place 2024-04-16 19:57:08 +05:30
Manav Rathi 2bb3e152f8
Precache 2024-04-16 19:54:00 +05:30
Manav Rathi f78e4d3914
Fix live photo cast 2024-04-16 19:42:53 +05:30
Manav Rathi 87077417a2
Remove dup 2024-04-14 20:07:17 +05:30
Manav Rathi 5eda8fd464
Log in other apps too 2024-04-10 13:09:14 +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 3e3712efb3
Transition 2024-04-08 20:43:42 +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 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 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 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 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 fa7cbaea18
Remove custom _document
Looking towards a longer term transition out of next
2024-04-05 10:09:37 +05:30
Manav Rathi 1d0f30ad91
These values were never customized 2024-04-05 09:08:02 +05:30
Manav Rathi 3b3d314f9c
Remove stale import from styled-engine 2024-04-01 16:52:57 +05:30
Manav Rathi 911cdd9448
Remove more dead code from cast 2024-03-29 22:37:42 +05:30
Manav Rathi b4699ecfcb
Remove ElectronFile from cast 2024-03-29 22:26:50 +05:30
Manav Rathi ded151241f
Remove more dead code from cast 2024-03-29 22:22:03 +05:30
Manav Rathi 3dfc3a6dba
Remove dead code from cast 2024-03-29 21:56:33 +05:30
Manav Rathi 7ef59bb4cc
Short circuit unused code
isFileEligibleForCast filters out isRawFileFromFileName. Specifically, it
filters out HEIC files. So getRenderableImage is a no-op.
2024-03-29 21:01:17 +05:30
Manav Rathi 049a240916
Remove dead code from cast 2024-03-29 20:54:10 +05:30
Manav Rathi 3fdf5f1e46
Remove dead cast code 2024-03-29 20:12:57 +05:30
Manav Rathi 9440b967c8
Remove the extra spaces being inserted when we copy paste
Ref:

- https://github.com/facebook/react/issues/1643
- https://stackoverflow.com/questions/10837063/display-text-with-spaces-that-are-not-copied
2024-03-29 17:10:51 +05:30
Manav Rathi d22cf34a0e
Remove nesting 2024-03-29 16:18:49 +05:30
Manav Rathi 0d3662d9fe
Remove the 123456 below the actual code
It prevents copy pasting (and doesn't look too good either)
2024-03-29 16:03:34 +05:30
Manav Rathi 70e5e9b13c
[cast] Change slideshow time from 5s => 10s 2024-03-29 12:34:54 +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
Manav Rathi d297465ea6
Dedup 2024-03-22 20:48:57 +05:30
Manav Rathi 0a7991bc0e
Remove unused code 2024-03-22 19:52:08 +05:30
Manav Rathi 03bad54bce
Remove from the web side 2024-03-22 17:41:32 +05:30
Manav Rathi 4ff378cd06
[web] Update translations for the non-photos apps 2024-03-18 20:01:37 +05:30
Manav Rathi 70cddfdf0b
[web] Remove Sentry
Sentry has a measurable impact on page load, a metric that I'm keen to
improve. Apparently by default it loses us 8-9 page speed points, though that
can be reduced to 3-4
(https://github.com/getsentry/sentry-javascript/issues/9179).

All of this is doable, but there are bigger tasks to deal with. This is not to
say that Sentry won't be useful again at some point, when we have time to deal
with it better. But right now, we discussed that it's just better to remove
Sentry instead of piling on to the sunk cost.
2024-03-12 13:24:33 +05:30
Manav Rathi 918e70b516 Update links to GitHub from within the apps 2024-03-03 18:08:11 +05:30
Manav Rathi e15c7e1642 Move into web/ 2024-03-01 12:21:07 +05:30