feat: add ignore menu item to transaction inbox card (#758)
Imported bank transactions can now be hidden from the inbox via a new
"Ignorera transaktion" item in the ⋯ overflow menu. The backend
(POST/DELETE /api/transactions/[id]/ignore) and the is_ignored DB column
already existed; this wires up the missing UI affordance.
- TransactionInboxCard: add onIgnore prop + EyeOff menu item (imported
rows only — manually created rows use delete instead)
- page.tsx: pass onIgnore={handleIgnoreTransaction} to the card; add
handleBatchIgnore for the batch action bar's new "Ignorera" button
- sv.json / en.json: add ignore_btn translation key to tx_inbox_card
Signed-off-by: Jonas Flodén <jonas@floden.nu>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
5279dfb494
commit
a4da2d62df
@@ -1720,6 +1720,7 @@
|
||||
"match_voucher_btn": "Match to existing voucher",
|
||||
"attach_document_btn": "Match to document",
|
||||
"more_actions_aria": "More actions",
|
||||
"ignore_btn": "Ignore transaction",
|
||||
"delete_aria": "Delete transaction",
|
||||
"edit_title_aria": "Edit title",
|
||||
"edited_badge": "edited",
|
||||
|
||||
@@ -1720,6 +1720,7 @@
|
||||
"match_voucher_btn": "Matcha mot befintlig verifikation",
|
||||
"attach_document_btn": "Matcha mot underlag",
|
||||
"more_actions_aria": "Fler åtgärder",
|
||||
"ignore_btn": "Ignorera transaktion",
|
||||
"delete_aria": "Ta bort transaktion",
|
||||
"edit_title_aria": "Ändra titel",
|
||||
"edited_badge": "redigerad",
|
||||
|
||||
Reference in New Issue
Block a user