Implement bulk tagging and enriching of shows with new API endpoints and frontend integration
ci / build-backend (push) Successful in 2m4s
ci / build-frontend (push) Successful in 53s
ci / tests (push) Successful in 1m59s
ci / sonar (push) Successful in 6m6s

Added new API endpoints for bulk tagging and enriching shows, allowing for mass updates of genres and audience ratings. Implemented backend logic to handle bulk operations and updated the Dependency Injection configuration to include necessary services. Enhanced the frontend with new components for selecting shows and applying bulk actions, improving the user experience for managing multiple shows simultaneously. Localization updates were made to support these new features in both English and Russian.
This commit is contained in:
Leonid Pershin
2026-07-27 05:18:18 +03:00
parent 91af589547
commit 1a7f73a5bd
25 changed files with 1011 additions and 107 deletions
@@ -101,6 +101,26 @@ export function GroupFilterPanel({
<p className="text-xs text-muted-foreground">{t('admin.groups.filter.audienceHint')}</p>
</div>
{/* Нижняя граница — под ночные слоты. Ведёт себя не зеркально верхней, поэтому и подсказка своя. */}
<div className="flex flex-col gap-1.5">
<Label>{t('admin.groups.filter.minAudience')}</Label>
<select
className="h-9 rounded-md border border-border bg-transparent px-2"
value={filter.minAudience ?? ''}
onChange={(e) =>
patch({ minAudience: e.target.value === '' ? null : (e.target.value as ShowAudience) })
}
>
<option value="">{t('admin.groups.filter.any')}</option>
{SHOW_AUDIENCES.map((value) => (
<option key={value} value={value}>
{t(`admin.shows.audiences.${value}`)}
</option>
))}
</select>
<p className="text-xs text-muted-foreground">{t('admin.groups.filter.minAudienceHint')}</p>
</div>
<div className="flex flex-col gap-1.5">
<Label>{t('admin.groups.filter.year')}</Label>
<div className="flex items-center gap-2">