Implement collection suggestions and bulk show addition features
ci / build-backend (push) Successful in 2m41s
ci / build-frontend (push) Successful in 44s
ci / tests (push) Successful in 2m33s
ci / sonar (push) Successful in 5m12s

Added new API endpoints for suggesting collections based on existing shows and for bulk adding shows to collections. Enhanced the backend with necessary logic and DTOs to support these features. Updated the frontend to include new components for displaying collection suggestions and managing bulk additions, improving the user experience for collection management. 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:39:23 +03:00
parent 1a7f73a5bd
commit 5ad28b2966
39 changed files with 2710 additions and 10 deletions
+18
View File
@@ -116,6 +116,7 @@ export const en = {
restore: 'Restore',
dynamicOrderHint:
'Order: pinned items first (drag to arrange), then rule matches alphabetically.',
previewComposition: 'With this rule the composition would be: {{count}}',
pendingFound: 'New matches for this rule: {{count}} —',
pendingAdd: 'Add all ({{count}})',
elementKinds: { Show: 'Show', Collection: 'Collection' },
@@ -165,6 +166,14 @@ export const en = {
pickShow: 'Pick a show',
empty: 'Collection is empty',
orderHint: 'Drag to set the order of the parts — that is the order they air in.',
suggestions: {
title: 'Franchise suggestions',
hint: 'Built from movies not in any collection yet. Check the parts — the name-based guess sometimes misses.',
parts: '{{count}} parts',
exists: 'already exists',
created: 'Collection created',
sources: { Metadata: 'from metadata', NameGuess: 'by names' },
},
},
interstitials: {
title: 'Clips',
@@ -281,6 +290,7 @@ export const en = {
uploadingCount: 'Uploading {{done}}/{{total}}',
cancelAll: 'Cancel all uploads',
skippedDuplicates: 'Skipped duplicates: {{count}}',
queueDrained: 'Processing finished — the queue is empty',
filterActive: 'Active',
filterAll: 'All',
name: 'File',
@@ -363,12 +373,20 @@ export const en = {
enriching: 'Searching…',
enriched: 'Metadata applied: {{count}}',
moreSkipped: 'Skipped as well: {{count}}',
toCollection: 'To collection…',
toCollectionHint:
'The selected shows go into a franchise. Parts are ordered by release year; drag to rearrange them in the collection card.',
newCollection: 'New collection',
addToCollection: 'Add ({{count}})',
addedToCollection: '“{{name}}” updated: {{count}}',
},
genresEmpty: 'No genres set',
genresEdit: 'Genres',
genresHint:
'Pick the genres of the show. The primary one is listed; all of them are used for selection.',
genrePrimary: 'primary',
inGroups: 'In groups',
inChannels: 'Scheduled on',
inCollections: 'Part of collections',
episodes: 'Episodes',
episode: 'Episode',