Commit graph

833 commits

Author SHA1 Message Date
Jeremy Kauffman
b58748cfdb Merge pull request #147 from lbryio/fix-my-claim-detection-publish
On Publish page, fix detection of the user's own claim on a name
2017-01-25 09:02:27 -05:00
Alex Liebowitz
7ac9c599de Publish: fix detection of the user's own claim on a name 2017-01-25 00:43:01 -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
Jeremy Kauffman
51142dfc53 Merge pull request #145 from lbryio/fix-cost-error
Don't show error message if price for a file can't be retrieved
2017-01-24 19:53:46 -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
alexliebowitz
2900f6e14d Merge pull request #144 from lbryio/fix-webpack-requirement
Update Webpack preset list
2017-01-24 19:26:06 -05:00
Alex Liebowitz
b3ee6a837f Update Webpack preset list
For now we only need the Stage 2 Babel plugin, not stage 3
2017-01-24 19:25:23 -05:00
Jeremy Kauffman
d95e04104f Merge pull request #142 from lbryio/unavailable-content-bugfixes
Unavailable content bugfixes
2017-01-24 09:57:29 -05:00
Alex Liebowitz
2286fc992e Add z-index to menus
Prevents elements with position stacking on top
2017-01-23 23:52:20 -05:00
Alex Liebowitz
0af15751f7 Fix typo in "file unavailable" message
Missing period
2017-01-23 23:52:07 -05:00
Alex Liebowitz
f3a501cf14 Add temporary timeout for blob peer list lookups
Returns an empty array for the peer list if the API call takes more
than 6 seconds. If the lookup takes that long, there are almost never
never any peers.
2017-01-23 23:50:15 -05:00
Alex Liebowitz
3c339492a0 Use new API method name in lbry.getPeersForBlobHash() 2017-01-23 23:41:38 -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
Alex Grin
c66508266c Update README.md 2017-01-23 16:23:35 -05:00
Alex Grin
78fde523ee Update README.md 2017-01-23 16:23:07 -05:00
Jeremy Kauffman
10163c53cc Clarify setup 2017-01-23 16:18:04 -05:00
alexliebowitz
f3c951187d Merge pull request #141 from lbryio/hide-unavailable-files
Add setting to hide unavailable content
2017-01-22 01:56:13 -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
3e33b5a2e8 Pass sdHash into FileTile on Discover page 2017-01-20 23:59:07 -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
Alex Liebowitz
9a421941fe Move styles for ToolTip and ToolTipLink into CSS 2017-01-20 11:38:23 -05:00
Alex Liebowitz
87e6713262 Make unavailable content visible by default 2017-01-20 08:54:36 -05:00
Alex Liebowitz
1c19537883 Clean up prop passing from FileTile to FileTileStream 2017-01-20 08:49:47 -05:00
Alex Liebowitz
9d0aa0d8da Add setting to hide unavailable content 2017-01-19 05:05:57 -05:00
Job Evers-Meltzer
2aa10261d9 Improve startup checking
Before this fix, if the daemon wasn't accepting connections
the UI would get an error and then be stuck on the loading screen.

We now check if the daemon is accepting connections first, and then
check for the status.
2017-01-18 09:30:46 -06:00
Job Evers‐Meltzer
bfbe69a861 Merge pull request #135 from lbryio/my-bug-fixes
Minor bug fixes
2017-01-17 22:15:33 -06:00
Job Evers-Meltzer
f1b2d0d62d ensure that content_type exists 2017-01-17 21:57:16 -06:00
Job Evers-Meltzer
22c4f41066 fix errorcallback in publish 2017-01-17 21:37:24 -06:00
Job Evers-Meltzer
4166419823 fix missing Icon import 2017-01-17 21:36:48 -06:00
Job Evers-Meltzer
5f2312295c fix typo in proptypes 2017-01-17 21:36:32 -06:00
Jeremy Kauffman
2192efc49f Merge pull request #116 from lbryio/unified-tiles
Unified File Tiles (WIP)
2017-01-17 17:10:40 -05:00
Jeremy Kauffman
8ce5e23c8f Merge pull request #134 from lbryio/development
Merge development into master
2017-01-17 16:25:52 -05:00
Alex Liebowitz
e6563f26b8 Fix extra margin around Open and Download links 2017-01-17 06:44:48 -05:00
Alex Liebowitz
839c42bc3a Use new format for open and reveal RPC methods 2017-01-17 06:44:48 -05:00
Alex Liebowitz
8fdfd4b60e Show prices on Published page 2017-01-17 06:44:48 -05:00
Alex Liebowitz
88d4c49d9a Use Object.entries() when calling file info callbacks 2017-01-17 06:44:43 -05:00
Alex Liebowitz
0b9980f371 Rename all vars called "___sInfo" to "___Infos" 2017-01-17 05:06:39 -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
70db4c937e shitty file remove 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
Alex Liebowitz
b70b2a859d Fix handling of window click events in DropDownMenu
Wasn't doing e.stopPropagation() when mounting the handler for clicks
outside the menu.
2017-01-16 23:44:06 -05:00
Jeremy Kauffman
70d390ea2e no more overflow-y on tiles, let's cap titles for now 2017-01-16 23:44:06 -05:00
Jeremy Kauffman
6c67cee3d9 fix duplicate keys on search results 2017-01-16 23:44:05 -05:00