diff --git a/CHANGES.md b/CHANGES.md index b41c87e1e..992e7bef8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -26,6 +26,7 @@ - Fix viewer comment position when zoom applied [Taiga #2240](https://tree.taiga.io/project/penpot/issue/2240) - Remove change style on hover for options [Taiga #2172](https://tree.taiga.io/project/penpot/issue/2172) - Fix problem in viewer with dropdowns when comments active [#1303](https://github.com/penpot/penpot/issues/1303) +- Add placeholder to create shareable link ### :arrow_up: Deps updates ### :heart: Community contributions by (Thank you!) diff --git a/frontend/src/app/main/ui/share_link.cljs b/frontend/src/app/main/ui/share_link.cljs index f8823ddd6..1bb520416 100644 --- a/frontend/src/app/main/ui/share_link.cljs +++ b/frontend/src/app/main/ui/share_link.cljs @@ -127,10 +127,14 @@ [:div.share-link-section [:label (tr "labels.link")] [:div.custom-input.with-icon - [:input {:type "text" :value (or @link "") :read-only true}] - [:div.help-icon {:title (tr "labels.copy") - :on-click copy-link} - i/copy]] + [:input {:type "text" + :value (or @link "") + :placeholder (tr "common.share-link.placeholder") + :read-only true}] + (when (some? @link) + [:div.help-icon {:title (tr "labels.copy") + :on-click copy-link} + i/copy])] [:div.hint (tr "common.share-link.permissions-hint")]]] diff --git a/frontend/translations/en.po b/frontend/translations/en.po index 696cb3fd3..5588830e4 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -3232,3 +3232,5 @@ msgstr "X" msgid "workspace.options.y" msgstr "Y" +msgid "common.share-link.placeholder" +msgstr "Shareable link will appear here" diff --git a/frontend/translations/es.po b/frontend/translations/es.po index 7e63324be..6db9b999c 100644 --- a/frontend/translations/es.po +++ b/frontend/translations/es.po @@ -3228,3 +3228,6 @@ msgstr "X" msgid "workspace.options.y" msgstr "Y" + +msgid "common.share-link.placeholder" +msgstr "El enlace para compartir aparecerá aquí"