mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat(mobile): improve explore page and allow metadata search (#2097)
This commit is contained in:
parent
f0e272d0f2
commit
0854737be2
16 changed files with 249 additions and 54 deletions
|
|
@ -22,8 +22,7 @@ class ExploreGrid extends StatelessWidget {
|
|||
width: 100,
|
||||
child: ThumbnailWithInfo(
|
||||
textInfo: '',
|
||||
onTap: () {
|
||||
},
|
||||
onTap: () {},
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
@ -42,9 +41,10 @@ class ExploreGrid extends StatelessWidget {
|
|||
return ThumbnailWithInfo(
|
||||
imageUrl: thumbnailRequestUrl,
|
||||
textInfo: content.label,
|
||||
borderRadius: 0,
|
||||
onTap: () {
|
||||
AutoRouter.of(context).push(
|
||||
SearchResultRoute(searchTerm: content.label),
|
||||
SearchResultRoute(searchTerm: 'm:${content.label}'),
|
||||
);
|
||||
},
|
||||
);
|
||||
|
|
@ -52,5 +52,4 @@ class ExploreGrid extends StatelessWidget {
|
|||
itemCount: curatedContent.length,
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue