mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(mobile): fix text search (#14873)
* fix(mobile): fix text search * chore(mobile): add tests for SearchPage * fix(mobile): fix render overflow for small screens Needed for SearchPage test to not throw overflow error * chore(mobile): update import_rule_openapi * styling * preserve styling and skip a test --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
776be7d205
commit
c148a28a82
9 changed files with 215 additions and 8 deletions
|
|
@ -53,6 +53,7 @@ class FilterBottomSheetScaffold extends StatelessWidget {
|
|||
),
|
||||
const SizedBox(width: 8),
|
||||
ElevatedButton(
|
||||
key: const Key('search_filter_apply'),
|
||||
onPressed: () {
|
||||
onSearch();
|
||||
context.pop();
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ class MediaTypePicker extends HookWidget {
|
|||
shrinkWrap: true,
|
||||
children: [
|
||||
RadioListTile(
|
||||
key: const Key("search_filter_media_type_all"),
|
||||
title: const Text("search_filter_media_type_all").tr(),
|
||||
value: AssetType.other,
|
||||
onChanged: (value) {
|
||||
|
|
@ -26,6 +27,7 @@ class MediaTypePicker extends HookWidget {
|
|||
groupValue: selectedMediaType.value,
|
||||
),
|
||||
RadioListTile(
|
||||
key: const Key("search_filter_media_type_image"),
|
||||
title: const Text("search_filter_media_type_image").tr(),
|
||||
value: AssetType.image,
|
||||
onChanged: (value) {
|
||||
|
|
@ -35,6 +37,7 @@ class MediaTypePicker extends HookWidget {
|
|||
groupValue: selectedMediaType.value,
|
||||
),
|
||||
RadioListTile(
|
||||
key: const Key("search_filter_media_type_video"),
|
||||
title: const Text("search_filter_media_type_video").tr(),
|
||||
value: AssetType.video,
|
||||
onChanged: (value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue