Commit graph

20 commits

Author SHA1 Message Date
Alex Liebowitz
bb26b5372a If get_availability gives an error, treat the stream as unavailable 2017-02-19 18:47:37 -05:00
Alex Grintsvayg
fbb11d78c7 Revert "Revert "Use get_availability to determine stream availability""
This reverts commit 24e43ba42e.

Ok, that wasn't it.
2017-02-18 09:59:13 -05:00
Alex Grintsvayg
24e43ba42e Revert "Use get_availability to determine stream availability"
This reverts commit c209c1f84f.

This commit may have broken downloading/watching by never showing the download button.
Let's see if reverting it fixes the issue. --grin
2017-02-18 09:53:05 -05:00
Alex Liebowitz
c209c1f84f Use get_availability to determine stream availability
More info than peer_count, and now has built-in timeout
2017-02-17 17:54:45 -05:00
Alex Liebowitz
042c093666 Don't show "file not available" message if user has the file 2017-01-30 03:24:58 -05:00
Alex Liebowitz
376bbed97c Fix styling of normal text links
Due to recent changes, they were appearing as text buttons
2017-01-24 22:39:36 -05:00
Alex Liebowitz
0af15751f7 Fix typo in "file unavailable" message
Missing period
2017-01-23 23:52:07 -05:00
Alex Liebowitz
13886f4156 Fix padding issue with download progress bar
Label was not wrapped in span, so the wrong styles were applying
2017-01-23 23:06:32 -05:00
Alex Liebowitz
b2fd38a1c8 Reduce padding around text buttons
After moving the padding to the content of buttons, we ended up with
extra padding around text buttons that wasn't there before. The
"Download" bar doesn't look great with no padding at all, but it needs
to match the text buttons so the text doesn't jump to the right when
it switches from "Download" (text button) to "Connecting" (progress bar).

So we pad both text buttons and progress bars just a little bit, less
than a standard button but enough that progress bars look OK.
2017-01-23 18:58:31 -05:00
Jeremy Kauffman
44412437ce unavailable content cleanup 2017-01-21 16:31:41 -05:00
Alex Liebowitz
e5b4aaf175 Revamp "file not available" message
- Don't fade out tile
 - Display message in place of buttons with an option to bypass the
   message
 - Factor out message into its own FileUnavailableMessage component
2017-01-21 01:52:35 -05:00
Job Evers-Meltzer
f1b2d0d62d ensure that content_type exists 2017-01-17 21:57:16 -06:00
Job Evers-Meltzer
5f2312295c fix typo in proptypes 2017-01-17 21:36:32 -06:00
Alex Liebowitz
839c42bc3a Use new format for open and reveal RPC methods 2017-01-17 06:44:48 -05:00
Alex Liebowitz
425fbb84a5 Fix delay in files disappearing from My Files
We now maintain a list of files that have been requested for removal in
lbry.js and simulate the file being removed so all components can
respond immediately.
2017-01-17 04:04:31 -05:00
Alex Liebowitz
e9f00eec23 Pad buttons using margin on content instead of padding on container
Allows button-style progress bars to set width without having to
account for padding
2017-01-16 23:44:06 -05:00
Jeremy Kauffman
7f135275df file list refactor 2017-01-16 23:44:06 -05:00
Jeremy Kauffman
3b7d093201 my_files fixes 2017-01-16 23:44:06 -05:00
Jeremy Kauffman
e0eb36d032 more file tile refactor and fix file info unsubscribe 2017-01-16 23:44:05 -05:00
Jeremy Kauffman
b7f23aa0dd big refactor of file actions/buttons/tiles 2017-01-16 23:44:04 -05:00