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 ru = {
|
||||
orderHint: 'Порядок частей задаётся перетаскиванием — в нём они и пойдут в эфир.',
|
||||
suggestions: {
|
||||
title: 'Предложения франшиз',
|
||||
hint: 'Собрано из полнометражек, не входящих ни в одну коллекцию. Проверьте состав — по названиям догадка иногда промахивается.',
|
||||
hint: 'Собрано из полнометражек, не входящих ни в одну коллекцию: что собрать в новую франшизу и чем дополнить уже собранную. Проверьте состав — по названиям догадка иногда промахивается.',
|
||||
parts: '{{count}} частей',
|
||||
exists: 'уже есть',
|
||||
additionBadge: 'дополнение',
|
||||
add: 'Добавить',
|
||||
added: 'Добавлено в коллекцию: {{count}}',
|
||||
created: 'Коллекция создана',
|
||||
allCreated: 'Все предложения уже созданы.',
|
||||
showExisting: 'Показать уже созданные ({{count}})',
|
||||
|
||||
Reference in New Issue
Block a user