Commit graph

26165 commits

Author SHA1 Message Date
Manav Rathi
1eff04fe92
Enable lints 2024-04-30 18:57:19 +05:30
Manav Rathi
50a1447020
Stylistic 2024-04-30 18:54:58 +05:30
Manav Rathi
76c98bdf32
handle unsafe returns 2024-04-30 18:50:15 +05:30
Manav Rathi
7e2ee61a97
void expressions are fine 2024-04-30 18:46:59 +05:30
Manav Rathi
7b16fa9f38
void 2024-04-30 18:42:24 +05:30
Manav Rathi
9a28172565
iife wrapper 2024-04-30 18:37:50 +05:30
Manav Rathi
bda5226796
More unawaited 2024-04-30 18:34:32 +05:30
Manav Rathi
82316ff290
Unawaited promises 2024-04-30 17:43:30 +05:30
Manav Rathi
d308d334f8
tt 2024-04-30 17:41:12 +05:30
Manav Rathi
f4660baeb8
Remove unnecessary awaits 2024-04-30 16:58:58 +05:30
Manav Rathi
9cce8b379c
Remove unnecessary asyncs 2024-04-30 16:51:19 +05:30
Manav Rathi
46d67f0c49
Disentagle map from modifications 2024-04-30 16:49:56 +05:30
Manav Rathi
1076471d51
Turn one off 2024-04-30 16:42:52 +05:30
Manav Rathi
7fb912c9df
ensure 2024-04-30 16:34:48 +05:30
Manav Rathi
9e279da6b3
annotations 2024-04-30 16:30:19 +05:30
Manav Rathi
01c77c3949
unk 2024-04-30 16:29:24 +05:30
Manav Rathi
9771db6ade
Use the built in transformer 2024-04-30 16:28:48 +05:30
Manav Rathi
994ca4b6a3
That's why cache fails 2024-04-30 16:25:35 +05:30
Manav Rathi
755ee4a0c2
hopefully 2024-04-30 16:13:16 +05:30
Manav Rathi
a9671481d8
Allow numbers to be used in template literals 2024-04-30 16:10:56 +05:30
Manav Rathi
9b996ff353
Lint+ 2024-04-30 16:03:52 +05:30
Manav Rathi
51ffaa4a90
Preempt 2024-04-30 16:00:32 +05:30
Manav Rathi
2f3a2421f7
Strict 2024-04-30 15:51:22 +05:30
Manav Rathi
824e73f150
strict 2024-04-30 15:30:57 +05:30
Manav Rathi
9cc730e6a9
more posix 2024-04-30 14:56:13 +05:30
Manav Rathi
5681f14967
Clarify that entry names are guaranteed to be posixy 2024-04-30 14:31:06 +05:30
Manav Rathi
612d8682b5
strict 2024-04-30 14:21:43 +05:30
Manav Rathi
0c312c0ea1
strict 3 2024-04-30 14:10:59 +05:30
Manav Rathi
bee2cd533c
strict 2 2024-04-30 14:01:28 +05:30
Manav Rathi
72b9113d30
ensure 2024-04-30 13:59:00 +05:30
Manav Rathi
333f9c58f2
strict 1 2024-04-30 13:56:11 +05:30
Manav Rathi
14348351a9
Fix call of undefined 2024-04-30 13:44:46 +05:30
Manav Rathi
8400620488
Gone from desktop 2024-04-30 13:42:41 +05:30
Manav Rathi
4feefb9b8d
Fix comment 2024-04-30 13:41:18 +05:30
Manav Rathi
b52c9f558f
Remove cache size overrides
Need a bit more benchmarking or real world feedback to see if this is even something that is helping us.
2024-04-30 13:39:58 +05:30
Manav Rathi
6c4adb1127
Housekeeping 2024-04-30 13:37:17 +05:30
Manav Rathi
d6aeef85d6
Rearrange 2024-04-30 13:33:18 +05:30
Manav Rathi
f84937f8c1
Bye ElectronFile 2024-04-30 13:26:55 +05:30
Manav Rathi
f5754eb2e1
Remove uses of path 2024-04-30 13:01:29 +05:30
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