Commit graph

26126 commits

Author SHA1 Message Date
Manav Rathi
2099663a93
[web] Revert "search-bar component added" (#1561)
This reverts commit 4ed194f397.

@daviddeepan I had to revert your PR unfortunately.

Two main functional issues was:

- When trying to upload files, if I would search something without
results, the dialog would just close instantly.

- As a user, I expect to be able to move out of the search bar with
escape. However, pressing escape closes the whole dialog, causing the
user's drag and dropped or selected files to be lost. This is not
specifically a problem with the code added in this commit, however this
UX will need to be fixed in some way before introducing the search bar.

One medium issue:

- The dialog box kept changing size when I searched. This is visually
jarring.

Other minor issues:

- The input element did not match the look and feel for the rest of the
search input elements in the app. Aligning the search bar to the left
and right of the album thumbnails and using the MUI Input element (as
our code uses MUI elements in other places) might've fixed it.

- There were various debugging console.logs left over, once of which
even seemed like a case we need to handle.

- The strings were not localized.

---

Again, I appreciate your effort, but I think let us leave this for now,
we can come back to it in the future after having thought more about the
UX.
2024-04-30 12:38:57 +05:30
Manav Rathi
92a066d322
Revert "search-bar component added"
This reverts commit 4ed194f397.

Two main functional issues was:

- When trying to upload files, if I would search something without results, the
  dialog would just close.

- As a user, I expect to be able to move out of the search bar with
  escape. However, pressing escape closes the whole dialog, causing the user's
  drag and dropped or selected files to be lost. This is not specifically a
  problem with the code added in this commit, however this UX will need to be
  fixed in some way before introducing the search bar.

One medium issue:

- The dialog box kept changing size when I searched. This is visually jarring.

Other minor issues:

- The input element did not match the look and feel for the rest of the search
  input elements in the app. Aligning the search bar to the left and right of
  the album thumbnails and using the MUI Input element (as our code uses MUI
  elements in other places) might've fixed it.

- There were various debugging console.logs left over, once of which even seemed
  like a case we need to handle.

- The strings were not localized.
2024-04-30 12:31:24 +05:30
Manav Rathi
09bc15ddd3
[web] Upload refactoring - Zip file support (#1559) 2024-04-30 12:11:46 +05:30
Manav Rathi
e2cd1ea380
Fallback 2024-04-30 12:03:05 +05:30
Manav Rathi
ab95b4daee
Inline 2024-04-30 11:51:25 +05:30
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
73baf5a375
Uncollide with ZipEntry from StreamZip 2024-04-30 10:08:31 +05:30
Manav Rathi
e9bf26e421
Extract 2024-04-30 09:59:02 +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
Vishnu Mohandas
e7ca750168
Fixed typo (#1555)
## Description
Fixed a small typo
2024-04-29 17:39:13 +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
BifrostTenmei
e258aa3524
Fixed typo 2024-04-29 10:53:20 +02:00
Manav Rathi
3b6204f47d
Take 2 2024-04-29 13:49:02 +05:30
Manav Rathi
2d8bcd2530
Propagate 2024-04-29 11:59:08 +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
aa111b2a24
Outline the plan 2024-04-29 10:12:53 +05:30
Manav Rathi
75c058fc4c
This is where it comes from 2024-04-29 09:53:54 +05:30
Manav Rathi
7ce34c9b2e
[web] Allow thumbnail cache to be optional (#1552)
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:28:41 +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
Vishnu Mohandas
6f52df1fda
Fixed typo (#1549)
## Description
Fixed a small typo
2024-04-28 22:36:20 +05:30
BifrostTenmei
d46dbf1e73
Fixed typo 2024-04-28 18:20:58 +02:00