24 Commits

Author SHA1 Message Date
Neeraj Gupta
258c47eba4 [mob] Clean up 2024-09-17 14:41:08 +05:30
Neeraj Gupta
3c7b8fd0e8 [mob] Used computer to read prompt 2024-09-17 14:31:10 +05:30
ashilkn
0ae32a3882 [mob][photos] Make hero animations work 2024-09-11 20:21:14 +05:30
ashilkn
37022f7d7d [mob][photos] Add option to sort by most recent and most relevant on magic results screen 2024-09-11 18:54:36 +05:30
ashilkn
83ffce2a24 [mob][photos] Keep order of files (sorted by highest score) in magic section 2024-09-11 11:03:34 +05:30
ashilkn
9fa1e77947 [mob][photos] Use better names 2024-09-11 11:00:24 +05:30
ashilkn
ae5ebf4bf9 [mob][photos] Make reading of magic cache syncronous for faster loading of search tab 2024-09-10 18:28:09 +05:30
ashilkn
c9a96df720 [mob][photos] Respect the order given in JSON of magic prompts on the UI 2024-09-10 18:17:42 +05:30
ashilkn
537f376ebd [mob][photos] Remove limit of discovery section for non-internal users 2024-09-10 18:12:09 +05:30
ashilkn
4c3007ccc8 [mob][photos] Make most of file io async in handling magic cache 2024-09-10 17:57:34 +05:30
ashilkn
fe92c1b30f [mob][photos] Fix discovery section not appearing 2024-09-06 19:19:43 +05:30
Neeraj Gupta
a1b447c5c8 [mob] Rename 2024-08-21 23:14:28 +05:30
Neeraj Gupta
5beec1d3dd [mob] Skip magic refresh if indexing is disabled 2024-08-21 23:05:40 +05:30
ashilkn
89ff4cf43e [mob][photos] Initialise MagicCacheService only if internal user 2024-07-13 14:26:07 +05:30
ashilkn
e722024f8f [mob][photos] Catch any exceptions or errors when getting results for magic section and return an empty list to avoid showing a blank search tab 2024-06-25 10:13:43 +05:30
ashilkn
35b42d4743 [mob][photos] clean up 2024-06-25 09:43:50 +05:30
ashilkn
8fae7719b5 [mob][photos] Update magic cache every 3 days 2024-06-25 09:31:24 +05:30
ashilkn
b21fe76b3f [mob][photos] Save magic cache to local path instead of saving it in shared preferences 2024-06-24 17:30:33 +05:30
ashilkn
84f2c6d102 [mob][photos] Show 4 instead of 6 magic results in magic section for non-internal users 2024-06-24 16:53:20 +05:30
ashilkn
908e37f56f [mob][photos] Update MagicCache every 3 days 2024-06-24 16:48:25 +05:30
ashilkn
98c444fab9 [mob][photos] Make methods private 2024-06-24 15:43:16 +05:30
ashilkn
815a730d59 [mob][photos] Schedule update magic cache in 10 seconds if remote asset has changed 2024-06-24 15:29:56 +05:30
ashilkn
11666eeb33 [mob][photos] Write function that selected 4 prompts from list of prompts at random and returns them as MagicCache objects 2024-06-24 15:28:31 +05:30
ashilkn
f5873d2ade [mob][photos] MagicCache model and MagicCacheService 2024-06-24 10:19:36 +05:30