From bee401fd8421b91fdf82ceae31b93d081d672a70 Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Wed, 10 Jul 2019 10:43:55 -0400 Subject: [PATCH 1/2] comment intro --- src/ui/component/commentCreate/view.jsx | 77 ++++++++++++------------- src/ui/page/file/view.jsx | 4 +- static/locales/en.json | 7 ++- 3 files changed, 46 insertions(+), 42 deletions(-) diff --git a/src/ui/component/commentCreate/view.jsx b/src/ui/component/commentCreate/view.jsx index f0da4d393..91d16bda6 100644 --- a/src/ui/component/commentCreate/view.jsx +++ b/src/ui/component/commentCreate/view.jsx @@ -36,48 +36,47 @@ export function CommentCreate(props: Props) { } return ( - +
{commentAck !== true && ( -
-
-
About comments..
-
-
-
I acknowledge something.
-
-
-
-
+
+

A few things to know before participating in the comment alpha:

+
    +
  • During the alpha, all comments are sent to a LBRY, Inc. server, not the LBRY network itself.
  • +
  • During the alpha, comments are not decentralized or censorship resistant (but we repeat ourselves).
  • +
  • + When the alpha ends, we will attempt to transition comments, but do not promise to so. Any transition will + likely involve publishing previous comments under a single archive handle. +
  • +
+
)} {commentAck === true && ( -
-
-
- -
-
- -
-
-
-
-
+
+
+ +
+
+ +
+
+
+
)} - +
); } diff --git a/src/ui/page/file/view.jsx b/src/ui/page/file/view.jsx index 89df2f8ff..b7af8dfc3 100644 --- a/src/ui/page/file/view.jsx +++ b/src/ui/page/file/view.jsx @@ -291,7 +291,9 @@ class FilePage extends React.Component { -
{__('Comments')}
+
+ {__('Comments')} ALPHA +
diff --git a/static/locales/en.json b/static/locales/en.json index 9f01cc257..2ee9a54b5 100644 --- a/static/locales/en.json +++ b/static/locales/en.json @@ -530,5 +530,8 @@ "Got it": "Got it", "View Your Feed": "View Your Feed", "View Your Channels": "View Your Channels", - "Unfollow": "Unfollow" -} + "Unfollow": "Unfollow", + "myChannelName": "myChannelName", + "This LBC remains yours. It is a deposit to reserve the name and can be undone at any time.": "This LBC remains yours. It is a deposit to reserve the name and can be undone at any time.", + "Create channel": "Create channel" +} \ No newline at end of file -- 2.45.3 From 339a45f3f14b6a534a2f4743d04a87530e2c399a Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 10 Jul 2019 12:08:01 -0400 Subject: [PATCH 2/2] fix strings and cleanup badge style --- src/ui/component/commentCreate/view.jsx | 17 ++++++++++++----- src/ui/scss/component/_badge.scss | 4 ++++ src/ui/scss/component/_card.scss | 6 ------ static/locales/en.json | 9 ++++++++- 4 files changed, 24 insertions(+), 12 deletions(-) diff --git a/src/ui/component/commentCreate/view.jsx b/src/ui/component/commentCreate/view.jsx index 91d16bda6..846d371bf 100644 --- a/src/ui/component/commentCreate/view.jsx +++ b/src/ui/component/commentCreate/view.jsx @@ -39,13 +39,20 @@ export function CommentCreate(props: Props) {
{commentAck !== true && (
-

A few things to know before participating in the comment alpha:

+

{__('A few things to know before participating in the comment alpha:')}

    -
  • During the alpha, all comments are sent to a LBRY, Inc. server, not the LBRY network itself.
  • -
  • During the alpha, comments are not decentralized or censorship resistant (but we repeat ourselves).
  • - When the alpha ends, we will attempt to transition comments, but do not promise to so. Any transition will - likely involve publishing previous comments under a single archive handle. + {__('During the alpha, all comments are sent to a LBRY, Inc. server, not the LBRY network itself.')} +
  • +
  • + {__( + 'During the alpha, comments are not decentralized or censorship resistant (but we repeat ourselves).' + )} +
  • +
  • + {__( + 'When the alpha ends, we will attempt to transition comments, but do not promise to do so. Any transition will likely involve publishing previous comments under a single archive handle.' + )}