34233 Commits

Author SHA1 Message Date
laurenspriem
cc1866893e [mob][photos] Extract to string 2024-10-17 22:07:21 +05:30
laurenspriem
53cb48b87c [mob][photos] Make merge clearer 2024-10-17 22:02:40 +05:30
laurenspriem
fefd785e50 [mob][photos] Extract string 2024-10-17 20:58:27 +05:30
laurenspriem
773188db90 [mob][photos] Extract string 2024-10-17 20:56:43 +05:30
laurenspriem
a3140d9d76 Merge branch 'main' into ml_fixes 2024-10-17 17:29:54 +05:30
Neeraj Gupta
7b012d3cca
[mob] App startup improvements 1/x (#3741)
## Description

## Tests
2024-10-17 17:27:56 +05:30
Neeraj Gupta
a398f7e19e [mob] Switch to better pkg for user-agent 2024-10-17 17:15:03 +05:30
laurenspriem
89d6b0d92f [mob][photos] Logs 2024-10-17 17:11:16 +05:30
laurenspriem
2b338a3c63 [mob][photos] Check and remove old models 2024-10-17 17:10:32 +05:30
Neeraj Gupta
b3243be90a [mob] Add utility to quickly measure time taken from previous step 2024-10-17 16:26:32 +05:30
Neeraj Gupta
d66ab0b24e [mob] Generated strings 2024-10-17 15:56:26 +05:30
Neeraj Gupta
a7daf36a57 [mob] Lint fix 2024-10-17 15:56:20 +05:30
laurenspriem
2b8c93ec1b Merge branch 'main' into ml_fixes 2024-10-17 15:45:17 +05:30
Neeraj Gupta
787f2908da [mob] ServiceLocator for EntityService 2024-10-17 15:44:34 +05:30
laurenspriem
edae970e8c [mob][photos] Move up remove option for cluster 2024-10-17 15:34:36 +05:30
Neeraj Gupta
08b07cdcf1 Merge remote-tracking branch 'origin/main' into clean_up 2024-10-17 15:31:52 +05:30
Neeraj Gupta
5cff4357ee [mob] ServiceLocator for updateService 2024-10-17 15:31:28 +05:30
laurenspriem
cc1332856d [mob][photos] Surface hide within person cluster 2024-10-17 15:30:12 +05:30
Neeraj Gupta
230f0b63d6 [mob] Fix typo 2024-10-17 15:11:50 +05:30
Neeraj Gupta
345a25e33a
[mobile] New translations (#3742)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-10-17 14:58:51 +05:30
Crowdin Bot
39c98b1e6f New Crowdin translations by GitHub Action 2024-10-17 09:17:27 +00:00
Neeraj Gupta
b9e5b10ed6 [mob] Use service locator for storage bonus 2024-10-17 14:33:00 +05:30
Neeraj Gupta
46e3faeb46 [mob] refactor 2024-10-17 14:09:18 +05:30
Neeraj Gupta
54461453eb [mob] Remove unused method 2024-10-17 13:33:08 +05:30
Brian Choromanski
6f5c1b8e3f
[auth] Bugfix/auth icons with period (#3559)
## Description

Previously it would check if the substring that precedes the first `.`
or `(` of the lowercase spaceless provider title was a valid icon.

Now: 
1. Checks if lowercase spaceless provider title is valid icon
2. If the title contains a `(` it checks if the preceding part of the
title is a valid icon
3. If the title contains a `.` it checks if the preceding part of the
title is a valid icon

| Provider Title | Previous Check | Now Checks |
| -------- | ------- | ----------|
| Login.gov | `login` | `login.gov`  |
| GOV.UK (Brian) | `gov` | `gov.uk(brian)` then `gov.uk`  |
| PayPal.com (Visa) | `paypal`  | `paypal.com(visa)`  then
`paypal.com`  then `paypal` |
| Amazon.com | `amazon`  | `amazon.com`  then `amazon` |

This PR resolves issue #3473
2024-10-17 12:13:27 +05:30
Neeraj Gupta
607dfadb00
[auth] fix(linux): generic icon on Wayland sessions (#3737)
This change sets the program name to the application ID, which helps
various
systems like GTK and desktop environments map this running application
to its
corresponding .desktop file. This ensures better integration by allowing
the
application to be recognized beyond its binary name.

Notably, this is necessary on Wayland to map the running application
window to
the desktop file, and therefore apply the correct icon.

This is the [same fix that is applied to new Flutter
projects](https://github.com/flutter/flutter/pull/154522).

|  | Before | After |
|--------|--------|--------|
| Window |
![before-window](https://github.com/user-attachments/assets/71f3c5bb-f5e0-4d33-a9f6-344480761f53)
|
![after-window](https://github.com/user-attachments/assets/b208bfd2-25c0-4583-9bce-46f5761f0886)
|
| Taskbar |
![before-taskbar](https://github.com/user-attachments/assets/77b05efb-890e-4ef8-bd3f-2236c0284d19)
|
![after-taskbar](https://github.com/user-attachments/assets/ff9aa8e1-5372-4888-8f54-7e96f85610c8)
|


## How to test

- Run `main` on a Wayland session
- Note the generic Wayland logo for the icon in the window decorations,
taskbar, task switcher (alt+tab), and overview effects
- Run this branch, note the correct ente auth icon is now used
2024-10-17 11:53:55 +05:30
Neeraj Gupta
f71280b74b
[mob] Hide storage bonus banner after single tap (#3740)
## Description

## Tests
2024-10-17 11:40:37 +05:30
Neeraj Gupta
b4d076d44c [mob] Hide storage bonus banner after single tap 2024-10-17 11:38:48 +05:30
laurenspriem
f2849b3daf [mob][photos] Show smaller people clusters for small libraries 2024-10-17 10:31:32 +05:30
Kristen McWilliam
9637c16684
fix(linux): generic icon on Wayland sessions
This change sets the program name to the
application ID, which helps various systems like
GTK and desktop environments map this running
application to its corresponding .desktop file.
This ensures better integration by allowing the
application to be recognized beyond its binary
name.
2024-10-16 16:35:58 -04:00
Manav Rathi
929c971339
[web] New translations (#3736)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-10-16 21:54:37 +05:30
Crowdin Bot
bbcce445ea New Crowdin translations by GitHub Action 2024-10-16 16:24:07 +00:00
Manav Rathi
c3e1f80cc1
[web] Remove unused / unnecessary code (#3735)
& minor tweaks
2024-10-16 21:53:20 +05:30
Manav Rathi
9411df282e
Prep for making this section always visible on desktop 2024-10-16 21:49:00 +05:30
Manav Rathi
73a038a3a4
Use 2024-10-16 21:41:42 +05:30
Manav Rathi
0dfcf448ac
Remove unused method from context 2024-10-16 21:35:51 +05:30
Manav Rathi
833e985d62
Use standard message as elsewhere 2024-10-16 21:35:51 +05:30
Manav Rathi
791fe45767
Tweak icon placement 2024-10-16 21:35:51 +05:30
Manav Rathi
b3469d3ac8
Fix width when translations are small 2024-10-16 21:35:51 +05:30
Manav Rathi
f86dda2665
[desktop] People suggestions - Make it faster (#3733) 2024-10-16 21:14:19 +05:30
Manav Rathi
7b49e0b2a4
Cleanup after testing 2024-10-16 20:53:15 +05:30
Manav Rathi
15b151fcc0
Debugging shows that random sampling is taking good fraction of total prep time
prep is the one which takes most, almost 10x of loop/post
2024-10-16 20:49:35 +05:30
Manav Rathi
1e72a3ba34
Cleanup 2024-10-16 20:31:06 +05:30
Neeraj Gupta
f32d881485
[mob][photos] Add artificial delay to debug thrown exception (#3729) photos-v0.9.49 2024-10-16 16:30:50 +05:30
Ashil
88210223be
[mob][photos] Bump up to v0.9.49 (#3730) 2024-10-16 16:29:41 +05:30
ashilkn
2301244cd6 [mob][photos] Bump up to v0.9.49 2024-10-16 16:17:46 +05:30
ashilkn
c62a3258ad [mob][photos] Refactor 2024-10-16 16:00:23 +05:30
ashilkn
deef7ac290 [mob][photos] Wrap with unawaited 2024-10-16 15:55:15 +05:30
ashilkn
15074c1945 [mob][photos] Make return type more correct 2024-10-16 15:49:02 +05:30
laurenspriem
7df6872579 [mob][photos] Show suggestions more often 2024-10-16 15:47:42 +05:30