Commit graph

42 commits

Author SHA1 Message Date
Alex Liebowitz
4bd29ed515 Convert FeaturedContentItem to pass one metadata prop into FileTile 2017-01-16 23:33:31 -05:00
Alex Liebowitz
a36dd5cfe4 Convert search results to use FileTile 2017-01-16 23:33:31 -05:00
Alex Liebowitz
efa1a29d4f Rename SearchResultRow to FileTile and convert styles to CSS
Also moves the component to its own file (file-tile.js) so it can be
used outside the Discover page.
2017-01-16 23:27:14 -05:00
Alex Liebowitz
160c6fd407 DiscoverPage: pass query into handleSearchChanged() on mount 2017-01-04 11:53:30 -05:00
Alex Liebowitz
7e86cccd6c Restore Dewey Decimals message
The "no results found" message was showing instead due to some tricky
state management stuff.
2016-12-30 08:21:24 -05:00
Alex Liebowitz
ed38e2ea75 Add import for BusyMessage to discover.js 2016-12-30 07:40:07 -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
Job Evers
42898d5f60 Convert to ES6 modules 2016-12-06 14:28:10 -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
reillysmith
f37f2abc63 Update discover.js 2016-11-03 16:25:47 -07:00
Alex Liebowitz
5925f11083 Switch TruncatedText component to use clamp.js 2016-10-21 06:28:42 -04:00
reillysmith
6b460b4a9a Update discover.js 2016-10-10 14:57:00 -07: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
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
reillysmith
24934f66b0 Update discover.js 2016-09-09 16:07:27 -07: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
ef3e57be8a On Discover and Show pages, hide Watch button for non-video content 2016-09-02 04:51:22 -04:00
Alex Liebowitz
3043574608 Link thumbnails and LBRY names in search tiles 2016-09-02 03:34:08 -04:00
alexliebowitz
596a122d25 Fixed capitalization on featured content item URI 2016-08-26 16:51:12 -04:00
Alex Liebowitz
0e30c6c8c8 Update Featured Content and add "five" slot to Community Content 2016-08-26 08:07:46 -04:00
Alex Liebowitz
a679c9944a Add default thumbnails everywhere 2016-08-26 08:03:08 -04:00
Jeremy Kauffman
5dcb0593ad move nsfw logic lower, more semantic, handle search unmount 2016-08-22 16:56:52 -04:00
Jeremy Kauffman
b53a178338 Merge remote-tracking branch 'origin/show-hide-nsfw' into blur-nsfw 2016-08-22 16:14:58 -04:00
Sonata Green
17bfbb8940 add setting to show/hide NSFW content 2016-08-22 16:09:28 -04:00
Alex Liebowitz
399fb5c7c8 Filter NSFW featured content on Discover page 2016-08-22 16:09:28 -04:00
Alex Liebowitz
8378a7a387 Add option to show/hide NSFW content 2016-08-22 15:46:15 -04:00
Alex Liebowitz
b75004c5f6 Make search work from pages other than Discover 2016-08-22 15:19:11 -04:00
Alex Liebowitz
3edc93c842 Blur NSFW content on home page
Also adds a mouse-over overlay explaining you can choose to
show NSFW stuff on the Settings page (not implemented yet)
2016-08-22 08:01:00 -04:00
Jeremy Kauffman
f9a1bd99c0 component for busy indicator, use in my_files 2016-08-21 10:55:32 -04:00
Alex Liebowitz
5d05e10f18 Remove (est) from cost on items that Lighthouse reports hosted
Also adds "credits" to all prices and tweaks formatting slightly
2016-08-19 03:15:17 -04:00
Alex Liebowitz
4c01cf4259 Use lbry.search() to fetch costs 2016-08-18 03:34:20 -04:00
Alex Liebowitz
1a66fafd2d Rewrite search to use Lighthouse RPC calls 2016-08-18 03:14:38 -04:00
Alex Liebowitz
0ebbe4427b Filter NSFW search results (will add option to display them later) 2016-08-09 12:17:02 -04:00
Alex Liebowitz
eceaabb93c Make search not get stuck on Dewey Decimals message 2016-08-09 10:58:35 -04:00
Jeremy Kauffman
e1bbb7dbdf fix spacing issue 2016-08-09 08:42:32 -04:00
Jeremy Kauffman
2867560fed unify item tiles 2016-08-09 08:42:32 -04:00
Jeremy Kauffman
2b07c982e6 result display improvements, search to header 2016-08-09 08:29:22 -04:00
Jeremy Kauffman
007da592f1 crude ability to jump to discover 2016-08-09 08:22:06 -04:00
Renamed from js/page/home.js (Browse further)