45 Commits

Author SHA1 Message Date
Neeraj Gupta
038a40b320 Lint fix 2024-09-18 12:46:44 +05:30
Neeraj Gupta
5fa05e3406 Extract strings 2024-09-18 12:39:38 +05:30
Neeraj Gupta
3577b1f213 Lint 2024-09-18 12:16:15 +05:30
Neeraj Gupta
30b508fa56 [mob] Enable discover for all 2024-09-18 12:05:13 +05:30
Neeraj Gupta
d308eb9274 [mob] Fix ordering for discover results 2024-09-18 12:04:27 +05:30
Neeraj Gupta
b4c6805d42 [mob] Support for force refresh 2024-09-18 11:52:03 +05:30
Neeraj Gupta
9c1f744f73 [mob] Switch to list for maintaining order 2024-09-18 11:42:54 +05:30
ashilkn
2c4dd13ab0 [mob][photos] Update magic section UI when magic cache gets updated 2024-09-18 09:17:17 +05:30
Neeraj Gupta
637974f63b [mob] Fix showRecent handling in all page 2024-09-18 00:27:56 +05:30
Neeraj Gupta
fff633aebe [mob] Keep json sorting for discover 2024-09-17 17:40:26 +05:30
Neeraj Gupta
63144d50fc [mob] Hook refresh for discover section 2024-09-17 17:32:40 +05:30
Neeraj Gupta
e66c4390bb [mob] Fix delay 2024-09-17 17:09:00 +05:30
Neeraj Gupta
df44e6d1a9 [mob] Fix delay 2024-09-17 16:53:44 +05:30
Neeraj Gupta
fd29a982cc [mob] Support for showing recent first in discover 2024-09-17 16:47:17 +05:30
Neeraj Gupta
6720f16ceb [mob] Support for excluding video in discover 2024-09-17 16:38:54 +05:30
Neeraj Gupta
72c1d83714 [mob] Inline 2024-09-17 16:25:17 +05:30
Neeraj Gupta
29503a077d [mob] Optimize cache update 2024-09-17 16:18:42 +05:30
Neeraj Gupta
e79e932014 [mob] Speed up computation of discover section 2024-09-17 16:06:08 +05:30
Neeraj Gupta
66c3870518 [mob] Cache magic result in memory 2024-09-17 15:47:26 +05:30
Neeraj Gupta
98e0aeee8a [mob] Log time taken to get all results 2024-09-17 15:22:03 +05:30
Neeraj Gupta
785cac2c70 [mob] Define modal for remote prompt 2024-09-17 15:03:30 +05:30
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