feat(cms): retire legacy single-track forms; route single-track edit into BatchEdit (8.M)

This commit is contained in:
daniel-c-harvey
2026-06-14 11:53:06 -04:00
parent 05130aaed2
commit 898fcfaa04
6 changed files with 67 additions and 603 deletions
@@ -360,7 +360,7 @@
else
{
// The upload endpoint does not accept an imagePath, so link the cover art with
// a follow-up metadata update — same two-step pattern TrackNew/TrackEdit use.
// a follow-up metadata update — same two-step pattern BatchEdit uses.
if (_imagePath is { } imgPath)
{
var linkResult = await CmsTrackService.UpdateAsync(
@@ -377,7 +377,7 @@
if (!linkResult.Success)
{
// Non-blocking: track is persisted; cover art can be linked via TrackEdit.
// Non-blocking: track is persisted; cover art can be re-linked by editing.
Logger.LogWarning("Batch upload: cover art link failed for '{TrackName}' (id={Id}) — track uploaded but image unlinked",
row.TrackName, result.Value.Id);
}