Alex Liebowitz
8456b3d3b2
Add lbry.getMyClaims()
2016-12-26 23:51:01 -05:00
Alex Liebowitz
a642806a8d
Add message for when no content is published
...
Before, it was showing the same message as the Downloaded page
2016-12-26 23:51:01 -05:00
Alex Liebowitz
643c884f56
Fix timeout check in DownloadLink
...
Was checking typeof streamInfo === 'object', and typeof null is
'object' (because why not?)
I think this was previously returning false for timeouts, and now
will only return null, so the "typeof" part may not be needed anymore.
2016-12-16 17:59:15 -05:00
Alex Liebowitz
7efbccbe83
Use new lbry.getCostInfoForName() in DownloadLink and WatchLink
2016-12-16 17:56:55 -05:00
Alex Liebowitz
1cad30d188
Show: var -> const in DetailPage.render()
2016-12-14 13:27:07 -05:00
Alex Liebowitz
8b781694f2
Show: use new Lighthouse cost reporting
2016-12-14 13:24:58 -05:00
Alex Liebowitz
06de4534cd
Show: rename some variables and props for clarity
...
- cost -> amount
- available -> costIncludesData
- claimInfo -> metadata (only in DetailPage for now)
2016-12-14 13:24:58 -05:00
Alex Liebowitz
34a7d41dc7
Make search result tiles use new Lighthouse cost reporting
...
Featured/Community Content and regular search results now calculate
cost the same way, so instead of calculating the cost in the outer
component we now do it inside <SearchResultRow /> itself.
2016-12-14 13:24:58 -05:00
Alex Liebowitz
d9a4442cc3
Add lbry.getCostInfoForName()
2016-12-14 13:24:58 -05:00
Alex Liebowitz
d59c5c2a1c
Add lbry.getSizeForName()
2016-12-14 13:24:58 -05:00
Alex Liebowitz
0b58ae6e6e
Add error and connection failure callbacks to Lighthouse methods
2016-12-14 13:24:58 -05:00
Alex Liebowitz
6963d877df
Break lbry.getCostEstimate() into 2 separate functions
...
lbrynet now supports getting the total cost if you provide the "size"
param, so we break this into two functions: lbry.getKeyFee() and
lbry.getTotalCost()
2016-12-14 13:24:58 -05:00
Alex Liebowitz
97496c33da
Make cost prop optional in <SearchResultRow />
2016-12-13 13:16:59 -05:00
Alex Liebowitz
177fa2cfa2
Move file availability check interval to class member
2016-12-13 13:14:42 -05:00
Alex Liebowitz
100dac0629
My Files: monitor file availability using lbry.getPeersForBlobHash()
...
Also reduce the checking rate to once every 5 minutes to avoid
slamming your peers with availability checks
2016-12-13 13:13:29 -05:00
Alex Liebowitz
7ca6017986
Add lbry.getPeersForBlobHash()
2016-12-09 03:11:25 -05:00
Alex Liebowitz
a6825c4269
Fix imports on My Files page
2016-12-09 02:50:25 -05:00
Alex Liebowitz
7b98f5b9a9
Show: fix imports
2016-12-09 02:10:59 -05:00
Alex Liebowitz
78ed1b9dcd
lbry.lighthouse.search() -> lighthouse.search() in two files
2016-12-07 15:14:53 -05:00
Alex Liebowitz
1295b7e1b9
Hard code web UI address in certain links to make testing servers work
2016-12-06 15:09:49 -05:00
Job Evers
c32ab1ac65
bug fixes found while linting
2016-12-06 14:28:10 -05:00
Job Evers
42898d5f60
Convert to ES6 modules
2016-12-06 14:28:10 -05:00
Jeremy Kauffman
f086b47f80
Merge pull request #98 from lbryio/word-break-modals
...
Change wrapping of file path in "Download Succeeded" Modal
2016-12-04 09:02:44 -05:00
Job Evers‐Meltzer
c0e53b45eb
Merge pull request #99 from lbryio/master
...
Release to Master
2016-12-02 21:15:34 -06:00
Alex Liebowitz
8e90389122
Layout tweak to "Download Succeeded" Modal
...
This displays the file path on its own line and does character-level
wrapping on the path only.
Ideally, we would just apply character wrapping to all words that are
too long for their line. There are CSS props for that but I haven't
been able to find a reliable way to do it without setting a width on the
outer container, which we don't want here (modals stretch based on their content). So this is the best compromise I can come up with.
2016-12-02 03:21:35 -05:00
Alex Liebowitz
406c37f9ff
Help: change method used to get LBRY ID
...
Now uses lbry.getSessionInfo() instead of lbry.getVersionInfo()
2016-11-30 00:23:57 -05:00
Alex Liebowitz
735444f022
Add lbry.getSessionInfo()
2016-11-30 00:23:45 -05:00
Alex Liebowitz
4868efdfb9
Fix missing $ in string interpolation in a few modals
2016-11-28 18:24:55 -05:00
Alex Liebowitz
7eaeeeefb4
Wrap modal content in div to prevent flexbox layout
2016-11-24 23:03:03 -05:00
Alex Liebowitz
17d13c3a93
Properly notify when a download times out
2016-11-24 22:43:57 -05:00
Alex Liebowitz
323cedadb2
Disable Watch link on click
2016-11-24 22:43:52 -05:00
Alex Liebowitz
12afb10cbc
In DownloadLink, don't check this.state.downloading on click
...
If this.state.downloading is true, the button will be disabled anyway.
2016-11-24 22:43:44 -05:00
Alex Liebowitz
468692b480
Make Download link switch to "Downloading" immediately on click
2016-11-24 22:43:28 -05:00
Alex Liebowitz
70076d8a9e
Help: Show LBRY ID in "About" section
2016-11-23 21:35:15 -05:00
Alex Liebowitz
a0fb58415e
Help: slight refactor of version section
2016-11-23 21:35:09 -05:00
Alex Liebowitz
e0d0c3f915
Publish: validate names as the user types
...
Rejects invalid characters and pops up a form hint explaining what
characters are allowed.
2016-11-22 01:14:22 -05:00
Alex Liebowitz
5af7916b20
Add lbry.nameIsValid()
2016-11-22 01:14:15 -05:00
Alex Liebowitz
aea1c7e6ee
Convert name field into controlled component
2016-11-22 01:14:02 -05:00
alexliebowitz
6ac9853fd4
Merge pull request #88 from lbryio/better-form-hints
...
Convert form hints to separate component with better style (WIP)
2016-11-22 01:08:09 -05:00
Alex Liebowitz
8b13f341b6
Don't render hidden form fields
2016-11-22 01:06:24 -05:00
Alex Liebowitz
b73399f4e6
Publish: prevent submit and notify user if file is not fully processed
2016-11-22 01:06:24 -05:00
Alex Liebowitz
f6f4d452b0
Add FormField.showAdvice() for displaying arbitrary form hints
...
Also modifies FormField.warnRequired() to use this new method
2016-11-22 01:06:20 -05:00
Alex Liebowitz
498b75c688
Convert form hints to separate component with better style
2016-11-22 01:06:15 -05:00
Alex Liebowitz
84464a8118
Add className prop to Icon
2016-11-22 01:06:04 -05:00
alexliebowitz
fd7091cbcf
Merge pull request #87 from lbryio/delete-modal-buttons
...
My Files page: make buttons in "delete" modal work
2016-11-21 22:28:47 -05:00
Jeremy Kauffman
90b483ea7e
Merge pull request #91 from lbryio/publish-my-claim-fix
...
Fix issue with live updating logic on Publish page
2016-11-21 18:30:15 -05:00
alexliebowitz
65ae347090
Merge pull request #84 from benyanke/patch-1
...
formatName - replace spaces with dashes
2016-11-21 00:18:42 -05:00
Alex Liebowitz
298c03283d
Fix issue with live updating logic on Publish page
...
Previously, if the user typed a name that they have a claim on and
then continued typing, some of the interface would not be updated to
show that they don't have a claim.
2016-11-18 06:14:02 -05:00
Alex Liebowitz
5f5a460a6d
My Files: add handler for closing delete modal
2016-11-17 23:40:24 -05:00
Alex Liebowitz
3dd961b70a
My Files: make "Confirm" button in delete modal work
...
Was calling lbry.setState() instead of this.setState()
2016-11-17 23:40:19 -05:00