Commit graph

70 commits

Author SHA1 Message Date
Alex Liebowitz
ac32ec366a Update MyFilesPage to work with updated FileTile
Also did a little cleanup/refactoring
2017-01-16 23:33:31 -05:00
Alex Liebowitz
f424e2e439 Show Download link only if file is not published by user 2017-01-16 23:27:14 -05:00
Alex Liebowitz
9f5c57f93a Add ARIA labels for all modals 2017-01-13 17:05:09 -05:00
Alex Liebowitz
863758ba54 My Files: Preserve order of claims returned by daemon 2017-01-03 19:41:32 -05:00
Alex Liebowitz
304b53e994 Simplify sorting logic in My Files 2017-01-03 19:09:46 -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
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
78ed1b9dcd lbry.lighthouse.search() -> lighthouse.search() in two files 2016-12-07 15:14:53 -05:00
Job Evers
42898d5f60 Convert to ES6 modules 2016-12-06 14:28:10 -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
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
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
855e64e661 Convert alerts to modals in My Files, Publish, Report, Wallet pages 2016-11-10 06:59:48 -05: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
b07241405e Flip menus to the left on My Files page 2016-10-02 03:33:40 -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
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 Liebowitz
8bc13fb8a5 Filter My Files results based on tab chosen 2016-09-23 05:56:36 -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
3deb160822 Make My Files page get media type via content_type instead of filename 2016-09-02 04:50:44 -04:00
Alex Liebowitz
9995e6e3a8 Keep existing metadata version when updating claims 2016-08-27 02:18:19 -04:00
Alex Liebowitz
a679c9944a Add default thumbnails everywhere 2016-08-26 08:03:08 -04:00
Alex Liebowitz
5ae7bb4ac2 Fix wide thumbnails in My Files 2016-08-26 06:54:30 -04:00
Jeremy Kauffman
f9a1bd99c0 component for busy indicator, use in my_files 2016-08-21 10:55:32 -04:00
Sonata Green
920f55b4f5 add loading message to the My Files page 2016-08-19 20:48:08 -05:00
Jeremy Kauffman
21b5890448 publish and form tweaks 2016-08-09 08:36:26 -04:00
Jeremy Kauffman
007da592f1 crude ability to jump to discover 2016-08-09 08:22:06 -04:00
Jeremy Kauffman
a36f0f2691 wallet code + some finer touches on header + nav 2016-08-09 08:22:06 -04:00
Jeremy Kauffman
2ec42aad26 basic nav design, new title scheme, light page clean up 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
45f14598b9 barebones sidebar + light component refactor 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
24a7d5588e turn return link into a component 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
78f1fde34b only print an item in my_files once 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
b60037b8d9 fix react warnings 2016-08-07 11:27:00 -04:00
Alex Liebowitz
5ece0111df Clearly indicate pending files in My Files 2016-08-03 06:57:06 -04:00
Jeremy Kauffman
1048f110da capitalize area names 2016-07-26 09:03:46 -04:00