mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 13:46:42 +02:00
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:
parent
45db42720c
commit
9edd1c6e2e
5 changed files with 227 additions and 62 deletions
|
|
@ -398,6 +398,7 @@
|
|||
onParseCreate={handleParseCreate}
|
||||
createText="Erstellen"
|
||||
deferSearch={true}
|
||||
locale={$locale || 'de'}
|
||||
appIcon="todo"
|
||||
hasFabRight={true}
|
||||
bottomOffset={isPillNavCollapsed ? '16px' : isFilterStripVisible ? '180px' : '110px'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue