Public Access
refactor(limits): server limits in one file, own texts for unknown errors
This commit is contained in:
1 parent
f605917874
commit
24a98062ee
18 files changed
+84
-49
No files matched your search
@@ -6,7 +6,8 @@ import SyncStatusBadge from '../components/SyncStatusBadge.jsx';
|
||||
import useForceSync from '../hooks/useForceSync.js';
|
||||
import useSessionExpired from '../hooks/useSessionExpired.js';
|
||||
import {formatPlaytime} from '../utils/games.js';
|
||||
import {GAME_STATUSES, libraryQuery, parseStatus} from '../utils/backlog.js';
|
||||
import {libraryQuery, parseStatus} from '../utils/backlog.js';
|
||||
import {GAME_STATUSES, MAX_LIBRARY_SEARCH_LENGTH} from '../utils/limits.js';
|
||||
import {ArrowUpDown, ChevronLeft, ChevronRight, Clock, EyeOff, Gamepad2, Library, Plus, RefreshCw, Search, SearchX, Timer, Trophy, Upload} from 'lucide-react';
|
||||
|
||||
import {Badge} from '@/components/ui/badge';
|
||||
@@ -269,7 +270,7 @@ export default function GameLibrary() {
|
||||
onChange={(e) => setSearch(e.target.value)}
|
||||
placeholder={t('LIBRARY.SEARCH_PLACEHOLDER')}
|
||||
aria-label={t('LIBRARY.SEARCH_PLACEHOLDER')}
|
||||
maxLength={100}
|
||||
maxLength={MAX_LIBRARY_SEARCH_LENGTH}
|
||||
className="pl-8"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user