Commit graph

2271 commits

Author SHA1 Message Date
Sean Yesmunt
abe4e3a128 add comment 2020-05-21 13:23:52 -04:00
Sean Yesmunt
47c19e54ef drop down purchases page to 10 2020-05-21 13:18:55 -04:00
Sean Yesmunt
4c768b3814 fix embed player 2020-05-21 12:53:21 -04:00
Sean Yesmunt
e4500d692f fix embed player 2020-05-21 11:55:58 -04:00
Sean Yesmunt
c2abcf110c
Paid content on lbry.tv (#4197) 2020-05-21 11:38:28 -04:00
TigerxWood
ff035ed807 Changed how 'Blocked channels' are displayed on settings and a small typo
Problems solved (second attempt):
A. Small typo for <div className="card__title card__t itle--deprecated"> (extra space in the word **t itle**)

B. More details about problems with languages:
1. The word blocked has two forms in other languages (one for plural and one for singular) and therefore must be put together with channel and channels words. Currently it can be translated in only one form.

2. In the case there are no blocked channels there is no need to show the 0 value and is more elegant the message 'You do not have blocked channels'

3.  The link to manage the channels should not be visible in the case that there is no channel blocked, because there is no channel that need to be managed.

And about your statement: "Your change would make it harder for other languages to change this sentence." 

It's quite the opossite, it's very clear and easy. They just have to translate (with examples in Romanian):
'%count% %channels%. ',     (leave it as it is)
'You don't have' = 'Nu aveți'
'You have' = 'Aveți'
'blocked channel' = 'canal blocat'
'blocked channels' = 'canale blocat**e**'  (see the change for plural forms for the word blocked, not only for channels word?)

I hope this time I explained better the need for the changes.
Thanks

Messages displayed:
Case with 0 blocked channels: You don't have blocked channels. (No Manage button displayed)
Case with 1 blocked channel: You have 1 blocked channel. **Manage** (manage link)
Case with 2 or more blocked channels: You have 2 blocked channels. **Manage** (manage link)
2020-05-18 17:38:12 -04:00
Sean Yesmunt
50361e1edb fix link style 2020-05-18 16:46:03 -04:00
Sean Yesmunt
2dccad2247 fix embed link to open in new tab instead of iframing the entire app inside embeds 2020-05-18 13:07:42 -04:00
Sean Yesmunt
730fc1a752 update typo 2020-05-18 10:13:35 -04:00
Sean Yesmunt
a02fe517cb add credit card image and fake cost text 2020-05-18 10:13:35 -04:00
Sean Yesmunt
1fa3ce4e50 basic checkout page prototype 2020-05-18 10:13:35 -04:00
Jeffrey Fisher
6caa8ae4f6 Add grab cursor to pop out player header 2020-05-18 09:58:22 -04:00
Jeffrey Fisher
50c7308ee7 Allow double-clicking in header to maximize the app.
Closes #4207
2020-05-17 21:26:30 -07:00
Sean Yesmunt
75b23d5d0e disable electron-cookies in dev mode 2020-05-15 15:12:11 -04:00
Sean Yesmunt
874d7860e9 don't call api if user doesn't have any tags 2020-05-15 12:39:33 -04:00
Sean Yesmunt
25984444ca hide footer on channel pages 2020-05-15 10:27:38 -04:00
Jeffrey Fisher
9c70df72dc Only show "start at" on share page for videos/audio
Closes #4177
2020-05-15 09:51:59 -04:00
Jeffrey Fisher
394fad5754 Clear media position if video has played to the end.
Closes #4174
2020-05-15 09:51:18 -04:00
eatdostacos
f6431ac235 Small Changes to publishFile/view.jsx 2020-05-15 09:46:29 -04:00
infiinte-persistence
4643eb96cc Define tooltips for MenuButtons.
<MenuButton> is not from us, so the automatic tooltip from the previous commit does not apply here.
2020-05-15 09:45:55 -04:00
infiinte-persistence
fa219af5aa Reuse available text as the tooltip where appropriate.
The best candidate is `aria-label`, followed by `description`.

Most of the existing elements already have these defined, so try to route it as the tooltip instead of having to explicitly define tooltips everywhere through a redundant `title` or <Tooltip> tag.

Minor side-effect:
This will cancel off any effect from a parent <Tooltip>, i.e. might confuse future developers who are trying to do "<Tooltip><Button></Button></Tooltip>".
2020-05-15 09:45:55 -04:00
Sean Yesmunt
3de71db341 remove test value 2020-05-13 17:45:06 -04:00
Sean Yesmunt
e0c90f866c 🤦‍♂️ 2020-05-13 17:43:50 -04:00
Sean Yesmunt
5af0cfc6c2 update footer style 2020-05-13 12:13:13 -04:00
Sean Yesmunt
59d539b362 fix mobile style 2020-05-13 12:13:13 -04:00
Sean Yesmunt
22a4255320 add footer for web 2020-05-13 12:13:13 -04:00
btzr-io
c19d04f83e fix comic-book content-type detection
always show viewer: fix #4141

minor improvements for loading indicator
2020-05-13 10:18:36 -04:00
btzr-io
036cf734c6 prevent state updates after component unmounted 2020-05-13 10:18:36 -04:00
Baltazar Gomez
c8f21025d1 initial web support 2020-05-13 10:18:36 -04:00
Baltazar Gomez
1f6dd89e55 create effect to load blob from streaming url
Use this on the web for files that need to wait for the full stream
2020-05-13 10:18:36 -04:00
Baltazar Gomez
1992e78c2e update comicbook viewer
- convert to functional component
- use hooks to load stream
2020-05-13 10:18:36 -04:00
Baltazar Gomez
872fa9363d use a readable stream as file source 2020-05-13 10:18:36 -04:00
Baltazar Gomez
dc10a2ddf1 create effect for file stream: fix #2777
Use this effect instead of the "file://" protocol
2020-05-13 10:18:36 -04:00
Sean Yesmunt
98820ad1f4 mobile cleanup 2020-05-11 15:54:07 -04:00
Sean Yesmunt
3decc523b0 fallback to channel name if title doesn't exist 2020-05-11 15:21:40 -04:00
infiinte-persistence
598c336b66 Refactor DateTime to allow it's translated result string to be re-used elsewhere, for consistency. 2020-05-11 14:54:05 -04:00
infiinte-persistence
2582627f25 Fix localization issue in DateTime.
The class was only returning a localized string for 'years' and 'months'; English was used for the rest.

- Fixed by handling the remaining cases.
- New strings were added (1) so that they will all be consistent language-wise until the translators handle them all (2) allows for cleaner code through variable re-use (%duration%).
2020-05-11 14:54:05 -04:00
Sean Yesmunt
2b0314d001 update @lbry/components 2020-05-11 12:40:49 -04:00
Sean Yesmunt
919f82ba94 purchases page, cleanup on pages with <ClaimList /> 2020-05-11 12:31:22 -04:00
Sean Yesmunt
ca5f54cbfd improve mobile styles 2020-05-11 10:51:47 -04:00
Sean Yesmunt
90be60c9b0 don't use focus mixin on mobile 2020-05-11 10:51:47 -04:00
btzr-io
276f42f5e7 force new lines to render on markdown preview: fix #2390 2020-05-11 09:44:29 -04:00
jessopb
e2b1ef49a5
Merge pull request #4148 from lbryio/feat-trackReflectingFiles
track reflecting files after publish
2020-05-08 15:08:18 -04:00
btzr-io
e75bd22588 fix channel selector icon color 2020-05-08 14:16:40 -04:00
btzr-io
6c9538e4f5 remove unnecessary div wraper 2020-05-08 14:16:40 -04:00
btzr-io
a8f6185f12 fix channel selector styles
fix #4072
2020-05-08 14:16:40 -04:00
jessop
0fcc657783 track reflecting files after publish 2020-05-08 14:13:56 -04:00
Jeffrey Fisher
c539ab91c0 Fix code review issues 2020-05-08 14:00:59 -04:00
Jeffrey Fisher
8fe9cfafbc Allow video sharing with start timestamp
Closes #3122
2020-05-08 14:00:59 -04:00
Baltazar Gomez
0fa5ce1035 change hyperlink color: fix #346 2020-05-07 16:38:06 -04:00
Baltazar Gomez
673a35b103 remove extra spacing in markdown quotes: fix #3522 2020-05-07 16:38:06 -04:00
Baltazar Gomez
2a308ef765 fix monopolized style of list-style 2020-05-07 16:38:06 -04:00
Baltazar Gomez
b6fb22d8f8 block unknown file types from player 2020-05-07 16:37:32 -04:00
Sean Yesmunt
c0b4fff5d5 remove dynamic streaming url generation 2020-05-07 10:57:00 -04:00
Jeffrey Fisher
fda372e565 Open hyperlinks in new tab
Closes #3467
2020-05-06 14:23:21 -04:00
Sean Yesmunt
ff429117cd make sure player callback has access to latest desktop start time 2020-05-05 16:47:27 -04:00
Jeremy Kauffman
ab70f1c758
remove #whothinks 2020-05-05 15:03:15 -04:00
Sean Yesmunt
96d9e24a4b fix time to start analytics for desktop and fix rewards link 2020-05-05 14:04:52 -04:00
Sean Yesmunt
95233c2196 remove hard coded reward amount 2020-05-05 10:56:16 -04:00
Sean Yesmunt
db51789e07 pass time in ms to analytics for view apis 2020-05-05 10:09:53 -04:00
Sean Yesmunt
d8c6300f51 fix typo 2020-05-05 09:50:34 -04:00
Sean Yesmunt
85ac7c5aac move edit button on channel pages 2020-05-04 11:38:35 -04:00
Sean Yesmunt
1b830f74a1 update button styles 2020-05-04 10:57:47 -04:00
Sean Yesmunt
db94e38911 slightly improve pagination button placement 2020-05-04 10:43:05 -04:00
jessop
402710ce3b removes delete button and ensures resolve on show page 2020-05-01 17:15:15 -04:00
JT Turner
6c28ffaa18 Fix loop when value really doesn't need to be global. 2020-05-01 14:46:29 -04:00
JT Turner
b0ed767c27 Fix channel reply switching channels. 2020-05-01 14:46:29 -04:00
Sean Yesmunt
f873b99875 modal consistency cleanup 2020-05-01 14:35:27 -04:00
jessop
7730ee1e3f remove dependency on full claim list
paginate claim list
improve handling of pending publishes
add abandon to publishes list previews

use bodyCard

fix publish edit notification
2020-05-01 13:56:21 -04:00
Jeffrey Fisher
7ea9c1c199 Only save media position on pause or dispose, not every timeupdate, for performance reasons. 2020-05-01 10:14:29 -04:00
Jeffrey Fisher
c1f74aba2e Save media position in video viewer
Closes #2775
2020-05-01 10:14:29 -04:00
Sean Yesmunt
b3b403a058 fix deleted text file handling on desktop 2020-05-01 09:51:29 -04:00
Sean Yesmunt
f99ce16a67 improve header markup for voiceover and add aria-expanded attribute for cards 2020-04-30 15:17:32 -04:00
Sean Yesmunt
8d888d3e23 improve floating behavior when coming from embeds 2020-04-30 15:13:45 -04:00
Sean Yesmunt
554f50802e set playing uri when navigating from the floating player 2020-04-30 11:06:06 -04:00
Sean Yesmunt
49275c298a embeds style fixes 2020-04-30 11:06:06 -04:00
Jeremy Kauffman
6b02805645 fix play button on embed end 2020-04-30 10:37:39 -04:00
Sean Yesmunt
9923df7b19 let browser validate iframe markup 2020-04-30 10:13:01 -04:00
Sean Yesmunt
1a50e697ce embed functionality inside markdown posts 2020-04-30 10:13:01 -04:00
Sean Yesmunt
0738d186a5 close modal after sending support 2020-04-29 18:02:53 -04:00
Sean Yesmunt
ad6d36f2e0 add back embed title background 2020-04-29 17:45:43 -04:00
jessop
867b5eb134 two bugfixes: i18n tags, all reposts loading loop 2020-04-29 15:49:14 -04:00
Sean Yesmunt
a5cc1a84aa add card style for lists of claims 2020-04-29 15:37:39 -04:00
Sean Yesmunt
52f704fa0f prevent long titles from overlapping logo in embeds 2020-04-29 14:35:55 -04:00
Sean Yesmunt
dae3a517f5 fix autoplay 2020-04-29 13:55:47 -04:00
Jeffrey Fisher
122781036d Use "Purchase and Tip Confirmations" setting to determine if a confirmation dialog is needed for tipping. 2020-04-29 13:28:11 -04:00
Jeffrey Fisher
cb470ad970 Do not double confirm on supports, per code review 2020-04-29 13:28:11 -04:00
Jeffrey Fisher
85a8234115 Add Confirmation when sending Tip/Support
Closes #2714
2020-04-29 13:28:11 -04:00
Thomas Zarebczan
019c3e13b2
update reward amount
(this should come from the reward call probably)
2020-04-29 12:25:21 -04:00
eatdostacos
804178dd58 Changed Correctly
I did this as a pull request earlier and then I edited some other stuff in my repo and it added that also. This is a working change.
2020-04-29 11:09:36 -04:00
Sean Yesmunt
c9f5813b81 try twice when the first play fails from a timeout 2020-04-29 11:00:42 -04:00
Sean Yesmunt
b61907ad22 update timeout 2020-04-29 11:00:42 -04:00
Sean Yesmunt
dd4cd9314c style fixes 2020-04-29 11:00:42 -04:00
Sean Yesmunt
767c69e132 cleanup and fix flow issues 2020-04-29 11:00:42 -04:00
Sean Yesmunt
0754bb1a7f hide double video controls on ios 2020-04-29 11:00:42 -04:00
Sean Yesmunt
04ee4afdc2 test with promise.race 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
49128322d5 consistent styling 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
94a5dc47af adjust volume earlier 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
e23ae63c74 disable loading screen 2020-04-29 11:00:42 -04:00
Sean Yesmunt
4a6d9c7292 add log 2020-04-29 11:00:42 -04:00
Sean Yesmunt
ad8cdd130f call play() programatically instead of using autoplay flag 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
1a06ddca3b always restore player volume settings on first play 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
ab74052446 hackish change to get mute/volume reset working 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
c89b69f6fc callback player ready 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
6c8b0b2d68 maybe ready 2020-04-29 11:00:42 -04:00
Sean Yesmunt
9db9363b9f fix unwanted re-renders 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
e4829c8ce1 broken demonstration 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
c52a88f117 fix timing 2020-04-29 11:00:42 -04:00
Jeremy Kauffman
793f622d8d semi-broken 2020-04-29 11:00:42 -04:00
jessop
a411ec9b47 reenable reposts
reenable reposts and track for emails

review changes

change showReposts to hideReposts due to persist hydrate issue

bugfix

bugfix
2020-04-28 10:25:05 -04:00
calvincodes
1d30078c90 Adding tooltip to share, block, and follow buttons. 2020-04-28 09:41:47 -04:00
Thomas Zarebczan
700df02a59
fix file delete on web 2020-04-27 18:22:09 -04:00
Baltazar Gomez
a76f59999e set max-height of viewer 2020-04-27 14:27:04 -04:00
btzr-io
e4d822f818 Fix and enable 3D viewer: #4035
Fix 3d viewer styles

Fix minor warnings from three.js

Remove deprecated themes

Fix #4074
2020-04-27 14:27:04 -04:00
eatdostacos
c541c20c0d Changing some text on the publishing page
Changed "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (720p) for more reliable streaming." to "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (under 5 mbps) and resolution (720p) for more reliable streaming." and changed the two times it says this "For video content, use MP4s in H264/AAC format and a friendly bitrate (720p) for more reliable streaming." to "For video content, use MP4s in H264/AAC format and a friendly bitrate (under 5 mbps) and resolution (720p) for more reliable streaming."
2020-04-27 12:07:48 -04:00
btzr-io
8b6c644415 fix comic book viewer styles: #4035 2020-04-27 10:00:08 -04:00
Jeffrey Fisher
65f4562937 Fix purchase confirmation logic
Closes #4057
2020-04-27 09:53:32 -04:00
Brendon J. Brewer
0aa62b2dff found more strings 2020-04-27 09:53:12 -04:00
jessop
05aa523f3a prevent loading tv degrade components in app 2020-04-25 16:20:00 -04:00
Sean Yesmunt
dcb79685bc fix typo 2020-04-24 15:12:48 -04:00
Sean Yesmunt
468051b2a1 comment out lbc earned 2020-04-24 09:15:25 -04:00
Sean Yesmunt
594bcea01f improve flow when a user has no channels/no publishes on a channel 2020-04-24 09:15:25 -04:00
Sean Yesmunt
cf4bbc3f26 update icon for lbc earned analytics card 2020-04-24 09:15:25 -04:00
Sean Yesmunt
837158218e creator analytics improvements 2020-04-24 09:15:25 -04:00
Mr. X
f4c63f4fc3 fix: better subscribe button for both mobile and desktop 2020-04-23 13:10:41 -04:00
Mr. X
4efc0fbd3e fix: better hover use-effect 2020-04-23 13:10:41 -04:00
Jeffrey Fisher
3c6469f388 Show elapsed/total instead of the
countdown to the end in video player.

Closes #3813
2020-04-23 10:58:42 -04:00
Jeremy Kauffman
ef437c8847 proper search parameters 2020-04-22 19:19:00 -04:00
Sean Yesmunt
2ed3623b59 make invite string more manageable for translations 2020-04-22 15:45:35 -04:00
Harsh Khandeparkar
17cf98a4bd fix: add a button in the footer of the card 2020-04-22 15:45:35 -04:00
Harsh Khandeparkar
4676799c14 fix: change page size to 3 2020-04-22 15:45:35 -04:00
Mr. X
b1549c6ae2 fix: create account button inline 2020-04-22 15:45:35 -04:00
Mr. X
7893512e2b feat: Invited Link Displays Channel Content 2020-04-22 15:45:35 -04:00
Sean Yesmunt
220994eeaa no reposts for #whothinks 2020-04-22 15:17:29 -04:00
Sean Yesmunt
2504d126bd update homepage 2020-04-22 13:29:07 -04:00
Jeffrey Fisher
3535703017 Remove dead code per code review. 2020-04-22 09:34:01 -04:00
Jeffrey Fisher
7adf165f08 Fix flow error.
Partial fix for #2024
2020-04-22 09:34:01 -04:00
Mr. X
5b58a46ebd feat: header logo reloads at "/" 2020-04-21 17:18:38 -04:00
Jeffrey Fisher
e6a044d8e1 Fix flow error.
Partial fix for #2024
2020-04-21 17:12:31 -04:00
Jeffrey Fisher
bfb2584970 Remove defaultExpand attribute so card is not collapsable 2020-04-21 17:07:56 -04:00
Jeffrey Fisher
b786ba82ae First attempt to fix #3993. Show error message
if image is not able to be displayed by browser.
2020-04-21 17:07:56 -04:00
Sean Yesmunt
b112705c23 disable cad files again - file page changes needed to support 2020-04-21 11:00:19 -04:00
Sean Yesmunt
d0d172ac88 fix channel thumbnail style 2020-04-21 10:34:16 -04:00
jessop
4453e2105c move help link on txo page 2020-04-21 10:21:01 -04:00
jessop
007a57b8d7 remove constriction from txo details 2020-04-21 10:10:00 -04:00
Sean Yesmunt
58e6419c7b change channel deposits to 0.01 2020-04-21 09:57:21 -04:00
Sean Yesmunt
8cf178ba79 sorta make channel pages look better with long titles 2020-04-21 09:56:03 -04:00
Sean Yesmunt
fc9d81eeaa only pass in longestLabel to button if a user is following someone 2020-04-21 09:44:12 -04:00
Sean Yesmunt
46c3538c8e don't let users login if they are partway through a signup 2020-04-20 17:41:42 -04:00
Sean Yesmunt
c30d158704 add sync checkbox to desktop 2020-04-20 13:16:19 -04:00