🎉 Add feedback link to workspace

This commit is contained in:
elhombretecla 2020-12-10 09:50:56 +01:00 committed by Alonso Torres
parent 7b458daa98
commit 4a2db204f1
5 changed files with 24 additions and 8 deletions

View file

@ -454,9 +454,9 @@
[:li {:on-click (partial on-click (da/logout))}
[:span.icon i/exit]
[:span.text (t locale "labels.logout")]]
[:li.feedback
[:li.feedback {:on-click #(.open js/window "https://github.com/penpot/penpot/discussions" "_blank")}
[:span.icon i/msg-info]
[:a.text {:href "https://github.com/penpot/penpot/discussions" :target "_blank"} (t locale "labels.feedback")]
[:span.text (t locale "labels.feedback")]
[:span.primary-badge "ALPHA"]]]]]
(when (and team profile)

View file

@ -223,6 +223,10 @@
[:span (tr "dashboard.remove-shared")]]
[:li {:on-click on-add-shared}
[:span (tr "dashboard.add-shared")]])
[:li.feedback {:on-click #(.open js/window "https://github.com/penpot/penpot/discussions" "_blank")}
[:span (tr "workspace.header.menu.feedback")]
[:span.primary-badge "ALPHA"]]
]]]))
;; --- Header Component