From fe86010be52c5c9a6d297b08b5ad26ad0fa19d8f Mon Sep 17 00:00:00 2001 From: zeppi Date: Tue, 27 Apr 2021 21:16:28 -0400 Subject: [PATCH] More master reconciliation rewards page recon router recon uEmailVerify recon uPVerify recon rm style app/view recon channel page recon chanFol recon syncPassword recon fileDesc recon web/redirect recon wip page/view recon --- ui/component/app/view.jsx | 5 +++-- ui/component/fileDescription/view.jsx | 2 +- ui/component/page/view.jsx | 3 ++- ui/component/router/view.jsx | 1 + ui/component/syncPassword/view.jsx | 5 +++-- ui/component/userEmailVerify/view.jsx | 7 ++++--- ui/component/userPhoneVerify/view.jsx | 7 ++++--- ui/component/youtubeTransferStatus/view.jsx | 11 ++++++++--- ui/page/channels/view.jsx | 2 +- ui/page/channelsFollowing/view.jsx | 9 ++++++--- ui/page/rewards/view.jsx | 7 +++++-- ui/scss/component/_channel.scss | 5 ----- ui/scss/component/_form-field.scss | 1 - web/middleware/redirect.js | 2 +- 14 files changed, 39 insertions(+), 28 deletions(-) diff --git a/ui/component/app/view.jsx b/ui/component/app/view.jsx index d6150edf2..c7ecf9475 100644 --- a/ui/component/app/view.jsx +++ b/ui/component/app/view.jsx @@ -4,6 +4,7 @@ import React, { useEffect, useRef, useState } from 'react'; import classnames from 'classnames'; import analytics from 'analytics'; import { buildURI, parseURI } from 'lbry-redux'; +import { SIMPLE_SITE } from 'config'; import Router from 'component/router/index'; import ModalRouter from 'modal/modalRouter'; import ReactModal from 'react-modal'; @@ -399,12 +400,12 @@ function App(props: Props) { {/* @if TARGET='web' */} - {!shouldHideNag && } + {!SIMPLE_SITE && !shouldHideNag && } {!shouldHideNag && } {(lbryTvApiStatus === STATUS_DEGRADED || lbryTvApiStatus === STATUS_FAILING) && !shouldHideNag && ( setLbryTvApiStatus(STATUS_OK)} /> )} - {lbryTvApiStatus === STATUS_OK && showAnalyticsNag && !shouldHideNag && ( + {!SIMPLE_SITE && lbryTvApiStatus === STATUS_OK && showAnalyticsNag && !shouldHideNag && ( )} {/* @endif */} diff --git a/ui/component/fileDescription/view.jsx b/ui/component/fileDescription/view.jsx index 3cacdeed1..d9a90b4bc 100644 --- a/ui/component/fileDescription/view.jsx +++ b/ui/component/fileDescription/view.jsx @@ -50,7 +50,7 @@ function FileDescription(props: Props) { -
+
{expanded ? (
} /> diff --git a/ui/page/channelsFollowing/view.jsx b/ui/page/channelsFollowing/view.jsx index 9cdff0831..df9259f72 100644 --- a/ui/page/channelsFollowing/view.jsx +++ b/ui/page/channelsFollowing/view.jsx @@ -1,7 +1,8 @@ // @flow import * as PAGES from 'constants/pages'; import * as ICONS from 'constants/icons'; -import { ORDER_BY_NEW } from 'constants/claim_search'; +import * as CS from 'constants/claim_search'; +import { SIMPLE_SITE } from 'config'; import React from 'react'; import ChannelsFollowingDiscoverPage from 'page/channelsFollowingDiscover'; import ClaimListDiscover from 'component/claimListDiscover'; @@ -23,6 +24,8 @@ function ChannelsFollowingPage(props: Props) { ) : ( @@ -30,8 +33,8 @@ function ChannelsFollowingPage(props: Props) { {__('Following')} } - defaultOrderBy={ORDER_BY_NEW} - channelIds={subscribedChannels.map(sub => sub.uri.split('#')[1])} + defaultOrderBy={CS.ORDER_BY_NEW} + channelIds={subscribedChannels.map((sub) => sub.uri.split('#')[1])} meta={