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:
Jade Welton
2026-04-21 11:25:48 -07:00
parent fd49752881
commit 3bedaf285d
25 changed files with 3153 additions and 22 deletions

View File

@@ -420,6 +420,7 @@
"deleteDatabase": {
"panelTitle": "Usuń {{databaseName}}",
"warningMessage": "Ostrzeżenie! Akcji, którą zamierzasz wykonać, nie można cofnąć. Kontynuowanie spowoduje trwałe usunięcie tego zasobu i wszystkich jego zasobów podrzędnych.",
"copyableId": "{{databaseName}} id:",
"confirmPrompt": "Potwierdź, wpisując identyfikator {{databaseName}} (nazwa)",
"inputMismatch": "Nazwa wejściowa {{databaseName}} „{{input}}” nie pasuje do wybranej nazwy {{databaseName}} „{{selectedId}}”",
"feedbackTitle": "Pomóż nam ulepszać usługę Azure Cosmos DB!",
@@ -427,6 +428,7 @@
},
"deleteCollection": {
"panelTitle": "Usuń {{collectionName}}",
"copyableId": "{{collectionName}} id:",
"confirmPrompt": "Potwierdź, wpisując identyfikator {{collectionName}}",
"inputMismatch": "Identyfikator wejściowy {{input}} jest niezgodny z wybranym {{selectedId}}",
"feedbackTitle": "Pomóż nam ulepszać usługę Azure Cosmos DB!",