diff --git a/ui/analytics.js b/ui/analytics.js index 7f97d7cea..132589d64 100644 --- a/ui/analytics.js +++ b/ui/analytics.js @@ -19,7 +19,7 @@ const WATCHMAN_BACKEND_ENDPOINT = 'https://watchman.na-backend.odysee.com/report if (isProduction) { ElectronCookies.enable({ - origin: 'https://lbry.com', + origin: 'https://lbry.tv', }); } diff --git a/ui/component/sideNavigation/view.jsx b/ui/component/sideNavigation/view.jsx index 4552646a1..a0f08ee2a 100644 --- a/ui/component/sideNavigation/view.jsx +++ b/ui/component/sideNavigation/view.jsx @@ -6,13 +6,15 @@ import * as KEYCODES from 'constants/keycodes'; import React from 'react'; import Button from 'component/button'; import classnames from 'classnames'; +import Icon from 'component/common/icon'; import NotificationBubble from 'component/notificationBubble'; import DebouncedInput from 'component/common/debounced-input'; +import I18nMessage from 'component/i18nMessage'; import ChannelThumbnail from 'component/channelThumbnail'; import { useIsMobile, isTouch } from 'effects/use-screensize'; import { IS_MAC } from 'component/app/view'; import { useHistory } from 'react-router'; -import { ENABLE_UI_NOTIFICATIONS } from 'config'; +import { DOMAIN, ENABLE_UI_NOTIFICATIONS } from 'config'; const FOLLOWED_ITEM_INITIAL_LIMIT = 10; const touch = isTouch(); @@ -182,6 +184,7 @@ function SideNavigation(props: Props) { ]; const notificationsEnabled = ENABLE_UI_NOTIFICATIONS || (user && user.experimental_ui); + const isAuthenticated = Boolean(email); const [pulseLibrary, setPulseLibrary] = React.useState(false); const [expandSubscriptions, setExpandSubscriptions] = React.useState(false); @@ -354,6 +357,23 @@ function SideNavigation(props: Props) { return () => window.removeEventListener('keydown', handleKeydown); }, [sidebarOpen, setSidebarOpen, isAbsolute]); + const unAuthNudge = + DOMAIN === 'lbry.tv' ? null : ( +