Uitsnede-dialoog: de tekst over opslaan van de hero is weg
Continuous Integration / config-sls (pull_request) Successful in 10s
Continuous Integration / config-asf (pull_request) Successful in 6s
Continuous Integration / changes (pull_request) Successful in 20s
Continuous Integration / compile-sites (pull_request) Successful in 2m12s
Continuous Integration / backend-build (pull_request) Successful in 2m16s
Continuous Integration / vulnerability-scan (pull_request) Successful in 2m19s
Continuous Integration / frontend-prepare (pull_request) Successful in 2m19s
Continuous Integration / frontend-build (pull_request) Successful in 45s
Continuous Integration / frontend-test (pull_request) Successful in 2m51s
Continuous Integration / backend-test (pull_request) Successful in 3m27s
Continuous Integration / frontend-lint (pull_request) Successful in 3m25s
Continuous Integration / publish-sls-test (pull_request) Skipped
Continuous Integration / publish-sls-production (pull_request) Skipped
Continuous Integration / deploy-sls-test (pull_request) Skipped
Continuous Integration / deploy-sls-production (pull_request) Skipped
Continuous Integration / publish-asf-test (pull_request) Skipped
Continuous Integration / deploy-asf-test (pull_request) Skipped
Continuous Integration / smoke-sls-test (pull_request) Skipped
Continuous Integration / smoke-asf-test (pull_request) Skipped

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 22:15:30 +01:00
co-authored by Claude Sonnet 5.5
parent 723226c7c4
commit 18c6f9598a
4 changed files with 2 additions and 4 deletions
@@ -98,7 +98,6 @@ function FocusEditor({ image, onApply, onClose }: { image: HeroImageDto; onApply
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 () => {