feat(planner): change neutral badge copy to Kein Einfluss

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-09 15:03:39 +02:00
parent 7359eba946
commit 813ddf8214
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,7 @@
data-type="neutral"
style="display: inline-block; margin-top: 3px; font-size: 9px; font-weight: 500; padding: 1px 5px; border-radius: 3px; background: var(--yellow-tint); color: var(--yellow-text);"
>
= {delta.toFixed(1)} Punkte
Kein Einfluss
</span>
{/if}
{/snippet}

View File

@@ -115,7 +115,7 @@ describe('RecipePicker', () => {
const alleRezepte = screen.getByTestId('alle-rezepte-section');
const badge = within(alleRezepte).getByTestId('badge-r1');
expect(badge.getAttribute('data-type')).toBe('neutral');
expect(badge.textContent).toContain('0.0');
expect(badge.textContent).toContain('Kein Einfluss');
});
it('Empfohlen shows only positive-delta suggestions, capped at 5', () => {