Manav Rathi
92ecbf9fa1
Add search bar within the Album selection screen #564 ( #1558 )
...
## Description
Search bar component for the ente-web added.
The component for web and mobile responsiveness is shown below.
> Thank you to the team for considering
## Tests
Normal screen--
![Screenshot 2024-04-30
103238](https://github.com/ente-io/ente/assets/82031202/c4d8b033-2624-4985-b9ba-18e5eca29f0f )
Mobile screen--
![Screenshot 2024-04-30
111031](https://github.com/ente-io/ente/assets/82031202/4246a71b-3dd3-4de3-b4e0-f06185926faa )
2024-04-30 11:38:37 +05:30
Manav Rathi
8ee9b2be32
Use only the currently uploaded items
2024-04-30 11:36:28 +05:30
Manav Rathi
1f110929b2
connect
2024-04-30 11:08:55 +05:30
daviddeepan
4ed194f397
search-bar component added
2024-04-30 11:05:27 +05:30
Manav Rathi
68f3f1e714
more
2024-04-30 11:01:50 +05:30
Manav Rathi
a5177a3742
fore
2024-04-30 10:51:20 +05:30
Manav Rathi
761fd560a1
Separate file
2024-04-30 10:43:12 +05:30
Manav Rathi
c1a3fb4896
docs
2024-04-30 10:31:33 +05:30
Manav Rathi
5f0103682b
entries
2024-04-30 10:24:41 +05:30
Manav Rathi
7ad4069b99
hobgoblins
2024-04-30 10:23:33 +05:30
Manav Rathi
afb0e1aff3
web
2024-04-30 10:20:37 +05:30
Manav Rathi
77fe4f9f03
wip ze ipc
2024-04-30 09:39:38 +05:30
Manav Rathi
93991c3a7f
up
2024-04-30 09:25:59 +05:30
Manav Rathi
baf491c624
up
2024-04-30 09:10:27 +05:30
Manav Rathi
ff8aba816a
cont
2024-04-29 21:48:31 +05:30
Manav Rathi
39737b985b
teach readstream about zips
2024-04-29 21:40:10 +05:30
Manav Rathi
6bcf985390
or can it
2024-04-29 21:27:45 +05:30
Manav Rathi
eb608f4bdd
ren
2024-04-29 21:12:47 +05:30
Manav Rathi
fca398f296
impl
2024-04-29 21:07:20 +05:30
Manav Rathi
38094f317a
wipx
2024-04-29 20:58:58 +05:30
Manav Rathi
2c62f983a8
wipx
2024-04-29 20:42:57 +05:30
Manav Rathi
61de0c9c9c
Before the changes
2024-04-29 19:55:04 +05:30
Manav Rathi
3ef727537c
UploadItem
2024-04-29 19:46:50 +05:30
Manav Rathi
cca33074fb
Pending uploads
2024-04-29 19:29:52 +05:30
Manav Rathi
c1ef0199be
Partial integration
2024-04-29 17:16:43 +05:30
Manav Rathi
0fbafcc4f5
Remove unused sharedFiles app context prop
...
setSharedFiles was removed in 3b468cb154
(years ago).
2024-04-29 16:33:04 +05:30
Manav Rathi
2d40f530a7
more
2024-04-29 15:51:20 +05:30
Manav Rathi
864a53afa2
more
2024-04-29 15:23:46 +05:30
Manav Rathi
d94f0a0f56
wip
2024-04-29 15:08:46 +05:30
Manav Rathi
2fa1fcac65
impl
2024-04-29 14:34:05 +05:30
Manav Rathi
3d298a9cd4
separate type
2024-04-29 14:23:33 +05:30
Manav Rathi
3b6204f47d
Take 2
2024-04-29 13:49:02 +05:30
Manav Rathi
63841abd30
Envision
2024-04-29 11:44:43 +05:30
Manav Rathi
e8687caba2
wip pending
2024-04-29 11:07:57 +05:30
Manav Rathi
75c058fc4c
This is where it comes from
2024-04-29 09:53:54 +05:30
Manav Rathi
0f46a25a5d
[web] Allow thumbnail cache to be optional
...
See: https://github.com/ente-io/ente/discussions/1449#discussioncomment-9255346
I'm not yet sure what was the case why it was not initialized, hoping to get
some logs for the error when initializing the cache to see how we got to this
state. But meanwhile, ensure that the code works even without the cache.
2024-04-29 09:25:55 +05:30
Manav Rathi
13f0ff3af5
wip zip selection on web itself
2024-04-28 20:31:11 +05:30
Manav Rathi
a3d06c54af
Prune
2024-04-28 17:38:03 +05:30
Manav Rathi
e65307517d
Scaffold
2024-04-28 17:08:22 +05:30
Manav Rathi
0e9507be34
Understand better
2024-04-28 16:47:03 +05:30
Manav Rathi
0202f8f38b
More debug
2024-04-28 16:32:45 +05:30
Manav Rathi
42b0b6e9bb
convert to mp4
2024-04-28 16:28:57 +05:30
Manav Rathi
7179b0a603
less line
2024-04-28 15:58:15 +05:30
Manav Rathi
69193e374c
Wait for i18n loaded before accessing messages
2024-04-28 15:51:45 +05:30
Manav Rathi
c90e9b7fd1
Add a debug inspector
2024-04-28 13:26:43 +05:30
Manav Rathi
b66972e884
Handle missing stacks
2024-04-28 12:48:00 +05:30
Manav Rathi
05b9f834cf
ffmpeg wasm timings
2024-04-28 12:42:34 +05:30
Manav Rathi
e7a4e3e7c2
fix logger
2024-04-28 12:27:36 +05:30
Manav Rathi
85d0a72df3
Rework the stream handling
2024-04-28 11:32:23 +05:30
Manav Rathi
9a37141d29
Not yet sure how but desktop drag drops have the full path
2024-04-27 20:50:45 +05:30
Manav Rathi
17275ed29d
Inline
2024-04-27 18:03:09 +05:30
Manav Rathi
bb2ddec163
Inline
...
The zip-file tests are no longer directly usable, the way we read the files has
changed, these will have to be recreated in a new form.
2024-04-27 17:45:34 +05:30
Manav Rathi
6671a62c78
duh
2024-04-27 17:06:33 +05:30
Manav Rathi
536bcf1091
Add a fixed size block transformer
...
Surprisingly, this is not a primitive. Or maybe I didn't find it.
The highWaterMark-ing didn't work, that seems more of a recommendation than an
enforcement.
2024-04-27 17:00:01 +05:30
Manav Rathi
31a70674ff
Revert "Read in 4 MB blocks"
...
This reverts commit db30d8d81e
.
2024-04-27 16:49:22 +05:30
Manav Rathi
db30d8d81e
Read in 4 MB blocks
...
Refs:
- https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream
2024-04-26 18:48:33 +05:30
Manav Rathi
31608ab8fa
Inline
2024-04-26 18:18:15 +05:30
Manav Rathi
e786bed078
Inline
2024-04-26 18:16:22 +05:30
Manav Rathi
3074bc108f
Fix
2024-04-26 17:49:50 +05:30
Manav Rathi
8ba952c3b8
Remove unused
2024-04-26 17:48:10 +05:30
Manav Rathi
9f41539330
Enhance
2024-04-26 17:47:08 +05:30
Manav Rathi
1c59a36c73
Partially revert 699a12cc79
2024-04-26 16:11:19 +05:30
Manav Rathi
faba29b422
console.log(Object.fromEntries(res.headers.entries()));
2024-04-26 15:58:47 +05:30
Manav Rathi
88eb0d687e
Fix log
2024-04-26 13:51:48 +05:30
Manav Rathi
cc94615823
fix
2024-04-26 13:46:44 +05:30
Manav Rathi
0a70451add
Tweak log
2024-04-26 12:18:11 +05:30
Manav Rathi
87d3bdc717
Scan
2024-04-26 12:14:51 +05:30
Manav Rathi
fa0d1331a8
bye getUint8ArrayView
2024-04-26 11:10:07 +05:30
Manav Rathi
4a0bf42fe3
Peck
2024-04-26 11:07:03 +05:30
Manav Rathi
390f628557
Clone
2024-04-26 10:58:56 +05:30
Manav Rathi
b93638e354
type merge
2024-04-26 10:57:50 +05:30
Manav Rathi
b66d74c652
Get to FileWithCollection
2024-04-26 10:47:06 +05:30
Manav Rathi
070d9e1a62
fop
2024-04-26 10:20:37 +05:30
Manav Rathi
879f3389d1
Inner types
2024-04-26 10:17:52 +05:30
Manav Rathi
a7f5061eb6
And the next
2024-04-26 09:45:06 +05:30
Manav Rathi
f47732ff5e
Type the next stage
2024-04-26 09:33:17 +05:30
Manav Rathi
eec61b0a13
Propagate niceness
2024-04-26 09:18:26 +05:30
Manav Rathi
9fa9d6d5dc
Invert
2024-04-26 08:47:31 +05:30
Manav Rathi
19fd1b5ce4
Rename
2024-04-26 08:41:13 +05:30
Manav Rathi
16a07c79f4
Rename
2024-04-26 08:34:22 +05:30
Manav Rathi
c1103b656c
[web] Upload refactoring - Part x/x ( #1536 )
2024-04-25 21:33:03 +05:30
Manav Rathi
8067d9b9b9
Start with a new copy each time
...
Otherwise all the map keys refer to the same object
2024-04-25 21:22:09 +05:30
Manav Rathi
1b93e9d1c1
Do it
2024-04-25 19:35:05 +05:30
Manav Rathi
2e3b86a2e9
Agenda
2024-04-25 19:22:05 +05:30
Neeraj Gupta
1dc8ac6023
[web][cast] Close on sender disconnect
2024-04-25 18:14:02 +05:30
Manav Rathi
38fe3f5300
Types
2024-04-25 16:54:49 +05:30
Manav Rathi
e90657ce5c
Interim type
2024-04-25 16:35:45 +05:30
Manav Rathi
c2c5267e9b
Tinker
2024-04-25 16:19:47 +05:30
Manav Rathi
73292a5405
aic
2024-04-25 15:48:54 +05:30
Manav Rathi
ca0afc2f3a
File sizes
2024-04-25 15:47:34 +05:30
Manav Rathi
ac9a272c70
Cache name
2024-04-25 15:33:44 +05:30
Manav Rathi
4ae4e42260
log.warn
2024-04-25 15:19:46 +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
7086130129
Finalize uploader
2024-04-25 14:54:16 +05:30
Manav Rathi
72b1df0b75
Rearrange
2024-04-25 14:41:48 +05:30
Manav Rathi
3ac81df561
Vids
2024-04-25 14:38:08 +05:30
Manav Rathi
c8542211b4
Images
2024-04-25 14:21:06 +05:30
Manav Rathi
eb4d83749f
Hash
2024-04-25 14:08:03 +05:30
Manav Rathi
0a09a915e9
Thread lastModifiedMs
2024-04-25 13:55:34 +05:30
Manav Rathi
6aa096d3d3
More
2024-04-25 13:46:10 +05:30
Manav Rathi
3c90a3438b
Streamline
2024-04-25 13:21:38 +05:30
Manav Rathi
c76d12f4a7
Document based on current understanding
2024-04-25 12:52:42 +05:30
Manav Rathi
c13812c31a
Move to library
2024-04-25 12:46:21 +05:30
Manav Rathi
891ba97e0a
Rearrange
2024-04-25 12:30:49 +05:30
Manav Rathi
0675b04f84
Inline
2024-04-25 12:21:29 +05:30
Manav Rathi
0603f8ffb9
Extract
2024-04-25 12:15:09 +05:30
Manav Rathi
79d26173a4
Inline
2024-04-25 12:07:14 +05:30
Manav Rathi
f5ef478a90
Propogate last modified time
...
It should've also been possible to use the regular Last-Modified HTTP header,
however that'd have caused a potential loss of precsion if I correctly
understand the string format that we'll need to use.
Refs:
- https://developer.mozilla.org/en-US/docs/Web/API/File/lastModified
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toUTCString
- https://nodejs.org/api/fs.html#class-fsstats
2024-04-25 11:46:04 +05:30
Manav Rathi
e8e53b2ca5
Prepare for inlining
2024-04-25 11:15:42 +05:30
Manav Rathi
420f52f78f
Live photos too
2024-04-25 10:31:30 +05:30
Manav Rathi
476d8de72a
Wrap
2024-04-25 10:16:16 +05:30
Manav Rathi
5324d805c6
Rejig type
2024-04-25 09:56:25 +05:30
Manav Rathi
2e7b12ad29
Agenda and rearrange
2024-04-25 09:21:18 +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
34d44f599d
Cleanup
2024-04-24 21:12:56 +05:30
Manav Rathi
852fc7830f
Document
2024-04-24 21:05:09 +05:30
Manav Rathi
5c07751c8c
Rename
2024-04-24 20:59:30 +05:30
Manav Rathi
1106393045
Inline
2024-04-24 20:54:56 +05:30
Manav Rathi
d05ca58f57
Move to correct package
2024-04-24 20:46:36 +05:30
Manav Rathi
1447d4976f
lint-fix and beautifuller
2024-04-24 18:48:44 +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
Manav Rathi
319fe0fb71
Rename
2024-04-24 16:21:58 +05:30
Manav Rathi
2a8417af1c
Rename
2024-04-24 16:18:36 +05:30
Manav Rathi
81c729a405
Inline
2024-04-24 16:18:01 +05:30
Manav Rathi
6f6ade1901
Inline
2024-04-24 16:14:10 +05:30
Manav Rathi
2b82c61853
Inline
2024-04-24 16:08:57 +05:30
Manav Rathi
e217635a1b
Remove linkage
2024-04-24 16:07:28 +05:30
Manav Rathi
105157c164
Shout less
2024-04-24 15:55:55 +05:30
Neeraj Gupta
a5dfc97035
[web][cast] disable cast stop
2024-04-24 15:41:18 +05:30
Manav Rathi
c8fc007898
[web] Fix build ( #1528 )
2024-04-24 15:19:43 +05:30
Manav Rathi
e5545e9c80
Make tsc happy to allow builds to complete
2024-04-24 15:16:46 +05:30
Manav Rathi
e0975130b6
More context from Discord
2024-04-24 15:10:15 +05:30
Manav Rathi
cf576c07f7
[desktop] [web] Upload refactoring ( #1527 )
2024-04-24 14:59:20 +05:30
Manav Rathi
80802d44e3
Better log
2024-04-24 14:55:41 +05:30
Manav Rathi
f32a396b36
Fix video thumbnailing (the .jpeg extension is required)
2024-04-24 14:37:14 +05:30
Manav Rathi
5f146aa597
Fix
2024-04-24 13:45:56 +05:30
Manav Rathi
7dba4c0af4
Fix
2024-04-24 13:41:35 +05:30
Manav Rathi
a08df9a839
Clarification after asking in Discord
2024-04-24 13:36:10 +05:30
Manav Rathi
9de8a3d40a
Fixes
2024-04-24 13:19:37 +05:30
Manav Rathi
e919dfd09d
Scope
2024-04-24 13:08:54 +05:30
Manav Rathi
c486919547
Reuse
2024-04-24 13:06:11 +05:30
Manav Rathi
0566d2ee93
Spruce
2024-04-24 13:01:53 +05:30
Manav Rathi
51a1c77720
Get to a mergeable state
2024-04-24 12:50:55 +05:30
Manav Rathi
d96f710d6d
Prune
2024-04-24 12:35:27 +05:30
Manav Rathi
239688b7d8
Remove potentially dangerous wip forks
2024-04-24 12:27:33 +05:30
Manav Rathi
06dbf5fb06
Phasal types
2024-04-24 12:21:52 +05:30