From ffa60c1bab328f0964a33af5fec850ace93a7e76 Mon Sep 17 00:00:00 2001 From: Jordan Lawrence Date: Thu, 29 Aug 2024 14:20:16 +0100 Subject: [PATCH] feat(sanity): add always present document action to copy url to clipboard (#7416) * feat: add always present document action to copy url to clipboard * chore: add comment to menuitems * feat: add check for navigator presence * feat: add tracking for copy document URL * fix: update to use intent URL instead of just current URL * feat: resolve intent link on demand * revert: go back to just copying current URL * chore: add comment explanation --- packages/sanity/src/structure/i18n/resources.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sanity/src/structure/i18n/resources.ts b/packages/sanity/src/structure/i18n/resources.ts index aeadeba0ddc..800fda3727d 100644 --- a/packages/sanity/src/structure/i18n/resources.ts +++ b/packages/sanity/src/structure/i18n/resources.ts @@ -351,7 +351,7 @@ const structureLocaleStrings = defineLocalesResources('structure', { /** The text when a generic operation succeeded (fallback, generally not shown) */ 'panes.document-operation-results.operation-success': 'Successfully performed {{op}} on document', /** The text when copy URL operation succeeded */ - 'panes.document-operation-results.operation-success_copy-url': 'Document URL copied to clipboard', + 'panes.document-operation-results.operation-success_copy-url': 'Document URL copied to clipboard', /** The text when a delete operation succeeded */ 'panes.document-operation-results.operation-success_delete': 'The document was successfully deleted',