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
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,38 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace TeleWave.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class ShowFranchise : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "FranchiseExternalId",
table: "Shows",
type: "character varying(64)",
maxLength: 64,
nullable: true
);
migrationBuilder.AddColumn<string>(
name: "FranchiseName",
table: "Shows",
type: "character varying(256)",
maxLength: 256,
nullable: true
);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(name: "FranchiseExternalId", table: "Shows");
migrationBuilder.DropColumn(name: "FranchiseName", table: "Shows");
}
}
}
@@ -585,6 +585,14 @@ namespace TeleWave.Infrastructure.Migrations
.HasMaxLength(2048)
.HasColumnType("character varying(2048)");
b.Property<string>("FranchiseExternalId")
.HasMaxLength(64)
.HasColumnType("character varying(64)");
b.Property<string>("FranchiseName")
.HasMaxLength(256)
.HasColumnType("character varying(256)");
b.Property<int>("Kind")
.HasColumnType("integer");