From c2be04a18da1090cd12e324ad012a2856ae5d260 Mon Sep 17 00:00:00 2001 From: Travis Eden Date: Thu, 7 Jun 2018 13:47:09 -0400 Subject: [PATCH 1/3] always update costInfo on FilePage componentDidMount --- src/renderer/page/file/view.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/renderer/page/file/view.jsx b/src/renderer/page/file/view.jsx index ee015599b..c583c4cc0 100644 --- a/src/renderer/page/file/view.jsx +++ b/src/renderer/page/file/view.jsx @@ -60,9 +60,7 @@ class FilePage extends React.Component { fetchFileInfo(uri); } - if (costInfo === undefined) { - fetchCostInfo(uri); - } + fetchCostInfo(uri); this.checkSubscription(this.props); } -- 2.45.3 From 30d04ed0d702d8698781ed5fc07450f2ad4c3710 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Fri, 8 Jun 2018 14:31:00 -0400 Subject: [PATCH 2/3] add comment that links to PR with discussion --- src/renderer/page/file/view.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/page/file/view.jsx b/src/renderer/page/file/view.jsx index c583c4cc0..696fefc47 100644 --- a/src/renderer/page/file/view.jsx +++ b/src/renderer/page/file/view.jsx @@ -54,12 +54,13 @@ class FilePage extends React.Component { } componentDidMount() { - const { uri, fileInfo, fetchFileInfo, costInfo, fetchCostInfo } = this.props; + const { uri, fileInfo, fetchFileInfo, fetchCostInfo } = this.props; if (fileInfo === undefined) { fetchFileInfo(uri); } + // See https://github.com/lbryio/lbry-app/pull/1563 for discussion fetchCostInfo(uri); this.checkSubscription(this.props); -- 2.45.3 From e589571c6b67b9dd539e3bac9f70e97fb489b050 Mon Sep 17 00:00:00 2001 From: Daniela Narvaez Date: Fri, 8 Jun 2018 15:48:42 -0300 Subject: [PATCH 3/3] Adds pointer on hover for video thumbnail --- src/renderer/scss/component/_content.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer/scss/component/_content.scss b/src/renderer/scss/component/_content.scss index af62b4c12..c409cf161 100644 --- a/src/renderer/scss/component/_content.scss +++ b/src/renderer/scss/component/_content.scss @@ -33,6 +33,10 @@ &:not(.card__media--nsfw) { background-color: var(--color-black); } + + &:hover { + cursor: pointer; + } } .content__view, -- 2.45.3