Add group suggestions feature with API endpoints and frontend integration
Implemented new API endpoints for suggesting groups based on the current library, allowing admins to retrieve and create groups from suggestions. Updated the backend to include error handling for suggestions and added necessary DTOs. Enhanced the frontend with new API functions and UI components to display suggestions, improving the user experience for group management. Localization updates were made to support new features in both English and Russian.
This commit is contained in:
@@ -101,7 +101,22 @@ export const ru = {
|
||||
found: 'Найдено: {{total}}, новых: {{fresh}}',
|
||||
added: 'Добавлено позиций: {{count}}',
|
||||
alreadyIn: 'уже в группе',
|
||||
pendingFound: 'Под правило группы подходит нового: {{count}} —',
|
||||
pendingAdd: 'Добавить все ({{count}})',
|
||||
elementKinds: { Show: 'Шоу', Collection: 'Коллекция' },
|
||||
suggestions: {
|
||||
title: 'Предложения',
|
||||
hint: 'Собрано по текущей библиотеке. Кнопка создаёт группу с этим составом и сохраняет правило набора — новое из библиотеки потом добавится в один клик.',
|
||||
stats: '{{shows}} шоу · {{units}} ед.',
|
||||
exists: 'уже есть',
|
||||
created: 'Группа создана',
|
||||
kinds: {
|
||||
Genre: 'жанр',
|
||||
ShowKind: 'тип',
|
||||
Audience: 'рейтинг',
|
||||
BigSeries: 'крупный сериал',
|
||||
},
|
||||
},
|
||||
filter: {
|
||||
title: 'Правило набора',
|
||||
hint: 'Правило только ищет кандидатов — состав группы остаётся явным списком.',
|
||||
|
||||
Reference in New Issue
Block a user