Forráskód Böngészése

chore: discord -> forum

Junyi Du 3 éve
szülő
commit
5335f758c0

+ 1 - 1
CODE_OF_CONDUCT.md

@@ -13,4 +13,4 @@ This Code of Conduct applies within all community spaces, and also applies when
 - Please respect each other. Do not dismiss, abuse, harass, attack, insult, or discriminate against others.
 - Likewise, any spamming, trolling, flaming, baiting or other attention-stealing behavior is not welcome.
 - Respect that people have differences of opinion and that every design or implementation choice carries a trade-off and numerous costs. There is seldom a right answer.
-- If you feel being harassed or made uncomfortable by a community member, please report the incident(s) either by contacting the moderators on the [Discord](https://discord.gg/KpN4eHY) channel, Tienson Qin (@tiensonqin) on GitHub, or the official [Twitter](https://twitter.com/logseq). We will work with you to resolve the issue promptly.
+- If you feel being harassed or made uncomfortable by a community member, please report the incident(s) either by contacting the moderators on the [Forum](https://discuss.logseq.com), [Discord](https://discord.gg/KpN4eHY) channel, Tienson Qin (@tiensonqin) on GitHub, or the official [Twitter](https://twitter.com/logseq). We will work with you to resolve the issue promptly.

+ 3 - 1
README.md

@@ -3,6 +3,7 @@
 [![latest release version](https://img.shields.io/github/v/release/logseq/logseq)](https://github.com/logseq/logseq/releases)
 [![License](https://img.shields.io/github/license/logseq/logseq?color=blue)](https://github.com/logseq/logseq/blob/master/LICENSE.md)
 [![Twitter follow](https://img.shields.io/badge/follow-%40logseq-blue.svg?style=flat&logo=twitter)](https://twitter.com/logseq)
+[![forum](https://img.shields.io/badge/forum-Logseq-blue.svg?style=flat&logo=discourse)](https://discuss.logseq.com)
 [![discord](https://img.shields.io/discord/725182569297215569?label=discord&logo=Discord&color=blue)](https://discord.gg/KpN4eHY)
 [![total](https://opencollective.com/logseq/tiers/badge.svg?color=blue)](https://opencollective.com/logseq)
 
@@ -68,7 +69,8 @@ Logseq is also made possible by the following projects:
 
 - Our blog: https://logseq.com/blog - Please be sure to visit our [About page](https://logseq.com/blog/about) for the latest updates of the app
 - Twitter: https://twitter.com/logseq
-- Discord: https://discord.gg/KpN4eHY - Where we answer questions, discuss workflows and share tips
+- Forum: https://discuss.logseq.com - Where we answer questions, discuss workflows and share tips
+- Discord: https://discord.gg/KpN4eHY
 - 中文 Discord:https://discord.gg/xYqcrXWymg
 - Github: https://github.com/logseq/logseq - everyone is encouraged to report issues!
 

+ 3 - 3
src/main/frontend/components/header.cljs

@@ -172,10 +172,10 @@
 
        {:title [:div.flex-row.flex.justify-between.items-center
                 [:span (t :join-community)]]
-        :options {:href "https://discord.gg/KpN4eHY"
-                  :title (t :discord-title)
+        :options {:href "https://discuss.logseq.com"
+                  :title (t :discourse-title)
                   :target "_blank"}
-        :icon (ui/icon "brand-discord")}]
+        :icon (ui/icon "brand-discord")}]  ;; TODO we need a discourse brand
       (concat page-menu-and-hr)
       (remove nil?))
      {})))

+ 4 - 4
src/main/frontend/components/onboarding.cljs

@@ -12,9 +12,9 @@
 (defn help
   []
   [:div.help.cp__sidebar-help-docs
-   (let [discord-with-icon [:div.flex-row.inline-flex.items-center
-                            [:span.mr-1 (t :help/community)]
-                            (ui/icon "brand-discord" {:style {:font-size 20}})]
+   (let [discourse-with-icon [:div.flex-row.inline-flex.items-center
+                            [:span.mr-1 (t :help/forum-community)]
+                            (ui/icon "brand-discord" {:style {:font-size 20}})] ;; TODO we need a discourse brand
          list
          [{:title "Usage"
            :children [[[:a
@@ -29,7 +29,7 @@
           {:title "Community"
            :children [[(t :help/awesome-logseq) "https://github.com/logseq/awesome-logseq"]
                       [(t :help/blog) "https://blog.logseq.com"]
-                      [discord-with-icon "https://discord.gg/KpN4eHY"]]}
+                      [discourse-with-icon "https://discuss.logseq.com"]]}
 
           {:title "Development"
            :children [[(t :help/roadmap) "https://trello.com/b/8txSM12G/roadmap"]

+ 2 - 2
src/main/frontend/components/widgets.cljs

@@ -39,9 +39,9 @@
 
          [:li.mt-8
           [:div.font-bold.mb-2 "I need some help"]
-          [:p "👋 Join our discord group to chat with the makers and our helpful community members."]
+          [:p "👋 Join our Forum to chat with the makers and our helpful community members."]
           (ui/button "Join the community"
-            :href "https://discord.gg/KpN4eHY"
+            :href "https://discuss.logseq.com"
             :target "_blank")]]]
        [:div.cp__widgets-open-local-directory
         [:div.select-file-wrap.cursor

+ 1 - 1
src/main/frontend/core.cljs

@@ -31,7 +31,7 @@
    "
     Welcome to Logseq!
     If you encounter any problem, feel free to file an issue on GitHub (https://github.com/logseq/logseq)
-    or join our Discord server (https://discord.gg/KpN4eHY).
+    or join our forum (https://discuss.logseq.com).
     .____
     |    |    ____   ____  ______ ____  ______
     |    |   /  _ \\ / ___\\/  ___// __ \\/ ____/

+ 3 - 1
src/main/frontend/dicts.cljc

@@ -26,6 +26,7 @@
         :help/privacy "Privacy policy"
         :help/terms "Terms"
         :help/community "Discord community"
+        :help/forum-community "Forum community"
         :help/awesome-logseq "Awesome Logseq"
         :help/shortcuts "Keyboard shortcuts"
         :help/shortcuts-triggers "Triggers"
@@ -251,7 +252,8 @@
         :import "Import"
         :join-community "Join the community"
         :sponsor-us "Sponsor Us"
-        :discord-title "Our discord group!"
+        :discourse-title "Our forum!"
+        :discord-title "Our discord group!" ;; unused
         :help-shortcut-title "Click to check shortcuts and other tips"
         :loading "Loading"
         :cloning "Cloning"