Finalizing The WebUI for alpha/beta testing next week.

The WebUI is mostly done for now, The only missing piece is backend view, which isn't something we will include in the first release.
This commit is contained in:
abdulmohsen
2024-05-10 18:56:17 +03:00
parent fbd95471ec
commit 5f0874d64b
15 changed files with 403 additions and 212 deletions

View File

@@ -286,17 +286,64 @@ final class Index
'last_url' => $lastUrl,
],
'searchable' => [
'id',
'via',
'year',
'type',
'title',
'season',
'episode',
'parent',
'guid',
'metadata',
'extra',
[
'key' => 'id',
'description' => 'Search using local history id.',
'type' => 'int',
],
[
'key' => 'via',
'description' => 'Search using the backend name.',
'type' => 'string',
],
[
'key' => 'year',
'description' => 'Search using the year.',
'type' => 'int',
],
[
'key' => 'type',
'description' => 'Search using the content type.',
'type' => [
'movie',
'episode',
],
],
[
'key' => 'title',
'description' => 'Search using the title.',
'type' => 'string',
],
[
'key' => 'season',
'description' => 'Search using the season number.',
'type' => 'int',
],
[
'key' => 'episode',
'description' => 'Search using the episode number.',
'type' => 'int',
],
[
'key' => 'parent',
'description' => 'Search using the parent GUID.',
'type' => 'guid://id',
],
[
'key' => 'guid',
'description' => 'Search using the GUID.',
'type' => 'guid://id',
],
[
'key' => 'metadata',
'description' => 'Search using the metadata JSON field. Searching this field might be slow.',
'type' => 'backend.field://value',
],
[
'key' => 'extra',
'description' => 'Search using the extra JSON field. Searching this field might be slow.',
'type' => 'backend.field://value',
],
],
];