Update CollectionSuggestions and GroupSuggestions to default to collapsed state; enhance GenresPanel with pagination and sorting improvements
Modified CollectionSuggestions and GroupSuggestions components to start in a collapsed state for better UI experience. Enhanced GenresPanel by implementing pagination and updating sorting functionality to ensure a more manageable display of genre data, improving overall usability.
This commit is contained in:
@@ -23,7 +23,9 @@ export function GroupSuggestions() {
|
||||
const { t } = useTranslation()
|
||||
const queryClient = useQueryClient()
|
||||
const onError = useApiError()
|
||||
const [collapsed, setCollapsed] = useState(false)
|
||||
// Свёрнуто по умолчанию: предложения — подсказка, а не главное на экране, и развёрнутый
|
||||
// список из десятка строк отодвигал бы сам справочник за нижний край.
|
||||
const [collapsed, setCollapsed] = useState(true)
|
||||
const [showExisting, setShowExisting] = useState(false)
|
||||
|
||||
const { data, isLoading } = useQuery({
|
||||
|
||||
Reference in New Issue
Block a user