From 24c40ef9b9549d65f7955db016a95f2c9f10ddf1 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Thu, 18 Jul 2019 13:24:31 -0500 Subject: add community visibility to the web app --- .../glitch/features/compose/components/options.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'app/javascript/flavours/glitch/features/compose/components') diff --git a/app/javascript/flavours/glitch/features/compose/components/options.js b/app/javascript/flavours/glitch/features/compose/components/options.js index 46b32b4a3..4203eb567 100644 --- a/app/javascript/flavours/glitch/features/compose/components/options.js +++ b/app/javascript/flavours/glitch/features/compose/components/options.js @@ -33,6 +33,14 @@ const messages = defineMessages({ defaultMessage: 'BBdown', id: 'compose.content-type.bbdown', }, + local_short: { + defaultMessage: 'Community', + id: 'privacy.local.short' + }, + local_long: { + defaultMessage: 'Post to community timeline', + id: 'privacy.local.long' + }, change_privacy: { defaultMessage: 'Adjust status privacy', id: 'privacy.change', @@ -236,6 +244,12 @@ class ComposerOptions extends ImmutablePureComponent { name: 'unlisted', text: , }, + local: { + icon: 'users', + meta: , + name: 'local', + text: , + } }; const contentTypeItems = { @@ -320,6 +334,7 @@ class ComposerOptions extends ImmutablePureComponent { icon={(privacyItems[privacy] || {}).icon} items={[ privacyItems.public, + privacyItems.local, privacyItems.unlisted, privacyItems.private, privacyItems.direct, -- cgit