Commit graph

332 commits

Author SHA1 Message Date
Alex Liebowitz
f947164164 Add Developer Settings page 2016-12-29 04:59:29 -05:00
Alex Liebowitz
5d3110a295 My Files: Add import for FormField
Needed for "Sort by" dropdown now that we're on ES6 modules
2016-12-28 20:49:33 -05:00
Alex Liebowitz
ac281105ad Add Sort option to My Files page 2016-12-28 20:49:33 -05:00
Alex Liebowitz
350bc6d847 Add sorting functions to MyFilesPage 2016-12-28 20:49:33 -05:00
Alex Liebowitz
83d59da827 Refactor My Files page
- Checking for file ownership is now done by making one call to
   lbry.getMyClaims() and saving a list of txids.
 - Broke out logic for Published and Downloaded pages
 - Published page now looks up the user's claims instead of files.
   This allows published streams to be listed even if the files don't
   exist on the user's machine; also, because it looks up file info by
   txid, you will no longer see a newer claim listed if you made a
   claim and it was overtaken.
2016-12-28 02:28:13 -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
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
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
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
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
4868efdfb9 Fix missing $ in string interpolation in a few modals 2016-11-28 18:24:55 -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
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
b73399f4e6 Publish: prevent submit and notify user if file is not fully processed 2016-11-22 01:06:24 -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
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
Alex Liebowitz
c6104516e7 My Files: don't check stream availability when URI is absent
Previously this was failing silently, but with the new error modals
it started popping up error messages.
2016-11-15 02:33:42 -05:00
alexliebowitz
3471184828 Merge pull request #79 from lbryio/transaction-date-placeholder
On Wallet page, show placeholder text for dates on pending transactions
2016-11-15 01:09:27 -05:00
alexliebowitz
0db4c8df13 Merge pull request #80 from lbryio/publish-page-bid-fixes
Fix issues with display of bids on Publish page
2016-11-14 12:04:07 -05:00
alexliebowitz
02a0b36673 Merge pull request #82 from lbryio/thumbnail-component
Thumbnail component
2016-11-14 12:01:50 -05:00
Alex Liebowitz
e0d68a9619 Move lbry.search() to lbry.lighthouse and add connection retry logic 2016-11-11 09:27:47 -05:00
Alex Liebowitz
4ea16b4d66 Convert all thumbnails to use Thumbnail component 2016-11-11 08:05:30 -05:00
Alex Liebowitz
db41c45da3 Publish page: fix pluralization of bid amounts 2016-11-11 06:25:32 -05:00
Alex Liebowitz
b4d97b1cee Publish page: fix issues with display of top claim value
- Display top bid correctly (before, it would sometimes show the user's
   bid instead)
 - Change wording to say "more than ___ credits" instead of "at least
   ___ credits"
2016-11-11 06:25:32 -05:00
Alex Liebowitz
5a0057093c Publish page: display exact bid amounts 2016-11-11 06:25:32 -05:00
Alex Liebowitz
ee56a38b0d Wallet page: Show placeholder text for dates on pending transactions 2016-11-11 05:09:43 -05:00
alexliebowitz
14565ec586 Merge pull request #70 from lbryio/modals
Use React Modal dialogs for all alerts and confirmation boxes
2016-11-10 07:05:16 -05:00
Alex Liebowitz
855e64e661 Convert alerts to modals in My Files, Publish, Report, Wallet pages 2016-11-10 06:59:48 -05:00
Alex Liebowitz
df0a5ee73e Convert alerts to modals in Claim Code and Referral pages 2016-11-10 06:57:01 -05:00
reillysmith
f37f2abc63 Update discover.js 2016-11-03 16:25:47 -07:00
Alex Liebowitz
5d5ec8633e Add "report" link to Show page 2016-11-02 13:03:19 -04:00
Job Evers‐Meltzer
584a1d7d6a Merge pull request #71 from lbryio/clampjs
Switch TruncatedText component to use clamp.js
2016-10-26 16:41:48 -05:00
Job Evers‐Meltzer
cf7818a6e6 Merge pull request #67 from lbryio/submit-on-enter
Submit forms on enter
2016-10-26 16:29:15 -05:00
Alex Liebowitz
5925f11083 Switch TruncatedText component to use clamp.js 2016-10-21 06:28:42 -04:00
Alex Liebowitz
2ad8960e2f My FIles: Don't get stuck on loading screen if no files are present 2016-10-19 20:29:35 -04:00
Alex Liebowitz
0e21b88281 Add submit input to Claim Code, Referral and Wallet pages 2016-10-19 03:13:39 -04:00
Alex Liebowitz
7cfbb60033 Add submit input to Publish page 2016-10-19 03:11:17 -04:00
Alex Liebowitz
eba4dbe146 Convert Publish page to use <form>
Previously used form element only for file input
2016-10-18 22:30:57 -04:00
reillysmith
6b460b4a9a Update discover.js 2016-10-10 14:57:00 -07:00
Josh Finer
5631d03f76 Update help.js
typo
2016-10-07 20:23:22 -04:00
Alex Liebowitz
b07241405e Flip menus to the left on My Files page 2016-10-02 03:33:40 -04:00
Alex Liebowitz
ef8f0e6227 Don't trigger lbry.search() on page load
This was happening because the transition of the query from
undefined -> '' was registering as a search being typed
2016-09-29 03:46:00 -04:00
Alex Liebowitz
fdc6329c2f Disable Silverlight, enable HTML5 fallback 2016-09-28 05:42:38 -04:00
Alex Grintsvayg
011199aef7 reword credit claim messages 2016-09-25 13:28:10 -04:00
Alex Liebowitz
3b0d24d4f5 Bold claim name everywhere on Publish page 2016-09-25 01:31:58 -04:00
Alex Liebowitz
5a60cb451c Give clearer feedback when updating a claim when have a non-winning bid 2016-09-25 01:29:57 -04:00
Jeremy Kauffman
c7ab4b9500 Merge pull request #61 from lbryio/longer-descriptions
Fix Featured and Community Content descriptions getting cut off
2016-09-24 15:30:02 -04:00
Jeremy Kauffman
d2ed0098f6 Merge pull request #60 from lbryio/video-load-screen
Use format of main splash screen for video load screen
2016-09-24 15:29:16 -04:00
Jeremy Kauffman
d7ec67c4ee add ellipsis to initial load message for consistency 2016-09-24 15:27:07 -04:00
Jeremy Kauffman
7be116665e Merge pull request #59 from lbryio/license-select
Convert license field to drop-down box
2016-09-24 15:22:30 -04:00
Jeremy Kauffman
6643a44f31 Merge pull request #48 from lbryio/show-wallet-address
Show address on Wallet page
2016-09-24 15:19:41 -04:00
Alex Liebowitz
317db4cb4f If get_my_claim returns an error, assume the claim is mine (temporary) 2016-09-24 04:41:31 -04:00
Alex Liebowitz
3614640adc Show different message for fully uploaded files vs. completed downloads 2016-09-24 04:21:07 -04:00
Alex Liebowitz
cb087cd50d Temporarily disable Reflector upload notice, pending lbrynet fixes 2016-09-24 04:15:02 -04:00
alexliebowitz
ac1b504dcf Merge pull request #62 from lbryio/my-files-tabs
Separate tabs for Downloaded and Published files in My Files
2016-09-24 03:01:54 -04:00
Alex Liebowitz
89f87bb604 Remove workaround for old get_my_claim() behavior 2016-09-24 02:59:46 -04:00
Alex Liebowitz
9e3dc5b5ce Convert MyFilesPage._filesOwnershipLoaded to state var 2016-09-24 02:50:13 -04:00
Alex Liebowitz
e5e27444a5 On My Files page, simplify check for file availability 2016-09-24 02:42:19 -04:00
Alex Grin
e12dc598a9 Merge pull request #53 from lbryio/claim-referral-credits
Add referral credit check page (WIP)
2016-09-23 20:03:45 -04:00
Alex Liebowitz
8bc13fb8a5 Filter My Files results based on tab chosen 2016-09-23 05:56:36 -04:00
Alex Liebowitz
4072c1cdda Add Downloaded and Published tabs to My Files page 2016-09-23 05:56:36 -04:00
Alex Liebowitz
4e9159828c Use compact search result tiles for featured and community content 2016-09-22 02:42:20 -04:00
Alex Liebowitz
eefc44cfb2 Add "compact" option for search result tiles 2016-09-22 02:41:03 -04:00
Alex Liebowitz
452f808e32 In copyright notice pre-fill, use "Copyright" instead of (C) symbol 2016-09-21 03:42:31 -04:00
Alex Liebowitz
5476c29322 Fix handling of absent license URLs
Before, if an option was picked that has no license URL field, it
would submit undefined for license_url. Now it correctly omits the key.
2016-09-21 02:57:20 -04:00
Alex Liebowitz
28e7f1e3b2 Remove "all rights reserved" wording 2016-09-21 02:29:45 -04:00
Alex Liebowitz
f598517e27 Use format of main splash screen for video load screen 2016-09-21 01:39:50 -04:00
Alex Liebowitz
8340759934 Convert license field to drop-down box 2016-09-20 06:40:24 -04:00
Alex Liebowitz
b3218f13c9 Show message on My Files page for files uploading to Reflector 2016-09-16 12:56:26 -04:00
Alex Liebowitz
9315b617c1 Track file Reflector availability in MyFiles state 2016-09-16 12:55:34 -04:00
Alex Liebowitz
09cd853bf2 Make Publish page send user to My Files as soon as file is listed there 2016-09-16 11:23:39 -04:00
reillysmith
24934f66b0 Update discover.js 2016-09-09 16:07:27 -07:00
Alex Liebowitz
cd2d3a44ea Fix wording 2016-09-09 07:40:27 -04:00
Alex Liebowitz
7077b78135 Make Watch button appear correctly in search results
Wasn't passing in the content type to SearchResultRow
2016-09-08 04:36:57 -04:00
Alex Liebowitz
0788cde219 Add referral code claim page 2016-09-08 04:17:08 -04:00
Jack Robison
3be312736b fix keys used in response from get_transaction_history 2016-09-05 13:20:34 -04:00
Sonata Green
1c89f47d1a show negative transactions 2016-09-03 15:28:05 -05:00
Alex Liebowitz
ef3e57be8a On Discover and Show pages, hide Watch button for non-video content 2016-09-02 04:51:22 -04:00
Alex Liebowitz
3deb160822 Make My Files page get media type via content_type instead of filename 2016-09-02 04:50:44 -04:00
Alex Liebowitz
3043574608 Link thumbnails and LBRY names in search tiles 2016-09-02 03:34:08 -04:00
Alex Liebowitz
0844cbd14a Don't show claim code page after user submits or skips 2016-09-02 03:08:46 -04:00
Alex Liebowitz
c8220e0c08 On Show page, don't display wrong name when given a nonexistent name
Now shows 404-like "no content here" message instead
2016-09-02 02:51:28 -04:00
Alex Liebowitz
8ebddc5a9f On Wallet page, refresh address if it doesn't match the current wallet 2016-09-02 01:46:27 -04:00
Alex Liebowitz
e453679729 Lowercase and remove special chars from names on Publish page
Also edited the text that appears next to the "name" box so
the user always gets to sees the actual name that will be claimed.
2016-09-01 03:30:12 -04:00
Alex Liebowitz
97512b9b3a Show address on Wallet page
- Remembers address from previous views using local storage
 - Also improved layout and added help text
2016-09-01 02:54:16 -04:00