Commit graph

178 commits

Author SHA1 Message Date
Alex Liebowitz
08c4a5173a Add new ExpandableModal component 2017-02-25 02:56:57 -05:00
Alex Liebowitz
ce33050fb3 Refactor Modal component 2017-02-25 02:55:05 -05:00
Alex Liebowitz
b041d66ee4 Make menus close after you click an option 2017-02-24 04:14:02 -05:00
Alex Liebowitz
23a4ad09de Fix "Component not mounted" error in FileActions 2017-02-24 02:30:32 -05:00
Jeremy Kauffman
4473536626 Merge branch 'development' into always-show-cancel 2017-02-23 09:15:36 -05:00
Alex Liebowitz
2c0b47edf2 On load screen, always show Cancel link if a previous page is available
Before, it was only showing if a load attempt timed out, and would show
even if there was no previous page to go back to.
2017-02-23 04:04:09 -05:00
Alex Liebowitz
fb421cdd79 When user hits "Watch", don't check balance if download already started 2017-02-23 03:56:50 -05:00
Alex Liebowitz
b18063584a Add link styles back to "Try Anyway" link 2017-02-23 01:28:58 -05:00
Alex Liebowitz
0266523a5c Fix wrong prop types for metadata 2017-02-23 01:14:48 -05:00
Job Evers-Meltzer
c1ef161972 need absolute paths for electron 2017-02-22 15:41:39 -06:00
Job Evers‐Meltzer
fe954ed17d Merge pull request #176 from lbryio/electron-2
Electron 2
2017-02-21 12:59:00 -06:00
Alex Liebowitz
fb75bc19b4 Fix several problems with margin and padding on buttons
- Buttons on dialogs were not getting width and height
 - Tooltip buttons were getting standard button spacing when they
   should be closer to their corresponding menu button
 - Several buttons and other elements had containers just to get
   spacing in button sets; rename button-container class to
   button-set-item and apply directly to elements where possible.
2017-02-21 01:27:08 -05:00
jobevers
b8b43ec587 change path for images 2017-02-20 23:06:55 -06:00
jobevers
4771682ee0 Use local file path for publishing instead of uploading 2017-02-20 23:06:55 -06:00
Job Evers-Meltzer
9979315d6a only show the splash screen on initial load 2017-02-20 23:06:55 -06:00
Job Evers-Meltzer
4ee729fb81 need full link for electron 2017-02-20 23:06:55 -06:00
alexliebowitz
4cc1a5355f Revert "Merge updates from development into Electron branch" 2017-02-20 23:15:17 -05:00
Alex Liebowitz
ae9e474fdc Merge branch 'development' into electron 2017-02-20 22:56:25 -05:00
Alex Liebowitz
f93ff2c1d7 Merge branch 'master' into development 2017-02-20 01:14:57 -05:00
Alex Liebowitz
a114f81543 Merge branch 'master' into development 2017-02-20 01:09:35 -05:00
Alex Liebowitz
1f4ec440df Fix error in FileTile when metadata is unavailable 2017-02-19 18:47:40 -05:00
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
jobevers
1017977251 change path for images 2017-02-14 17:12:37 -06:00
jobevers
06aba33300 Use local file path for publishing instead of uploading 2017-02-14 17:12:37 -06:00
Job Evers-Meltzer
24d339b583 only show the splash screen on initial load 2017-02-14 17:11:07 -06:00
Job Evers-Meltzer
18108f12ab need full link for electron 2017-02-14 17:11:07 -06:00
Job Evers-Meltzer
0ecf492a20 need absolute paths for electron 2017-02-14 17:11:06 -06:00
Alex Liebowitz
c8754e4351 Round up line heights in TruncatedText (workaround for Clamp.js bug)
Clamp.js doesn't handle fractional-pixel line heights reliably. It
always rounds down the line height when calculating the target height
for the element, and you end up with one less line than you asked for.
2017-02-09 19:14:06 -05:00
Alex Liebowitz
e6f473e275 Switch to maintained fork of clamp.js 2017-02-09 19:11:25 -05:00
Alex Liebowitz
4f9e1a7c46 Fix display of LBRY URIs in FileTile 2017-02-01 03:43:19 -05:00
Alex Liebowitz
e7209aa19a Remove debug logic in load_screen.js
There were some !s in there that were only for debugging
2017-01-31 13:45:36 -05:00
Alex Liebowitz
810b94fa77 Add Cancel link when loading screen is lagging 2017-01-31 02:17:53 -05:00
Alex Liebowitz
34d04255de Convert load screens to use CSS 2017-01-31 02:06:53 -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
eba0ac6842 Indicate files pending confirmation in FileTile 2017-01-30 03:24:57 -05:00
alexliebowitz
fe62548637 Merge pull request #146 from lbryio/fix-text-link-styles
Fix styling of normal text links
2017-01-26 02:41:40 -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
423d4fa47b Don't show error message if price for a file can't be retrieved
On search results pages, stream_cost_estimate is called on every
result. If there's some problem in the daemon that affects all calls
to stream_cost_estimate, this can lead to 25 error boxes. Better to
just suppress the error and not display a price.

Also switched to the new name for the daemon method (get_cost_est ->
stream_cost_estimate)
2017-01-24 19:29:47 -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
ef393ca360 Simplify content wrapping logic in Link 2017-01-23 19:22:25 -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
Alex Liebowitz
42517587ee Add FileUnavailableMessage component 2017-01-21 01:48:30 -05:00
Alex Liebowitz
9b68f71199 Always use local availability checks (not Lighthouse) 2017-01-20 23:55:49 -05:00
Alex Liebowitz
78176e6b0a In FileTile, show a message when a file is unavailable 2017-01-20 11:44:08 -05:00