Skip to content

Commit

Permalink
feat(sanity): add always present document action to copy url to clipb…
Browse files Browse the repository at this point in the history
…oard (#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
  • Loading branch information
jordanl17 committed Aug 29, 2024
1 parent 4114f4a commit ffa60c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sanity/src/structure/i18n/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ffa60c1

Please sign in to comment.