mirror of
https://github.com/temetro/temetro.git
synced 2026-08-29 20:07:01 +00:00
frontend: dismissible chat error alert + compact import card
- the inline chat error now has an X to dismiss it, and is the single surface for errors (dropped the duplicate toast) so failures show once and clearly - the import preview card caps the skipped-rows list (scrolls, one line each with a "+N more" tail) so a file full of validation errors no longer renders a giant card Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -745,6 +745,7 @@
|
||||
"skipped": "Skipped",
|
||||
"total": "Parsed",
|
||||
"row": "Row {{index}}",
|
||||
"more": "+{{count}} more",
|
||||
"approve": "Import {{count}} record(s)",
|
||||
"approve_one": "Import 1 record",
|
||||
"reject": "Discard",
|
||||
@@ -758,7 +759,8 @@
|
||||
},
|
||||
"error": {
|
||||
"title": "AI request failed",
|
||||
"body": "Something went wrong reaching the AI. Check your provider and API key in Settings → AI."
|
||||
"body": "Something went wrong reaching the AI. Check your provider and API key in Settings → AI.",
|
||||
"dismiss": "Dismiss"
|
||||
}
|
||||
},
|
||||
"patientCard": {
|
||||
|
||||
Reference in New Issue
Block a user