stuff
Docker Build & Publish / build (push) Successful in 35s
Docker Build & Publish / push (push) Failing after 2s
Docker Build & Publish / Prune old image versions (push) Has been skipped

This commit is contained in:
Senko-san
2026-07-23 12:02:13 +03:00
parent 608b85a630
commit 205b51ec73
15 changed files with 704 additions and 9 deletions
+4 -1
View File
@@ -9,6 +9,7 @@ import {
Card,
TextField,
Callout,
SearchField,
} from '@olly/modern-sk';
import {
useGetTracksQuery,
@@ -31,6 +32,7 @@ import type { Track, Album, Artist } from '../../api/types';
import { getCoverUrl, getAlbumCoverUrl } from '../../api/endpoints/streaming';
import { formatDuration } from '../../lib/format';
import { useDebounce } from 'use-debounce';
import { MagnifyingGlassIcon } from '@phosphor-icons/react';
/** Case-insensitive substring match used for client-side search while offline
* (the server can't run the query, so we filter the locally-cached library). */
@@ -143,7 +145,8 @@ export function LibraryPage() {
{t('library.title')}
</h2>
<div style={{ flex: 1, maxWidth: '20rem' }}>
<TextField
<SearchField
icon={<MagnifyingGlassIcon />}
value={search}
onChange={(e) => setSearch(e.target.value)}
placeholder={t('library.searchPlaceholder')}