From ca89dab45f1a12459e56abdabdbfad6a8db1ea95 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 29 Jul 2020 13:04:23 -0400 Subject: [PATCH] move claim uri under file/channel details --- ui/component/channelAbout/view.jsx | 5 +++++ ui/component/fileDetails/view.jsx | 6 ++++++ ui/page/channel/view.jsx | 2 -- ui/page/file/view.jsx | 6 ------ 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/ui/component/channelAbout/view.jsx b/ui/component/channelAbout/view.jsx index 9e0bc613c..cf88ed174 100644 --- a/ui/component/channelAbout/view.jsx +++ b/ui/component/channelAbout/view.jsx @@ -69,6 +69,11 @@ function ChannelAbout(props: Props) { + +
+
{claim.canonical_url}
+
+
{claim.claim_id}
diff --git a/ui/component/fileDetails/view.jsx b/ui/component/fileDetails/view.jsx index 9780dc460..0fd86cab3 100644 --- a/ui/component/fileDetails/view.jsx +++ b/ui/component/fileDetails/view.jsx @@ -55,6 +55,12 @@ class FileDetails extends PureComponent { {fileSize} )} + + + {__('URL')} + {claim.canonical_url} + + {__('Claim ID')} {claim.claim_id} diff --git a/ui/page/channel/view.jsx b/ui/page/channel/view.jsx index 2aed017ab..e7a678ea8 100644 --- a/ui/page/channel/view.jsx +++ b/ui/page/channel/view.jsx @@ -15,7 +15,6 @@ import ChannelAbout from 'component/channelAbout'; import ChannelDiscussion from 'component/channelDiscussion'; import ChannelThumbnail from 'component/channelThumbnail'; import ChannelEdit from 'component/channelEdit'; -import ClaimUri from 'component/claimUri'; import classnames from 'classnames'; import HelpLink from 'component/common/help-link'; import ClaimSupportButton from 'component/claimSupportButton'; @@ -130,7 +129,6 @@ function ChannelPage(props: Props) { return ( -
diff --git a/ui/page/file/view.jsx b/ui/page/file/view.jsx index 4de328c88..ee6629eb1 100644 --- a/ui/page/file/view.jsx +++ b/ui/page/file/view.jsx @@ -3,7 +3,6 @@ import * as React from 'react'; import classnames from 'classnames'; import Page from 'component/page'; import * as RENDER_MODES from 'constants/file_render_modes'; -import ClaimUri from 'component/claimUri'; import FileTitle from 'component/fileTitle'; import FileRenderInitiator from 'component/fileRenderInitiator'; import FileRenderInline from 'component/fileRenderInline'; @@ -87,7 +86,6 @@ class FilePage extends React.Component { if (RENDER_MODES.FLOATING_MODES.includes(mode)) { return ( -
@@ -101,7 +99,6 @@ class FilePage extends React.Component { if (RENDER_MODES.UNRENDERABLE_MODES.includes(mode)) { return ( - @@ -112,7 +109,6 @@ class FilePage extends React.Component { if (RENDER_MODES.TEXT_MODES.includes(mode)) { return ( - @@ -123,7 +119,6 @@ class FilePage extends React.Component { return ( - @@ -136,7 +131,6 @@ class FilePage extends React.Component { const { uri } = this.props; return ( - );