Neeraj Gupta
137a5cd772
Switch to flagService for mlConsent
2025-03-03 14:58:54 +05:30
ashilkn
e61d212ad0
[mob][photos] Handle errors/exceptions in getThumbnailFileOfPerson
2025-02-25 17:13:09 +05:30
ashilkn
708b17cef3
[mob][photos] Resolve merge conflicts and merge main
2025-02-20 18:35:40 +05:30
ashilkn
1746db0d44
[mob][photos] Gracefully handle no avatar of recent file for face in UI where every getThumbnailFileOfPerson is used
2025-02-20 17:38:37 +05:30
ashilkn
af676e6107
[mob][photos] Refactor
2025-02-20 17:20:41 +05:30
Neeraj Gupta
a0025ab09b
[mob] Lint fixes
2025-02-18 13:48:28 +05:30
laurenspriem
f902b7e75c
[mob][photos] ML dev options
2025-02-13 12:51:38 +05:30
ashilkn
982e0068ee
[mob][photos] Create constant variables for keys
2025-02-03 16:10:42 +05:30
ashilkn
6ee6e7f217
[mob][photos] Resolve merge conflicts and merge main
2025-02-01 13:14:49 +05:30
ashilkn
cb4fcfdd25
[mob][photos] Reset _emailToPartialPersonDataMapCache after first entities sync (right after logging in)
2025-02-01 12:39:16 +05:30
ashilkn
9671f4e3fc
[mob][photos] Fix user avatar not updating after linking contact to face
2025-01-31 20:09:41 +05:30
ashilkn
888a604633
[mob][photos] Update thumbnail of contacts in contacts section when linking or un-linking person from the contact
2025-01-31 10:39:38 +05:30
ashilkn
00c43b10ea
[mob][photos] Use contact's face as thumbnail if linked to a person in contacts section and search results that come up when searching
2025-01-30 19:33:38 +05:30
ashilkn
9e4c3d826a
[mob][photos] Add remoteID of person linked to the email in email-to-person-data cache
2025-01-30 17:09:08 +05:30
ashilkn
da582a2436
[mob][photos] Await on _resetEmailToNameCache so that PeopleChangedEvent is fired only after cache is updated. Else there is chance that UI is rebuild on PeopleChangedEvent with stale state of EmailToNameCahce
2025-01-30 16:50:03 +05:30
Neeraj Gupta
2cade6f271
[mob] Refactor
2025-01-29 17:13:21 +05:30
Neeraj Gupta
ac08d5b37d
[mob] Fix lint
2025-01-29 17:13:12 +05:30
Neeraj Gupta
657949d109
[mob] Perf improvement
2025-01-29 16:10:42 +05:30
Neeraj Gupta
a0bb50fc37
[mob] Performance improvement
2025-01-29 15:57:28 +05:30
Neeraj Gupta
09b88e5bab
refactor
2025-01-29 15:33:46 +05:30
Neeraj Gupta
29f4bbb0de
Merge remote-tracking branch 'origin/main' into db_interface
2025-01-29 15:08:19 +05:30
Neeraj Gupta
c64af87e33
[mob] Refactor
2025-01-29 13:52:12 +05:30
Neeraj Gupta
6bdc1f5d65
[mob] Add generic type for fileID
2025-01-28 13:30:24 +05:30
Ashil
e01f92adcc
[mob][photos] Use face when available for user avatar ( #4879 )
...
## Description
If the user (contact specifically) is linked to a person, use the
person's face as user's avatar in the `UserAvatarWidget`
## Tests
Tested everything myself.
2025-01-28 12:07:52 +05:30
ashilkn
e06dbb0ef1
[mob][photos] Remove logs used to assess time taken by ops
...
Made sure that repeated calls to getPersons() by UserAvatarWidget won't cause any performance issues
2025-01-28 11:53:52 +05:30
ashilkn
b1b70a0d08
[mob][photos] Fix Faces on avatar not loading on app start
...
This was because the emailToName cache was not set yet when accessed by UserAvatarWidget. Awaiting on PersonService.init to finish in main() fixed the problem. It only increases time on splash screen by 4ms on the medium sized(uploaded and faces count wise) account I tested on
2025-01-28 11:35:53 +05:30
Neeraj Gupta
69661b0d30
[mob] Put clip queries in same db class
2025-01-27 16:27:20 +05:30
laurenspriem
06daaa1205
[mob][photos] More null checks removed
2025-01-27 14:32:56 +05:30
laurenspriem
07830e4dac
[mob][photos] Remove null checks
2025-01-27 14:29:28 +05:30
ashilkn
a2c5c1e67a
[mob][photos] Resolve merge conflicts and merge main
2025-01-24 12:02:02 +05:30
ashilkn
f11d4d540b
[mob][photos] Refactor
2025-01-23 19:54:32 +05:30
ashilkn
0b5e6f9ced
[mob][photos] Reset email to name cache completely on any change to name or email to avoid stale cache
2025-01-22 16:53:10 +05:30
ashilkn
9ff57b765c
[mob][photos] Deprecate in User model and create extension of User which has displayName() method that gets user name from emailToNameCache
2025-01-22 16:02:43 +05:30
ashilkn
03be554025
[mob][photos] Create emailToName cache for contacts linked to people
2025-01-22 15:51:45 +05:30
Neeraj Gupta
e9ed423094
Lint fixes
2025-01-21 14:21:13 +05:30
ashilkn
394798d232
[mob][photos] Make Link button in link email page functional. Write method to call for unlinking email from person
2025-01-16 18:50:40 +05:30
laurenspriem
57e8eb7c03
[mob][photos] Force clustering on unclustered face
2025-01-16 17:55:39 +05:30
laurenspriem
d9fc53137d
[mob][photos] Dont double run clustering
2025-01-16 15:32:36 +05:30
laurenspriem
470d14d81f
[mob][photos] Rename
2025-01-16 15:24:52 +05:30
laurenspriem
5611f2f9d9
[mob][photos] Rename function
2025-01-16 15:22:57 +05:30
laurenspriem
429fcbf062
[mob][photos] Better logging
2025-01-16 15:16:10 +05:30
laurenspriem
b97a994f08
[mob][photos] Remove cluster bug
2025-01-14 11:58:31 +05:30
laurenspriem
044136ab0e
[mob][photos] Simplify
2025-01-13 12:33:33 +05:30
laurenspriem
7aa476b19d
[mob][photos] Log missing persons stronger
2025-01-08 14:04:14 +01:00
Neeraj Gupta
ae0654fce4
Merge remote-tracking branch 'origin/main' into pull_shared_indexes
2025-01-08 16:08:35 +05:30
Neeraj Gupta
645023a76d
[mob] Pull shared indexes
2025-01-08 12:23:24 +05:30
laurenspriem
6f63158699
[mob][photos] Simplify
2025-01-07 19:45:34 +01:00
laurenspriem
6805ee1a2a
[mob][photos] Suggestions less filtering on large size
2024-12-20 11:36:17 +01:00
laurenspriem
4dd22a646d
[mob][photos] Quick fix undo
2024-11-26 21:35:54 +05:30
Neeraj Gupta
09953bbc34
Merge remote-tracking branch 'origin/main' into save_contact
2024-11-21 11:06:24 +05:30