Commit graph

214 commits

Author SHA1 Message Date
Manav Rathi dc525c4f8d
Move 2024-05-09 13:16:29 +05:30
Manav Rathi e58424d2c0
Move into class 2024-05-09 13:13:33 +05:30
Manav Rathi 482639a03c
Rename 2024-05-09 13:06:40 +05:30
Manav Rathi 402d0a917e
Everything 2024-05-08 20:00:35 +05:30
Manav Rathi 74fd98c398
Position spinner 2024-05-08 19:58:56 +05:30
Manav Rathi 415258c86d
Cleanup 2024-05-08 19:52:55 +05:30
Manav Rathi 5aab9e798e
Rename 2024-05-08 19:47:06 +05:30
Manav Rathi 477e30232c
Add empty state 2024-05-08 19:36:27 +05:30
Manav Rathi 805c80face
Inline 2024-05-08 19:29:51 +05:30
Manav Rathi 39bf379788
Uncomment TODO leftover 2024-05-08 19:28:02 +05:30
Manav Rathi 1e5f5ff506
Convert 2024-05-08 19:26:31 +05:30
Manav Rathi 5e1fdd6565
Use 2024-05-08 19:22:27 +05:30
Manav Rathi 079bdbd4cd
styled 2024-05-08 19:19:20 +05:30
Manav Rathi ff25971611
Clear TODO 2024-05-08 19:13:03 +05:30
Manav Rathi 83a84295ba
Fix the condition 2024-05-08 16:35:31 +05:30
Manav Rathi f45902e290
Try without the workaround 2024-05-08 16:30:34 +05:30
Manav Rathi 5e73257b71
debug 2024-05-08 16:17:02 +05:30
Manav Rathi 9d7c23d1c5
Restore the preload to see if looks less abrupt 2024-05-08 15:20:29 +05:30
Manav Rathi d7a4e728da
Completely on demand in an attempt to work on the lowmem Chromecast device 2024-05-08 14:58:16 +05:30
Manav Rathi 93444d3a49
Back to normal files 2024-05-08 14:04:39 +05:30
Manav Rathi 22e33737e8
Forego checks if client doesn't follow the protocol 2024-05-08 14:02:23 +05:30
Manav Rathi ddb19e2333
Restart on collection ID mismatches 2024-05-08 13:57:59 +05:30
Manav Rathi 816f8cecd6
Rearrange 2024-05-08 13:24:06 +05:30
Manav Rathi b7734406b8
Fix 2024-05-08 12:55:03 +05:30
Manav Rathi 7658b99742
Fix 2024-05-08 12:55:03 +05:30
Manav Rathi 3b7dbe6628
Fix 2024-05-08 12:55:03 +05:30
Manav Rathi 2f87c3cf5a
Debug 2 2024-05-08 12:55:03 +05:30
Manav Rathi c9601c33c3
Debug 2024-05-08 12:55:03 +05:30
Manav Rathi b917237db2
Code can become invalid after timeout 2024-05-08 12:55:03 +05:30
Manav Rathi 943f9ea9c1
Wait for pairing code before initializing cast 2024-05-08 12:55:03 +05:30
Manav Rathi 521950075f
yarn lint-fix 2024-05-07 11:12:23 +05:30
Vishnu Mohandas be01f88058
Update copy for Cast 2024-05-06 17:32:14 +05:30
Manav Rathi c92380eb10
Once over 2024-05-04 19:08:48 +05:30
Manav Rathi fa8f229fcb
Help tsc 2024-05-04 19:02:07 +05:30
Manav Rathi 34c30e4520
Remove unused file 2024-05-04 18:59:29 +05:30
Manav Rathi 6a6b77f1d2
Remove unused code 2024-05-04 18:56:52 +05:30
Manav Rathi 575e4809d8
Random order 2024-05-04 18:48:43 +05:30
Manav Rathi 094f1daef3
Get all files 2024-05-04 18:22:36 +05:30
Manav Rathi 3c000b5c62
First time 2024-05-04 17:50:29 +05:30
Manav Rathi 42089403fd
Account for processing in the timings 2024-05-04 17:32:02 +05:30
Manav Rathi 2ae2b73c59
Simplify revoke 2024-05-04 17:17:10 +05:30
Manav Rathi 438b6430e0
Simplify 2024-05-04 16:59:10 +05:30
Manav Rathi b6add9650a
Revoke 2024-05-04 15:30:39 +05:30
Manav Rathi b809523ec9
More 2024-05-04 14:41:06 +05:30
Manav Rathi 77036ee29a
Rearrange 2024-05-04 14:26:18 +05:30
Manav Rathi b42326bd9b
Remove unused saved data 2024-05-04 14:23:56 +05:30
Manav Rathi 1d11c906ef
Reorder 2024-05-04 14:21:44 +05:30
Manav Rathi 80301b14f4
Rearrange 2024-05-04 14:18:44 +05:30
Manav Rathi bf66697bcb
t2 2024-05-04 13:24:58 +05:30
Manav Rathi 8b75393ea0
gen 2024-05-04 12:39:55 +05:30
Manav Rathi b520996af5
Sketch 2024-05-04 12:28:15 +05:30
Manav Rathi 882af50507
Reorder 2024-05-04 11:18:23 +05:30
Manav Rathi efdf980558
busywork 2024-05-04 11:15:06 +05:30
Manav Rathi fdeb0f9493
Match 2024-05-04 11:12:43 +05:30
Manav Rathi c2a2370510
Mirror 2024-05-04 11:11:49 +05:30
Manav Rathi 3d8d6e9fac
Remove unused remove code 2024-05-04 10:52:12 +05:30
Manav Rathi 3c3955017e
Start chromecast SDK only once 2024-05-04 10:49:33 +05:30
Manav Rathi 2ca88ef0a3
Placeholder 2024-05-04 10:26:52 +05:30
Manav Rathi a058897c48
Simplify 2024-05-04 10:24:37 +05:30
Manav Rathi 3ca1bd7729
Fuse 2024-05-04 10:17:09 +05:30
Manav Rathi 4b674c22c1
Inline 2024-05-04 10:15:31 +05:30
Manav Rathi 75a9abab0f
Inline 2024-05-04 10:11:59 +05:30
Manav Rathi 949dd22f81
Inline 2024-05-04 10:03:53 +05:30
Manav Rathi 8bcbdeb6e2
Rename 2024-05-04 09:56:24 +05:30
Manav Rathi 6175c2617c
Rearrange 2024-05-04 09:08:48 +05:30
Manav Rathi 0f64a506e5
Comments 2024-05-04 09:00:58 +05:30
Manav Rathi 8a4f5e2934
Fix 2024-05-04 08:55:54 +05:30
Manav Rathi 54bb32d5e7
3 phase 2024-05-04 08:44:58 +05:30
Manav Rathi 159d207d1f
Phases 2024-05-04 07:27:10 +05:30
Manav Rathi 5dc4352196
Ignore nulls 2024-05-04 07:13:32 +05:30
Manav Rathi afa8303d91
Split phases 2024-05-04 06:59:06 +05:30
Manav Rathi a86a818924
pp 2024-05-04 06:34:52 +05:30
Manav Rathi 5388112b48
Pair 2 2024-05-03 21:57:30 +05:30
Manav Rathi 90a87a8e4f
Pair 1 2024-05-03 21:42:33 +05:30
Manav Rathi 021ff4611c
Remove indirection 2024-05-03 19:25:52 +05:30
Manav Rathi b7842765e8
Document 2024-05-03 19:24:04 +05:30
Manav Rathi 30464772e2
Inline 2024-05-03 19:19:18 +05:30
Manav Rathi 1d8be29bd6
Add missing dependency array 2024-05-03 19:07:25 +05:30
Manav Rathi c750329fb1
Fix type only import
Ref:
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/28190#issuecomment-444339277
2024-05-03 19:02:04 +05:30
Manav Rathi a0c5dd84c7
Add typings 2024-05-03 19:00:16 +05:30
Manav Rathi 08f23efeca
Use in cast 2024-05-03 18:47:44 +05:30
Neeraj Gupta 8a85932512 refactor 2024-05-03 12:27:48 +05:30
Neeraj Gupta b9b928797c [web][cast] Use server to generate deviceCode 2024-05-03 12:24:52 +05:30
Neeraj Gupta d81684a93b [web][cast] More logs 2024-04-30 18:20:01 +05:30
Neeraj Gupta 13d5a9f71a [web][cast] Add logs 2024-04-30 18:09:35 +05:30
Neeraj Gupta ecfb7d944d [web][cast] Add slide logs 2024-04-30 17:45:50 +05:30
Neeraj Gupta 20459afc7b [cast] Add logs 2024-04-30 17:33:25 +05:30
Manav Rathi c1103b656c
[web] Upload refactoring - Part x/x (#1536) 2024-04-25 21:33:03 +05:30
Neeraj Gupta 1dc8ac6023 [web][cast] Close on sender disconnect 2024-04-25 18:14:02 +05:30
Neeraj Gupta a243db032c [web][cast] Remove help qrcode 2024-04-25 15:00:25 +05:30
Neeraj Gupta 3f62357016 [web][cast] Remove debug logs and castDebugger 2024-04-25 14:59:02 +05:30
Manav Rathi c13812c31a
Move to library 2024-04-25 12:46:21 +05:30
Manav Rathi 7f3d9690c0
exactType => extension 2024-04-24 22:02:46 +05:30
Manav Rathi e03a0a09d4
lowercase extension 2024-04-24 21:28:30 +05:30
Manav Rathi d05ca58f57
Move to correct package 2024-04-24 20:46:36 +05:30
Manav Rathi af79db90d0
Doesn't work for us yet
Current version throws
    Module build failed: UnhandledSchemeError: Reading from "node:buffer" is not handled by plugins (Unhandled scheme).
    Webpack supports "data:" and "file:" URIs by default.
    You may need an additional plugin to handle "node:" URIs.

See: https://github.com/sindresorhus/file-type/issues/502

There are ways around by using polyfills, e.g.
- https://stackoverflow.com/questions/76500464/issues-while-using-gradio-client-in-next-js/76522223#76522223
- https://github.com/vercel/next.js/discussions/33982

but since no functional changes in the detection that impact us have been made,
stay back at the old version for now.
2024-04-24 18:44:09 +05:30
Manav Rathi 38e18f29bd
Update file-type dependency and move it to its correct package.json
Refs:
- https://github.com/sindresorhus/file-type/releases/tag/v17.0.0

Went through the release notes since v16 to check that none of the MIME types we
care about have changed.
2024-04-24 18:27:30 +05:30
Manav Rathi f3c798148c
type-detect 2024-04-24 18:06:52 +05:30
Neeraj Gupta a5dfc97035 [web][cast] disable cast stop 2024-04-24 15:41:18 +05:30
Manav Rathi 9de8a3d40a
Fixes 2024-04-24 13:19:37 +05:30