From 2c7d12e7e0750ce8c64977dbcd335f755ac43a99 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Wed, 19 Sep 2018 21:24:06 +0900 Subject: [PATCH] refs #610 Store hashtags and auto insert pined hashtags --- src/config/locales/en/translation.json | 3 +- .../TimelineSpace/Modals/NewToot.vue | 40 ++++++++++++------- .../TimelineSpace/Modals/NewToot/Status.vue | 10 +++++ .../store/TimelineSpace/Modals/NewToot.js | 25 +++++++++++- 4 files changed, 61 insertions(+), 17 deletions(-) diff --git a/src/config/locales/en/translation.json b/src/config/locales/en/translation.json index c16618f2..8889e63b 100644 --- a/src/config/locales/en/translation.json +++ b/src/config/locales/en/translation.json @@ -152,7 +152,8 @@ "add_image": "Add images", "change_visibility": "Change visibility", "add_cw": "Add contents warning", - "change_sensitive": "Change sensitive" + "change_sensitive": "Change sensitive", + "pined_hashtag": "Pin the hashtag" }, "jump": { "jump_to": "Jump to..." diff --git a/src/renderer/components/TimelineSpace/Modals/NewToot.vue b/src/renderer/components/TimelineSpace/Modals/NewToot.vue index d216268c..7148d413 100644 --- a/src/renderer/components/TimelineSpace/Modals/NewToot.vue +++ b/src/renderer/components/TimelineSpace/Modals/NewToot.vue @@ -12,6 +12,7 @@ @@ -79,7 +80,7 @@