27 Commits

Author SHA1 Message Date
Neeraj Gupta
a0025ab09b [mob] Lint fixes 2025-02-18 13:48:28 +05:30
ashilkn
52663ae218 [mob][photos] Add comment 2024-11-07 22:00:34 +05:30
ashilkn
c5aecaf501 [mob][photos] Remove unused method 2024-11-07 21:54:11 +05:30
ashilkn
655d9602e0 [mob][photos] Dispose all notifiers of SearchFilterDataProvider after use 2024-11-07 21:47:58 +05:30
ashilkn
30cde90a68 [mob][photos] Only add initialGalleryFilter to filters to avoid in recommendations list when there are no applied filters
This resolves a bug: If 'A' is the initialGalleryFilter and a filter 'B' is applied (in this state both A and B filters are applied), and then the filter 'A' is removed, in recommendations, filter 'A' is not recommended since it's passed as a filter to avoid in recommendations
2024-11-05 16:18:49 +05:30
ashilkn
b036079249 [mob][photos] Do not show any face filters in recommendations when an 'Only them' filter is applied 2024-11-04 17:49:20 +05:30
ashilkn
e6813aa042 [mob][photos] When an 'only them' filter is added, remove all individual face filters from applied list 2024-10-29 20:20:31 +05:30
ashilkn
1e868ac624 [mob][photos] Add 'isApplied' state to filters, change UI for applied filters 2024-10-22 17:17:00 +05:30
ashilkn
2d6bd7f5a5 [mob][photos] Only show most relevant filters in app bar as recommendation and capped to max 16 2024-10-22 15:20:48 +05:30
ashilkn
c8990d8f40 [mob][photos] Make filters useable (make them appear on appbar) in named people page 2024-10-18 09:50:10 +05:30
ashilkn
fd9269ccdf [mob][photos] Make sure AppliedFilters or RecommendedFilters widget is not used when a gallery is not hierarchical searchable 2024-10-18 09:41:13 +05:30
ashilkn
4b72817864 [mob][photos] Make initialGalleryFilter non-nullable and make a a required parameter of SearchFilterDataProvider 2024-10-03 08:47:35 +05:30
ashilkn
007f7aa5d6 [mob][photos] Create a new widget 'HierarchicalSearchGallery' and use it when the first filter is added instead of handling everything in the 'Gallery' widget
Using a separate gallery for Hierarchical Search makes it easier to plug this in in different galleries
2024-10-02 10:05:26 +05:30
ashilkn
79e49d49d4 [mob][photos] Resolve merge conflicts and merge main 2024-09-30 13:01:35 +05:30
ashilkn
c7a4cbc365 [mob][photos] Create new inheirted widget to store all files in gallery and throw exception/assert to make sure it's never used incorrectly 2024-09-27 18:41:12 +05:30
ashilkn
38ee4cd1da [mob][photos] Safely add filters to recommended list ensuring that the not any already existing filters in recommended or applied is added 2024-09-25 19:23:34 +05:30
ashilkn
17cf7fe6a4 [mob][photos] On applying the first filter on hierarchical search, add the initial gallery filter to applied filters
If we are on an album named 'Trip to Coorg' and another album filter is added, a functional  filter chip will get added to applied filters automatically
2024-09-25 15:41:07 +05:30
ashilkn
bd6fe03710 [mob][photos] Do not show up the initial gallery filter on hierarchical search's filter recommendations
For example, if we search for an album 'Trip to Coorg' and go in the album, 'Trip to Coorg' shouldn't come up in recommended filters
2024-09-25 13:14:54 +05:30
ashilkn
85fe1168a1 [mob][photos] Improvements to SearchFilterDataProvider 2024-09-21 15:01:18 +05:30
ashilkn
72a40a63d9 [mob][photos] Create an inherited widget to store searchFilterDataProvider for gallery screens 2024-09-20 19:01:14 +05:30
ashilkn
6a735e1a6a [mob][photos] Create a SearchFilterDataProvider which will be used to update the recommended and applied filters list and make it possible to listen to applied and recommended state changes separately from it 2024-09-20 19:00:01 +05:30
ashilkn
5d61750508 [mob][photos] Remove comments, clean up, use better variable name, add comments 2024-06-19 12:56:00 +05:30
ashilkn
4f18fff36b [mob][photos] Assert or log depending on the context if inherited widget holding selection state is used in a wrong way 2024-06-17 08:16:31 +05:30
ashilkn
f001812a1d [mob][photos] Assert that SelectionState inherited widget is in context or not 2024-06-15 12:23:45 +05:30
ashilkn
f04e54f68b [mob][photos] Select all MVP 2024-06-14 22:30:02 +05:30
Neeraj Gupta
da329c498c [mob] Add groupType in Gallery context state 2024-05-04 12:00:16 +05:30
Manav Rathi
41b2581b8f Move into mobile/ 2024-03-01 12:25:37 +05:30