Implement functionality to add shows to existing collections from suggestions
Added a new endpoint for adding shows to already assembled franchises based on the same suggestion key. Updated the CollectionSuggestion and CollectionSuggestionDto records to include a CollectionId for tracking existing collections. Enhanced the CollectionSuggestions component in the frontend to support this new functionality, allowing users to add missing parts to existing collections. Updated localization strings to reflect the new addition feature in both English and Russian, ensuring clarity for users. Adjusted tests to verify the correct behavior of the addition process and its integration with existing collection logic.
This commit is contained in:
@@ -175,9 +175,12 @@ export const en = {
|
||||
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.',
|
||||
hint: 'Built from movies not in any collection yet: what to assemble into a new franchise and what to add to an assembled one. Check the parts — the name-based guess sometimes misses.',
|
||||
parts: '{{count}} parts',
|
||||
exists: 'already exists',
|
||||
additionBadge: 'addition',
|
||||
add: 'Add',
|
||||
added: 'Added to the collection: {{count}}',
|
||||
created: 'Collection created',
|
||||
allCreated: 'Every suggestion has been created already.',
|
||||
showExisting: 'Show already created ({{count}})',
|
||||
|
||||
Reference in New Issue
Block a user