Manav Rathi
f96adddf54
Prune
2024-04-23 18:54:34 +05:30
Manav Rathi
190dc586a9
Prune
2024-04-23 18:47:48 +05:30
Manav Rathi
00c9d78ec9
Inline
2024-04-23 18:37:47 +05:30
Manav Rathi
2e222d9409
Remove derived state
2024-04-23 16:15:57 +05:30
Manav Rathi
c5ab1811fb
Inline and skip
2024-04-23 16:08:19 +05:30
Manav Rathi
5e5d66c2a2
Inline
2024-04-23 16:04:19 +05:30
Manav Rathi
c7e0986b12
Inline and reorder
2024-04-23 16:01:22 +05:30
Manav Rathi
14427b6011
Remove unused
2024-04-23 15:57:09 +05:30
Manav Rathi
b80f567e74
Rearrange
2024-04-23 15:52:20 +05:30
Manav Rathi
3a93a7a956
Prune
2024-04-23 15:48:52 +05:30
Manav Rathi
91afe68111
Cluster
2024-04-23 15:43:59 +05:30
Manav Rathi
be2d8c45d0
ReadLivePhoto
2024-04-23 15:26:56 +05:30
Manav Rathi
7f9563ab9a
Possible approach
2024-04-23 15:03:29 +05:30
Manav Rathi
308d8179b0
Rework
2024-04-23 14:52:16 +05:30
Manav Rathi
6ff41db939
Try another factoring
2024-04-23 14:16:41 +05:30
Manav Rathi
6ca3eb55af
Try another factoring
2024-04-23 13:49:09 +05:30
Manav Rathi
abbfbf695f
Split earlier
2024-04-23 13:13:25 +05:30
Manav Rathi
66c64d0c58
Let the caller decide
2024-04-23 13:07:27 +05:30
Manav Rathi
a286b11adb
Checkpoint
2024-04-23 12:55:27 +05:30
Manav Rathi
e6e235490a
Content-Length
2024-04-23 12:37:42 +05:30
Manav Rathi
cb0d25030d
API 1
2024-04-23 12:10:46 +05:30
Manav Rathi
76be5e37d5
cp
2024-04-23 11:33:34 +05:30
Manav Rathi
1f5fbcae76
Checkpoint
2024-04-23 11:20:22 +05:30
Manav Rathi
4a12774a3c
Impl 1
2024-04-23 11:07:10 +05:30
Manav Rathi
cd22400136
Agenda
2024-04-23 10:42:07 +05:30
Manav Rathi
1f0c80cabc
Refactor 1
2024-04-23 10:21:39 +05:30
Manav Rathi
7a0abf2268
Prepare a split
2024-04-23 09:52:13 +05:30
Crowdin Bot
7e2ba7e5da
New Crowdin translations by GitHub Action
2024-04-23 01:38:47 +00:00
Manav Rathi
3ab14d5949
Remove unnecessary flexibility
2024-04-22 17:20:21 +05:30
Manav Rathi
05cd0bcd2c
input filename is not needed
...
tested with sips
2024-04-22 16:49:06 +05:30
Manav Rathi
4461775283
Desktop side
2024-04-22 16:32:04 +05:30
Manav Rathi
4750caf156
Blob
2024-04-22 16:12:03 +05:30
Manav Rathi
bb094743f3
Rework 2
2024-04-22 15:44:58 +05:30
Manav Rathi
1c9c6d849a
Rework 1
2024-04-22 15:30:48 +05:30
Manav Rathi
9038ea7959
Dead-endish
2024-04-22 14:57:38 +05:30
Manav Rathi
875b92ea91
New interface
2024-04-22 14:39:48 +05:30
Manav Rathi
afca600a69
New abstraction
2024-04-22 14:04:49 +05:30
Manav Rathi
2a647e3ddb
Dedup type
2024-04-22 12:00:41 +05:30
Manav Rathi
b1e9f863d7
Same
2024-04-22 11:49:59 +05:30
Manav Rathi
37f1a7b630
Mirror the desktop impl
2024-04-22 11:25:14 +05:30
Manav Rathi
24d3156a5b
[web][desktop] Upload refactoring to get desktop watch to work again - Part 3/x ( #1515 )
2024-04-22 10:44:42 +05:30
Manav Rathi
ed6a72eb3c
Fix npe on main
...
TypeError: Cannot read properties of undefined (reading 'put')
at DownloadManagerImpl.downloadFile (webpack-internal:///./src/services/download/index.ts:176:84)
2024-04-22 10:38:06 +05:30
Manav Rathi
d0956642b7
Get it back to a mergable state
2024-04-22 10:28:12 +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
31a19cb738
Desktop side
2024-04-21 11:29:58 +05:30
Manav Rathi
cfced851c6
Expectation
2024-04-21 10:26:17 +05:30
Manav Rathi
36ccd3b202
Remove log interceptors
2024-04-21 09:48:34 +05:30
Manav Rathi
e39194d993
How it was
2024-04-21 09:41:22 +05:30
Manav Rathi
1026974e23
Nomenclature
2024-04-21 09:14:47 +05:30
Manav Rathi
381bffabbf
Inline
2024-04-21 09:11:39 +05:30
Manav Rathi
7ca6b31a4c
Do not synchronously create heic workers on app start
2024-04-21 09:00:26 +05:30
Manav Rathi
0fe6fa72b6
Rename
2024-04-21 08:51:51 +05:30
Manav Rathi
462caec0ca
Rename
2024-04-21 08:45:18 +05:30
Manav Rathi
d3390f13af
Inline
2024-04-21 08:22:30 +05:30
Manav Rathi
2ebcde1cdf
Rename
2024-04-21 08:21:40 +05:30
Manav Rathi
08e71a1718
Import what we need
2024-04-20 21:58:09 +05:30
Manav Rathi
feb8814ac1
Prune
2024-04-20 21:54:43 +05:30
Manav Rathi
30fe91efb9
Inline
2024-04-20 21:49:22 +05:30
Manav Rathi
2b945dc169
Fix typo
2024-04-20 21:25:03 +05:30
Manav Rathi
0dfaa15923
Tinker
2024-04-20 21:09:35 +05:30
Manav Rathi
d62f6077ce
Inline
2024-04-20 21:03:05 +05:30
Manav Rathi
71cf2c30d7
Reuse
2024-04-20 20:54:40 +05:30
Manav Rathi
9285954e01
Use same constants
2024-04-20 20:50:44 +05:30
Manav Rathi
09a0872af7
Inline
2024-04-20 20:48:12 +05:30
Manav Rathi
dd2c58d7a2
Unabstract
2024-04-20 20:41:38 +05:30
Manav Rathi
c33b231885
Trace paths
2024-04-20 20:32:53 +05:30
Manav Rathi
8d6787b823
Inline
2024-04-20 20:06:06 +05:30
Manav Rathi
5992efd58a
Document
2024-04-20 19:54:26 +05:30
Manav Rathi
9c63bccddb
Mirrorize
2024-04-20 19:49:21 +05:30
Manav Rathi
f820be9652
Clean up entry point
2024-04-20 18:11:21 +05:30
Manav Rathi
a9d8b083f6
Shorten
2024-04-20 17:59:55 +05:30
Manav Rathi
c8f04f35ba
Reduce concepts
2024-04-20 17:59:07 +05:30
Manav Rathi
19103f4961
To point of use
2024-04-20 17:47:00 +05:30
Manav Rathi
5710846125
Inline
2024-04-20 17:44:58 +05:30
Manav Rathi
e3586811dc
Scope
2024-04-20 17:38:15 +05:30
Manav Rathi
eed95811c5
JPEG + temp wip
2024-04-20 17:12:25 +05:30
Manav Rathi
9bddd741a5
Better log
2024-04-20 16:35:52 +05:30
Manav Rathi
30464c87f4
Reuse util
2024-04-20 16:33:37 +05:30
Manav Rathi
4985ba8aac
Comment
2024-04-20 16:22:54 +05:30
Manav Rathi
52d830cd06
modulestate
2024-04-20 12:30:43 +05:30
Manav Rathi
14e4205feb
Restructure
2024-04-20 12:16:58 +05:30
Manav Rathi
6337ffc203
Inline
2024-04-20 11:50:15 +05:30
Manav Rathi
d0b1ff5520
In band signalling
2024-04-20 10:17:51 +05:30
Manav Rathi
196090152c
Remove an error that is never thrown
2024-04-19 21:39:44 +05:30
Manav Rathi
80a6fe16e7
timeouts
2024-04-19 21:34:35 +05:30
Manav Rathi
9cfdc4cae9
Look for next advancement points
2024-04-19 20:02:25 +05:30
Manav Rathi
766dd2d85d
um finished
2024-04-19 19:50:27 +05:30
Manav Rathi
c034c5cc70
flatmap
2024-04-19 19:48:28 +05:30
Manav Rathi
bbe6dde4cb
Inline
2024-04-19 19:40:12 +05:30
Manav Rathi
6fe8a72299
Spruce
2024-04-19 19:38:11 +05:30
Manav Rathi
a079035a43
Back in the watcher
2024-04-19 19:32:48 +05:30
Manav Rathi
afaf89ad1a
Except the size
2024-04-19 19:00:25 +05:30
Manav Rathi
42c1bec044
JSON 2
2024-04-19 16:41:54 +05:30
Manav Rathi
505d376dc9
issa supertype
2024-04-19 16:27:46 +05:30
Manav Rathi
5dd21b2b38
Parallel
2024-04-19 16:25:58 +05:30
Manav Rathi
32ac31fd44
Start using it
2024-04-19 16:20:20 +05:30
Manav Rathi
d1069dcfbb
Dig a gully on the side
2024-04-19 16:06:33 +05:30
Manav Rathi
bf3d04fc12
Deeper
2024-04-19 16:01:05 +05:30
Manav Rathi
de783b6158
Seep in paths
2024-04-19 15:54:42 +05:30
Manav Rathi
41aeb63465
Fix lint issues
...
unrelated to this PR, come from https://github.com/ente-io/ente/pull/1479
2024-04-19 15:02:09 +05:30
Manav Rathi
82c365b2db
Inline
2024-04-19 14:49:24 +05:30
Manav Rathi
5f87dce547
Inline
2024-04-19 14:47:44 +05:30
Manav Rathi
643d028ffc
Inline
2024-04-19 14:44:29 +05:30
Manav Rathi
7ed6e729f5
Inline
2024-04-19 14:37:35 +05:30
Manav Rathi
2b35d586c1
Inline
2024-04-19 14:33:54 +05:30
Manav Rathi
292084c00d
Inline
2024-04-19 14:32:09 +05:30
Manav Rathi
0509aad4af
Remove unused prop
2024-04-19 14:15:53 +05:30
Manav Rathi
f59ecdb8d8
Reword
2024-04-19 14:14:48 +05:30
Manav Rathi
2c46be6ded
async
2024-04-19 13:46:09 +05:30
Manav Rathi
967ef2e3ea
[desktop] Watch refactoring to get it work with new IPC ( #1486 )
2024-04-19 13:09:40 +05:30
Manav Rathi
5be1b07c71
Remove noise on logout
2024-04-19 12:50:57 +05:30
Manav Rathi
57d09c08d4
Only load when in electron
2024-04-19 12:47:16 +05:30
Manav Rathi
00173bae1e
Fix type
2024-04-19 12:46:10 +05:30
Manav Rathi
1b3c38d91f
Lintable
2024-04-19 12:40:19 +05:30
Manav Rathi
f3e1abfaa1
Tie loops
2024-04-19 12:34:09 +05:30
Manav Rathi
9d7f056883
Some shape
2024-04-19 12:03:00 +05:30
Manav Rathi
f24fd98bc3
Sculpt
2024-04-19 11:22:02 +05:30
Manav Rathi
722cc74e64
Club
2024-04-19 10:27:18 +05:30
Manav Rathi
0e9703f770
Event listeners
2024-04-19 10:16:46 +05:30
Manav Rathi
500bac0b32
Prune happens on the node side now
2024-04-19 09:26:28 +05:30
Manav Rathi
46ac8968e8
Localize global state
2024-04-19 09:12:45 +05:30
Manav Rathi
b49cb9dec2
Update add/rm
2024-04-18 21:32:15 +05:30
Manav Rathi
a9ccec6398
The remaining 2
2024-04-18 21:26:05 +05:30
Manav Rathi
76053c4029
impl
2024-04-18 21:07:00 +05:30
laurenspriem
31aa46ead2
[desktop] Better blur detection service
2024-04-18 20:41:28 +05:30
Manav Rathi
14285b66ae
Seep deeper
2024-04-18 18:45:02 +05:30
Manav Rathi
4455bb9595
API on electron side
2024-04-18 18:31:38 +05:30
Manav Rathi
275b763648
Work towards it
2024-04-18 16:18:01 +05:30
Manav Rathi
8a728abffe
Envision the API
2024-04-18 15:31:22 +05:30
Manav Rathi
c90cd258ec
Deduce
2024-04-18 15:05:39 +05:30
Manav Rathi
9d4a76a642
Compose
2024-04-18 14:46:13 +05:30
Manav Rathi
9e35469bdc
Emulate basename and dirname
2024-04-18 14:42:52 +05:30
Manav Rathi
4fd9ecba56
Abstraction
2024-04-18 14:13:55 +05:30
Manav Rathi
e9e17e6ea3
Handle dotfiles
2024-04-18 14:10:43 +05:30
Manav Rathi
ca29c81394
Don't need much
2024-04-18 13:59:00 +05:30
Manav Rathi
9c336a38c0
path mainp
2024-04-18 13:47:46 +05:30
Manav Rathi
518d573add
Improve docs
2024-04-18 13:23:20 +05:30
Manav Rathi
532824b3d5
Spruce types
2024-04-18 12:53:47 +05:30
Manav Rathi
04f32d64f1
Unclass
2024-04-18 12:00:01 +05:30
Manav Rathi
4d80dc3af9
Interface for pending uploads
2024-04-18 11:51:14 +05:30
Manav Rathi
7bf5c0ad5c
Continue refactoring
2024-04-17 21:51:17 +05:30
Manav Rathi
cdc45e9fcc
Remove old types
2024-04-17 20:56:58 +05:30
Manav Rathi
acec41f526
More renaming - wip
2024-04-17 20:56:00 +05:30
Manav Rathi
ca5b98b8d2
Enum to type - wip
2024-04-17 20:32:21 +05:30
Manav Rathi
739c541f5d
Terminology
2024-04-17 19:44:39 +05:30
Manav Rathi
f21ccd4935
Rearrange
2024-04-17 19:38:07 +05:30
Manav Rathi
170ea0c997
Cleanup
2024-04-17 19:21:40 +05:30
Manav Rathi
a22423d039
WIP 2
2024-04-17 17:00:51 +05:30
Manav Rathi
52c35108ca
WIP 1
2024-04-17 15:51:51 +05:30
Manav Rathi
2051ccee46
List files alternate
2024-04-17 14:48:03 +05:30
Manav Rathi
ee89506923
Unlegacy isDir
2024-04-17 14:27:48 +05:30
Manav Rathi
00c400f682
Reword
2024-04-17 14:19:11 +05:30
Manav Rathi
4971099da9
Merge
2024-04-17 13:41:10 +05:30
Manav Rathi
75e07353be
Thank you tsc
2024-04-17 12:38:52 +05:30
Manav Rathi
df483b0755
lint
2024-04-17 12:37:18 +05:30
Manav Rathi
184ba91a2d
Refactor
2024-04-17 12:34:00 +05:30
Manav Rathi
652be207be
Update another place
2024-04-17 12:11:08 +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
27a2b087c7
Elaborate
2024-04-17 12:01:54 +05:30
Manav Rathi
2d5ab044ee
Docs
2024-04-17 11:55:07 +05:30
Manav Rathi
637d830f19
Replace encodelivephoto
2024-04-17 11:51:35 +05:30
Manav Rathi
3172104578
Start using @/media's version
2024-04-17 10:08:08 +05:30
Manav Rathi
4b9446a9b0
Create a package to share code between photos and cast
2024-04-17 09:47:28 +05:30
Manav Rathi
d80358552f
Trim spaces for more forgiving copy paste
2024-04-16 21:02:57 +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
f775890af7
Rename on the renderer side
2024-04-16 16:35:30 +05:30
Manav Rathi
9a6f3133b1
Reduce API
2024-04-16 16:17:27 +05:30
Manav Rathi
afec29d6e7
Inline and spruce
2024-04-16 15:54:28 +05:30
Manav Rathi
8fbff7e3a3
Inline
2024-04-16 15:33:47 +05:30
Manav Rathi
96ea996401
Inline
2024-04-16 15:29:56 +05:30
Manav Rathi
cf889b24af
Inline
2024-04-16 15:28:23 +05:30
Manav Rathi
cd4b2a6810
Inline
2024-04-16 15:26:35 +05:30
Manav Rathi
415fa79271
[desktop] Make export work with the new IPC ( #1461 )
...
There is one piece of the puzzle still missing - the files are being
sent wholesale instead of being streamed - and this might cause memory
issues. I haven't benchmarked yet, leaving this until we get some
response from the upstream issue
https://github.com/electron/electron/issues/41872 (hopefully it's just
some thing I missed).
But otherwise, ran export on a trivial library and it worked fine, so
everything is at least hooked up properly now.
2024-04-16 15:12:34 +05:30
Manav Rathi
2403c19f70
Add a temporary fallback
2024-04-16 14:50:25 +05:30
Manav Rathi
450e494a5e
Throwing darts
2024-04-16 11:34:34 +05:30
Manav Rathi
2bc22f472e
[web] New translations ( #1455 )
...
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web )
2024-04-16 11:27:16 +05:30
Manav Rathi
81d1563c3d
Also reproducible on latest beta
2024-04-16 10:17:51 +05:30
Manav Rathi
1e202a76c4
Works if we don't stream
2024-04-16 09:39:43 +05:30
Manav Rathi
d7b0beb949
[web] Clear search bar state when value is falsey
...
Updates https://github.com/ente-io/ente/pull/1453 so that we also clear the
existing state by calling the setFoo methods even when value is falsey.
2024-04-16 09:03:35 +05:30
Crowdin Bot
0f4624e829
New Crowdin translations by GitHub Action
2024-04-16 01:37:39 +00:00
Manav Rathi
2577cfe2f1
Replace cast with @ts-expect-error
2024-04-15 21:43:38 +05:30
Manav Rathi
020ed59d40
[web] Fix dev mode error on search input ( #1453 )
...
## Description
Ran into error after clearing search bar of queries by hitting
backspace.
> The error is shown below
> Thank you to the team for considering
## Tests
**Error**
![Screenshot 2024-04-15
184234](https://github.com/ente-io/ente/assets/82031202/f5f9845c-9420-4746-998b-2c67136d69cd )
**Fix**
Fixed by wrapping the line-causing error around by an `if` block.
2024-04-15 20:50:06 +05:30
daviddeepan
09c07e58e6
search-input runtime-error fix
2024-04-15 19:54:33 +05:30
Manav Rathi
83d2644bf4
Fix double slashing
2024-04-15 19:43:30 +05:30
Manav Rathi
67aacf8391
Replace everywhere
2024-04-15 19:40:50 +05:30
Manav Rathi
c99c4ac839
Use new method
2024-04-15 19:35:19 +05:30
Manav Rathi
6b331612b6
writeStream
2024-04-15 18:39:08 +05:30
Manav Rathi
a74d904989
Use a test stream
...
Example taken from https://developer.chrome.com/docs/capabilities/web-apis/fetch-streaming-requests
2024-04-15 16:00:25 +05:30
Manav Rathi
8cdb31783b
Enhance
2024-04-15 15:57:57 +05:30
Manav Rathi
2a425b0f9b
Add duplex parameter to a streaming request
...
Attempt to solve the following error in the browser's console when trying to
make the request:
[error] download and save failed: TypeError: Failed to construct 'Request':
The `duplex` member must be specified for a request with a streaming body
2024-04-15 14:22:00 +05:30
Manav Rathi
9eab93cfdf
Suppress webpack's critical dependency warnings for libheif
...
Supressing it for now since it obscures other important information in the console.
Upstream issue, which currently doesn't have a workaround:
https://github.com/catdad-experiments/libheif-js/issues/23
Full error message:
⚠ ../../node_modules/libheif-js/libheif-wasm/libheif-bundle.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
Import trace for requested module:
../../node_modules/libheif-js/libheif-wasm/libheif-bundle.js
../../node_modules/libheif-js/wasm-bundle.js
../../node_modules/heic-decode/index.js
../../node_modules/heic-convert/index.js
./src/worker/convert.worker.ts
./src/utils/comlink/ComlinkConvertWorker.ts
./src/services/heic-convert/service.ts
...
Refs:
- https://stackoverflow.com/questions/38392697/webpack-umd-critical-dependency-cannot-be-statically-extracted
2024-04-15 13:47:46 +05:30
Manav Rathi
89b832d21f
Baby's first steps
2024-04-15 12:47:55 +05:30
Manav Rathi
3ea4879cf0
Remove text qualifier
...
The type already enforces that. And it reads better and the call sites this way.
2024-04-15 12:20:41 +05:30
Manav Rathi
73ef03a5d9
Move read/write whole files into fs
2024-04-15 12:17:33 +05:30
Manav Rathi
896cf0f785
Disable full file caches for now
...
This is only needed for ML indexing, let us revisit this once the ML flow is
done instead of adding a premature and possibly disk-space heavy optimization.
2024-04-15 11:50:23 +05:30
Manav Rathi
95c0f53d21
Preserve parameters
...
This was needed for the purchase success to be relayed back.
2024-04-15 10:59:07 +05:30
Manav Rathi
8d24a489f6
[desktop] Fix payment redirect
...
Fixes: https://github.com/ente-io/ente/issues/1440
There were two issues:
- It was a backward incompatible change to change the scheme from ente:// to
next://. Revert.
- We also need to setup a top level redirect when the user presses back without
making any changes to their subscription.
**Tested by**
Running payments app and desktop app locally, and verifying that after
interactions with the payments endpoint we go back to the desktop app's actual
contents correctly.
2024-04-15 10:47:14 +05:30
Manav Rathi
bcfd144ce9
[web] Use the public link origin provided by the server
...
When implementing https://github.com/ente-io/ente/pull/1443 it was found that
the Photos web app wasnt' using the sharedCollectionUrl prefix that is returned
by the server. Instead, it was using NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT as the
baseHost, while mobile client completely rely on the server for returning the
correct hostUrl.
**Tested by**
Running against the modified server, and verifying that changes to
apps.public-albums were being used.
2024-04-15 09:57:01 +05:30
Manav Rathi
18ac361688
Remove unused IPC method
2024-04-14 20:11:25 +05:30
Manav Rathi
87077417a2
Remove dup
2024-04-14 20:07:17 +05:30
Manav Rathi
d0ac3ea9ca
Remove newly dead code
2024-04-14 20:00:59 +05:30
Manav Rathi
a5f9fdd10d
Restructure selection
2024-04-14 19:59:13 +05:30
Manav Rathi
881a963fde
Inline
2024-04-14 19:46:26 +05:30
Manav Rathi
f9560ec533
Inline
2024-04-14 19:43:31 +05:30
Manav Rathi
22616bb77d
Remove top level error suppressors
2024-04-14 19:42:30 +05:30
Manav Rathi
4d19c46d7c
Replace exception handling for control flow
2024-04-14 19:39:35 +05:30
Manav Rathi
cc323905d5
Another
2024-04-14 19:33:49 +05:30
Manav Rathi
fca4b2aca6
Use also for the image
2024-04-14 19:29:22 +05:30
Manav Rathi
c4ac5e39a2
Refactor
2024-04-14 19:25:01 +05:30
Manav Rathi
28574e516d
[desktop] Fix export related IPC - Part 3/x ( #1439 )
2024-04-14 19:04:38 +05:30
Manav Rathi
22f221d481
Extract
2024-04-14 18:36:36 +05:30
Manav Rathi
eb64a00ed2
Remove unnecessary checks
...
It is simpler for us to parallel the rm command than our bespoke variant.
2024-04-14 18:22:46 +05:30
Manav Rathi
59b9e3e586
Move into fs
2024-04-14 18:12:19 +05:30
daviddeepan
2a9060bd39
css-alignment-issue-page-gallery
2024-04-14 13:53:00 +05:30
Manav Rathi
adb37f38e4
Shorten
2024-04-14 10:31:45 +05:30
Manav Rathi
14922b65f8
Inline
2024-04-14 10:28:27 +05:30
Manav Rathi
7438c3301e
Move mkdirIfNeeded into fs
2024-04-14 10:25:28 +05:30
Manav Rathi
0e8678715a
Remove layer
2024-04-14 10:03:16 +05:30
Manav Rathi
3824ebe91a
Remove exportService indirection
2024-04-14 09:57:58 +05:30
Manav Rathi
ea34eebfc9
Remove implicit electron dependency
2024-04-14 09:53:18 +05:30
Manav Rathi
eeb1952585
Use
2024-04-14 09:30:51 +05:30
Manav Rathi
72dd47fa7b
Audit rename
2024-04-14 09:27:52 +05:30
Manav Rathi
38db03c3a0
Start giving it more power
2024-04-13 21:50:56 +05:30
Manav Rathi
e268b9204e
Inline
2024-04-13 21:46:34 +05:30
Manav Rathi
acd50bb172
Inline
2024-04-13 21:39:36 +05:30
Manav Rathi
28d559bd84
Hoist
2024-04-13 21:35:58 +05:30
Manav Rathi
e87c7ed108
Inline
2024-04-13 21:34:37 +05:30
Manav Rathi
67a81f8d86
Dedup
2024-04-13 21:31:36 +05:30
Manav Rathi
30f147ec5b
Update jsdoc
2024-04-13 21:26:00 +05:30
Manav Rathi
6829d0bf15
Remove unused
2024-04-13 21:24:52 +05:30
Manav Rathi
d03b265eb4
Captialize
...
We've been capitalizing the name at places where we can. This name is only used
when creating new exports, and shouldn't effect existing export, so it is safe
to change.
2024-04-13 21:21:48 +05:30
Manav Rathi
297ca09535
Refactor and extract
2024-04-13 21:20:20 +05:30
Manav Rathi
82bbb1c6dd
Cleanup and document
2024-04-13 21:06:47 +05:30
Manav Rathi
4fbfbf0aa0
Cleanup
2024-04-13 20:53:35 +05:30
Manav Rathi
56d04066ea
sfn
2024-04-13 20:38:29 +05:30
Manav Rathi
7838f7484d
Make explicit
2024-04-13 20:29:17 +05:30
Manav Rathi
c7757cb08e
Prune more stale overrides
2024-04-13 18:54:15 +05:30
Manav Rathi
ce642e12c1
Remove stale disables
2024-04-13 18:50:12 +05:30
Manav Rathi
e07559c8da
Fix oopsie
2024-04-13 18:41:47 +05:30
Manav Rathi
64231c73f1
[web] Add ESLint to enforce HMR how vite likes it
...
Configuration changes taken from the vite starter (react-ts).
From the vite docs (https://github.com/vitejs/vite-plugin-react-swc?tab=readme-ov-file#consistent-components-exports )
> For React refresh to work correctly, your file should only export React components.
>
> If an incompatible change in exports is found, the module will be invalidated.
> To make it easier to export simple constants alongside your component the module
> is only invalidated when their value changes.
While we're not currently using vite for our main apps, it would be worthwhile
to write code in a way that a future migration to it is painless if needed.
About the what and the why, the Gatsby docs are illuminating:
https://www.gatsbyjs.com/docs/reference/local-development/fast-refresh/#how-it-works
Some other refs:
- https://github.com/ArnaudBarre/eslint-plugin-react-refresh
- https://github.com/vitejs/vite/discussions/4577#discussioncomment-1161007
- https://github.com/vitejs/vite-plugin-react/issues/34
2024-04-13 18:38:24 +05:30
Manav Rathi
4f764dc77c
Consolidate constants
2024-04-13 18:27:40 +05:30
Manav Rathi
63a2ca7606
Fix lint
2024-04-13 18:24:57 +05:30
Manav Rathi
eb995f4354
Split
2024-04-13 18:20:40 +05:30
Manav Rathi
37cb2aaaf9
Refactor
2024-04-13 18:09:32 +05:30
Manav Rathi
1ffa905f99
Inline 2
2024-04-13 17:00:50 +05:30
Manav Rathi
07fa5cb83d
Inline 2
2024-04-13 16:59:47 +05:30
Manav Rathi
c90ba63aad
Inline 1
2024-04-13 16:57:04 +05:30
Manav Rathi
284d7920b3
Inline 2
2024-04-13 16:54:26 +05:30
Manav Rathi
ca114a467d
Inline 1
2024-04-13 16:50:23 +05:30
Manav Rathi
f7e961e86b
Inline
2024-04-13 16:44:55 +05:30
Manav Rathi
7deb0dca8e
Fix lint
2024-04-13 13:17:42 +05:30
Manav Rathi
f2d3ec74a1
Granular migration
2024-04-13 13:12:16 +05:30
Manav Rathi
0f3b28a425
Revert "Recreate ML db"
...
This partially reverts commit 95a0e80c5b
.
2024-04-13 12:56:21 +05:30
Manav Rathi
95a0e80c5b
Recreate ML db
2024-04-13 12:46:48 +05:30
Manav Rathi
b50f8a8212
Promise
2024-04-13 10:35:20 +05:30
Manav Rathi
edd9c94d73
URL => id, which is what it is
2024-04-13 10:32:40 +05:30
Manav Rathi
d0dc8b1320
Dedup
2024-04-13 10:22:24 +05:30
Manav Rathi
c0d95edac8
Inline 2
2024-04-13 10:19:16 +05:30
Manav Rathi
f7ba28d1fb
Inline 1
2024-04-13 10:17:58 +05:30
Manav Rathi
eef9bf1f26
Inline
2024-04-13 10:16:08 +05:30
Manav Rathi
75e693186a
Inline
2024-04-13 10:14:35 +05:30
Manav Rathi
02abe24213
Detect ML search status
2024-04-13 10:00:22 +05:30
Manav Rathi
5082124aa5
Cleanup
2024-04-13 09:44:06 +05:30
Manav Rathi
997c74d064
res2
2024-04-13 09:39:29 +05:30
Manav Rathi
9cf57c847e
Rely on global uncaught handler to log
2024-04-13 09:34:49 +05:30
Manav Rathi
9aaf6098b7
Use new APIs for file
2024-04-13 09:08:13 +05:30
Manav Rathi
4055f02a1d
Cleaner
2024-04-13 08:52:37 +05:30
Manav Rathi
b32c13fe31
thumb2
2024-04-13 08:48:39 +05:30
Manav Rathi
c52fd4383c
Nicer delete
2024-04-13 08:43:01 +05:30
Manav Rathi
a86cdb1f1e
Interface
2024-04-13 08:40:08 +05:30
Manav Rathi
999f7e45c9
Remove unused param
2024-04-13 08:34:57 +05:30
Manav Rathi
e8b779745d
put2
2024-04-13 08:33:13 +05:30
Manav Rathi
f2aee30f7c
get
2024-04-13 08:18:11 +05:30
Manav Rathi
db96a0eb1b
get
2024-04-13 08:12:38 +05:30
Manav Rathi
6d1f8b4728
Blobs it is
2024-04-13 08:04:43 +05:30
Manav Rathi
acedbdbe7d
Note
2024-04-13 07:42:24 +05:30
Manav Rathi
6a3f4baed3
Enhance
2024-04-13 07:30:32 +05:30
Manav Rathi
6cd795e29c
Create alternate code path
2024-04-13 07:19:28 +05:30
Manav Rathi
b5096b02da
Remove unused knob
...
Ref:
- https://www.typescriptlang.org/docs/handbook/2/classes.html#parameter-properties
2024-04-13 06:56:46 +05:30
Manav Rathi
3499e47c88
Tweak
2024-04-13 06:47:43 +05:30
Manav Rathi
5ff01c40d8
poc implementation
2024-04-12 21:29:05 +05:30
Manav Rathi
295c0aa82e
Splinter
2024-04-12 21:12:37 +05:30
Manav Rathi
871a0e83cf
Fix
2024-04-12 20:59:15 +05:30
Manav Rathi
a56cf55ffa
Remove indirection
2024-04-12 20:58:00 +05:30
Manav Rathi
b056cf7f56
Move to newer shared package
2024-04-12 20:55:07 +05:30
Manav Rathi
a2a8be3b19
Scaffold the split
2024-04-12 20:52:33 +05:30
Manav Rathi
41472eb87d
Document and structure more
2024-04-12 20:24:48 +05:30
Manav Rathi
c691ad2ac1
Document the plan
2024-04-12 20:11:44 +05:30
Manav Rathi
36f9ca2004
Remove unused param
2024-04-12 19:53:23 +05:30