mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-04-24 15:31:50 +01:00
feat: add copyable ID to delete confirmation dialogs
When deleting databases or containers, the confirmation dialog now displays the resource ID in a read-only text field with a copy button, allowing users to copy-paste the ID into the confirmation input instead of typing it manually. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -420,6 +420,7 @@
|
||||
"deleteDatabase": {
|
||||
"panelTitle": "{{databaseName}} の削除",
|
||||
"warningMessage": "警告!実行しようとしている操作を元に戻すことはできません。続行すると、このリソースとそのすべての子リソースが完全に削除されます。",
|
||||
"copyableId": "{{databaseName}} id:",
|
||||
"confirmPrompt": "{{databaseName}} ID (名前) を入力して確認してください",
|
||||
"inputMismatch": "入力 {{databaseName}} 名 \"{{input}}\" が、選択した {{databaseName}} \"{{selectedId}}\" と一致しません",
|
||||
"feedbackTitle": "Azure Cosmos DB の改善にご協力ください。",
|
||||
@@ -427,6 +428,7 @@
|
||||
},
|
||||
"deleteCollection": {
|
||||
"panelTitle": "{{collectionName}} の削除",
|
||||
"copyableId": "{{collectionName}} id:",
|
||||
"confirmPrompt": "{{collectionName}} ID を入力して確認してください",
|
||||
"inputMismatch": "入力 ID {{input}} が選択した {{selectedId}} と一致しません",
|
||||
"feedbackTitle": "Azure Cosmos DB の改善にご協力ください。",
|
||||
|
||||
Reference in New Issue
Block a user