feat: add delete-after-action dialogs and auto-refresh in inbox
Build and Push Multi-Platform Images / build-and-push (push) Successful in 17s

- Show confirmation dialog to delete document after download or email send
- Auto-refresh inbox list every 30 seconds
- Rename "Vorschau" button to "Weiterverarbeiten"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-21 15:20:55 +02:00
parent 7de22c9418
commit 2df3af719b
2 changed files with 48 additions and 2 deletions
+6 -1
View File
@@ -209,6 +209,11 @@ export default function InboxPage() {
load();
}, [load]);
useEffect(() => {
const id = setInterval(load, 30_000);
return () => clearInterval(id);
}, [load]);
const handleRescan = async () => {
setRescanning(true);
const hide = message.loading('Rescan läuft das kann je nach Anzahl der Dokumente dauern …', 0);
@@ -324,7 +329,7 @@ export default function InboxPage() {
icon={<EyeOutlined />}
onClick={() => navigate(`/inbox/${encodeURIComponent(record.id)}`)}
>
Vorschau
Weiterverarbeiten
</Button>
</Tooltip>
<Popconfirm