Merge branch 'feature/media-library-screen' into feature/media-library-phase2

# Conflicts:
#	frontend/src/i18n/locales/en/translation.json
#	frontend/src/i18n/locales/nl/translation.json
This commit is contained in:
2026-11-17 22:15:38 +01:00
4 changed files with 2 additions and 4 deletions
@@ -100,7 +100,6 @@ function FocusEditor({ image, onApply, onClose, onReset }: { image: HeroImageDto
return (
<div className="space-y-4" data-testid="focus-dialog">
<p className="text-sm text-muted-foreground">{t('hero.focus.intro')}</p>
<p className="text-sm font-medium" data-testid="focus-apply-hint">{t('hero.focus.applyHint')}</p>
<fieldset className="flex flex-wrap gap-4">
<legend className="sr-only">{t('hero.focus.targetLegend')}</legend>
@@ -281,7 +281,8 @@ describe('Focus dialog', () => {
expect(screen.getByTestId('focus-y')).toHaveValue(50);
expect(screen.getByTestId('focus-preview-wide')).toBeInTheDocument();
expect(screen.getByTestId('focus-preview-tall')).toBeInTheDocument();
expect(screen.getByTestId('focus-apply-hint')).toHaveTextContent(/pas nadat je de hero opslaat|only takes effect when you save the hero/);
// A crop is processed at once: there is no note about saving the hero.
expect(screen.queryByTestId('focus-apply-hint')).not.toBeInTheDocument();
});
it('moves the point with the keyboard', async () => {