Enhance channel settings to include icon image support for IPTV
ci / build-backend (push) Successful in 1m18s
ci / build-frontend (push) Successful in 39s
ci / tests (push) Successful in 1m22s
ci / sonar (push) Successful in 3m41s

Updated the Channel and related DTOs to incorporate an optional IconImageId property, allowing for the specification of a channel icon for external IPTV players. Modified the UpdateChannelSettings command and its handler to accommodate this new property. Adjusted frontend components to manage the icon image, including selection and display functionality. Updated localization files to support new UI elements related to the IPTV icon. This enhancement improves the user experience by providing a visual representation of channels in IPTV applications.
This commit is contained in:
Leonid Pershin
2026-08-02 17:07:24 +03:00
parent bed6d4fcfc
commit 7a164dbd90
27 changed files with 1758 additions and 28 deletions
@@ -48,7 +48,7 @@ public class ChannelHandlersTests
await using var db = fixture.New();
var result = await new UpdateChannelSettingsCommandHandler(db).Handle(
new UpdateChannelSettingsCommand(channel.Id, "c2", true, null),
new UpdateChannelSettingsCommand(channel.Id, "c2", true, null, null),
CancellationToken.None
);
Assert.True(result.IsSuccess);