Hero-admin: schakelaar Actief, destructieve knoppen rood, slide-kopjes, juiste voorvertoning in het focusvenster, status per foto

- Schakelaar (role=switch) Actief / Niet actief bij de knoppen, gedimde rij; 'Verberg voor schermlezers'; veld 'Beschrijving' binnen een groep 'Slide N'
- Alle foto's zonder complete set tonen 'Wordt verwerkt' (voortgang bij de foto die bezig is, 'in de wachtrij' bij de rest); totaal bovenaan telt ook nog niet opgeslagen foto's
- Per foto 'Verwerking afgerond' (zelfde weergave voor een hergebruikte foto), foto direct bruikbaar; niet-opgeslagen foto's worden zelf ververst (GET /hero/images/{id}), ook in een achtergrondtab
- Focusvenster toont de hele foto (full-preview in elke set, achtergrond-aanvulling voor oude sets) in plaats van de uitgesneden wide-variant (vervorming)
- Prullenbak en 'Wijzigingen weggooien' in de destructieve stijl
- upload-respons: reused (intern)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 23:26:47 +01:00
co-authored by Claude Sonnet 5.5
parent 9f07934f9e
commit 6999f5b2ba
25 changed files with 794 additions and 73 deletions
@@ -115,9 +115,23 @@ public class HeroAsfSiteE2ETests : IClassFixture<AsfSiteFactory>
await InScope(async sp =>
{
// The variants are cut by the background renderer in production; here it is run to the end at once.
while (await sp.GetRequiredService<IHeroImageService>().RenderNextPendingAsync(new HashSet<Guid>(), default) is not null)
// The shared test database may hold rows of earlier runs whose files are gone: those fail and are skipped,
// the way the background renderer gives up on them.
var skip = new HashSet<Guid>();
while (true)
{
try
{
if (await sp.GetRequiredService<IHeroImageService>().RenderNextPendingAsync(skip, default) is null)
{
break;
}
}
catch (HeroImageRenderException failure)
{
skip.Add(failure.ImageId);
}
}
return true;
});
@@ -136,8 +136,22 @@ public class HeroInjectionPipelineTests : IClassFixture<HeroInjectionFactory>
await InScope(async sp =>
{
// The variants are cut by the background renderer in production; here it is run to the end at once.
while (await sp.GetRequiredService<IHeroImageService>().RenderNextPendingAsync(new HashSet<Guid>(), default) is not null)
// The shared test database may hold rows of earlier runs whose files are gone: those fail and are skipped,
// the way the background renderer gives up on them.
var skip = new HashSet<Guid>();
while (true)
{
try
{
if (await sp.GetRequiredService<IHeroImageService>().RenderNextPendingAsync(skip, default) is null)
{
break;
}
}
catch (HeroImageRenderException failure)
{
skip.Add(failure.ImageId);
}
}
return true;