58 Commits

Author SHA1 Message Date
ashilkn
b4f192fac1 [mob][photos] Minor fix 2024-11-06 21:17:06 +05:30
ashilkn
bdc80c8f97 Merge branch 'main' into hierarchical_search 2024-11-05 22:31:42 +05:30
ashilkn
8c708530ef [mob][photos] Perf improvements to hierarchical search
Normal search and hierarchical search needs slightly different set of files. Refactored code in such a way that the elements in both these lists are references of a elements in a list of all files and hence reducing the memory needed for search and hierarchical search combined. Files used for hierarchical search contain only uploaded files now, rather than mix of uploaded and un-uploaded, reducing iterations required for hierarchical search
2024-10-24 17:17:50 +05:30
laurenspriem
1bf6b56f96 [mob][photos] Switch ML flags 2024-10-24 17:06:33 +05:30
ashilkn
9a07038bdf [mob][photos] Resolve merge conflicts and merge main 2024-10-19 22:40:17 +05:30
ashilkn
3716eb3d30 [mob][photos] Make MagicResultScreen hierarchical searchable 2024-10-19 22:22:06 +05:30
ashilkn
f66e49313d [mob][photos] Show magic filter recommendations for a gallery using magic cache used for the discovery section 2024-10-19 19:26:43 +05:30
Neeraj Gupta
be6a002374 [mob] ServiceLocator for MagicCacheService 2024-10-18 22:50:50 +05:30
ashilkn
171e96976a [mob][photos] Attach a SearchResults's corresponding HierarchicalSearchFilter to it when ever a instance is created 2024-10-11 20:57:45 +05:30
Neeraj Gupta
08cf14a72b [mob] Minor improvement in magicSearch cache refresh 2024-09-28 14:14:08 +05:30
Neeraj Gupta
6464bf172f refactor 2024-09-23 14:30:40 +05:30
Neeraj Gupta
46e6af660e [mob] Log to match count for magicSearch 2024-09-23 14:29:02 +05:30
Neeraj Gupta
b18d987ba2 [mob] Upgrade discover results more frequently 2024-09-23 14:26:31 +05:30
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