feat: show success toast after diagram download completes

- Add optional successMessage parameter to saveDiagramToFile()
- Show toast after file download is initiated, not when dialog opens
- Add i18n strings for success message (en/ja/zh)

This is the correct implementation for issue #479 - showing feedback
after the actual save completes rather than when the save dialog opens.
This commit is contained in:
dayuan.jiang
2026-01-04 12:56:50 +09:00
parent 2637da3215
commit 5fd7d4364f
5 changed files with 23 additions and 4 deletions

View File

@@ -117,7 +117,8 @@
"drawio": "Draw.io XML",
"png": "PNG 画像",
"svg": "SVG 画像"
}
},
"savedSuccessfully": "保存完了!"
},
"history": {
"title": "ダイアグラム履歴",