feat(shared-ui): locale-aware highlighting + success feedback for InputBar

1. Extract hardcoded German highlight patterns into locale-specific sets
   (de, en, fr, it, es). InputBar accepts `locale` or custom
   `highlightPatterns` prop, defaulting to German for backward compat.

2. Add visual success feedback after creating: input bar flashes green
   with a checkmark icon for 1.2s, confirming the action was successful.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-23 20:55:31 +01:00
parent 45db42720c
commit 9edd1c6e2e
5 changed files with 227 additions and 62 deletions

View file

@ -398,6 +398,7 @@
onParseCreate={handleParseCreate}
createText="Erstellen"
deferSearch={true}
locale={$locale || 'de'}
appIcon="todo"
hasFabRight={true}
bottomOffset={isPillNavCollapsed ? '16px' : isFilterStripVisible ? '180px' : '110px'}