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
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:
@@ -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 () => {
|
||||
|
||||
@@ -709,7 +709,6 @@
|
||||
"tall": "Portrait preview"
|
||||
},
|
||||
"apply": "Apply",
|
||||
"applyHint": "The change only takes effect when you save the hero. If you leave the page without saving it is dropped.",
|
||||
"previewPending": "The preview of this photo is being prepared. Close this window and try again in a few seconds."
|
||||
},
|
||||
"errors": {
|
||||
|
||||
@@ -709,7 +709,6 @@
|
||||
"tall": "Voorbeeld staand"
|
||||
},
|
||||
"apply": "Toepassen",
|
||||
"applyHint": "De wijziging geldt pas nadat je de hero opslaat. Verlaat je de pagina zonder op te slaan, dan vervalt ze.",
|
||||
"previewPending": "Het voorbeeld van deze foto wordt klaargezet. Sluit dit venster en probeer het over een paar seconden opnieuw."
|
||||
},
|
||||
"errors": {
|
||||
|
||||
Reference in New Issue
Block a user