Commit graph

264 commits

Author SHA1 Message Date
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
0a2c0586d4 Light refactor of daemon settings processing
- Rename the daemon setter/getter methods to lbry.getDaemonSettings()
   and lbry.setDaemonSettings() to differentiate them from the new
   methods for client settings
 - Add lbry.setDaemonSetting(), for changing individual daemon settings
   easy to
 - Refactor Settings page to submit only changed settings instead of
   re-submitting all settings every time
2016-08-22 15:19:11 -04:00
Alex Liebowitz
b75004c5f6 Make search work from pages other than Discover 2016-08-22 15:19:11 -04:00
Sonata Green
73e29b423b use BusyMessage on wallet page 2016-08-22 11:16:43 -05: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
Alex Liebowitz
13f7f1995e Improve wording and formatting on Help page 2016-08-22 05:43:02 -04:00
Alex Liebowitz
ce574f24ec Add version and upgrade info section to Help page 2016-08-22 05:42:01 -04:00
Alex Liebowitz
61a3d4f36e Improve wording and formatting of Help page 2016-08-22 05:38:17 -04:00
Sonata Green
a4cd2f9b09 use .table-standard for transaction history 2016-08-21 23:22:09 -05:00
Sonata Green
955db5fcfc fix double transactions 2016-08-21 23:22:09 -05:00
Sonata Green
e2a1d53287 fix date/time display 2016-08-21 23:22:09 -05:00
Sonata Green
1687518c6e Bare-bones transaction history. 2016-08-21 23:22:08 -05:00
Sonata Green
e4544087a8 fix watch/download links on ?show= page 2016-08-21 11:51:20 -05:00
Jeremy Kauffman
3554d34c53 revert wallet changes 2016-08-21 10:57:11 -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
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
9f5c999c39 On Publish page, ignore outdated getClaimInfo() responses 2016-08-10 03:05:17 -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
c9b7c37e2c more form fixes 2016-08-09 08:36:26 -04:00
Jeremy Kauffman
21b5890448 publish and form tweaks 2016-08-09 08:36:26 -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
Jeremy Kauffman
a36f0f2691 wallet code + some finer touches on header + nav 2016-08-09 08:22:06 -04:00
Jeremy Kauffman
0d2775138a clean up help, report, and settings 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
7b18774e81 move exit to header 2016-08-09 08:20:19 -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
640001c597 store upgrade skip in session 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
98ebf02ca6 split out tool tip to separate component 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
Alex Liebowitz
6b899bdfc0 Pass sources from existing claim to publish() if file not provided 2016-08-09 03:04:54 -04:00
Alex Liebowitz
7a5f478b4d Change wording on Publish page for claims user already controls 2016-08-09 02:46:11 -04:00
Alex Liebowitz
6677769ded Use current value in name field on Publish page 2016-08-08 23:34:11 -04:00
Alex Liebowitz
761ba6f1e2 Properly set default currency 2016-08-08 05:49:30 -04:00
Alex Liebowitz
3d20bc22aa Make Featured Content use TrunctedText 2016-08-08 05:44:15 -04:00
Jeremy Kauffman
b60037b8d9 fix react warnings 2016-08-07 11:27:00 -04:00
Alex Liebowitz
53843361b6 Make Featured Content and Search use new TruncatedText component 2016-08-04 04:09:03 -04:00
Alex Liebowitz
aa2f48f359 Add spacing between buttons on Publish page 2016-08-04 03:36:53 -04:00
Alex Liebowitz
f4d2ed2af1 Add spacing between buttons on Search page and between search results 2016-08-04 03:33:44 -04:00
Alex Liebowitz
5ece0111df Clearly indicate pending files in My Files 2016-08-03 06:57:06 -04:00
Alex Liebowitz
c1185b3c9d Update publish success message
Now says that file will appear in My Files immediately but
will initially show up as "pending."
2016-08-03 06:57:06 -04:00
Alex Liebowitz
3c417d0abe Remove PublishPage.readyToPublish() (now unused) 2016-08-03 06:57:06 -04:00
Alex Liebowitz
25e9eff7f2 Change publish link in empty search results to point to Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
00524f5554 Move Publish entry in menu 2016-08-03 06:57:06 -04:00
Alex Liebowitz
7d283743fc More Publish page improvements
- Multiple currency support (USD/LBC)
 - Add bid amount to list of required fields
2016-08-03 06:57:06 -04:00
Alex Liebowitz
655d764213 Use new lbry.getClaimInfo() to get claim status on Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
c937b28a99 Make Publish confirmation message show title correctly 2016-08-03 06:57:06 -04:00
Alex Liebowitz
03052fde62 Fix filtering of absent metadata fields 2016-08-03 06:57:06 -04:00
Alex Liebowitz
31417fcc57 Fixed required field test 2016-08-03 06:57:06 -04:00
Alex Liebowitz
9298db089b Remove warnings about non-numeric input (will replace with input filtering)"
Remove warnings about non-numeric input

Will replace with input filtering
2016-08-03 06:57:06 -04:00
Alex Liebowitz
690881ab9e Many small improvements to Publish
- Add NSFW field
   - Send metadata version
   - Convert back to non-nested metadata fields (for now)
   - Made progress bar display properly during the "processing" phase
   - Changed "Publish" button to "Publishing..." during submit
2016-08-03 06:57:06 -04:00
Alex Liebowitz
45c126a757 In PublishPage.handleSubmit(), return right away when data is missing 2016-08-03 06:57:06 -04:00
Alex Liebowitz
6b9df7be76 Fix unnecessary double call of getValue on license URL field 2016-08-03 06:57:06 -04:00
Alex Liebowitz
45840838b9 Refactor and new features for Publish page
- Publish button no longer grayed out when form is incomplete
 - Now warns about individual missing fields using the new FormField
   component
 - Fixed relaying of error messages from daemon
 - New license URL field
 - License broken into two sub-fields (.license.name, .license.url)
2016-08-03 06:57:06 -04:00
Alex Liebowitz
7f258b2a14 Fix My Files link on Publish page 2016-08-03 06:57:06 -04:00
Will Moyer
c3754e7c56 update styles and layout for Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
683a3cd4b1 More tweaks to Publish page
- Give lbry.publish()  complete data structure for fee (inc.
   currency and address) insteaed of just the amount.
 - Disable Publish button during submit
2016-08-03 06:57:06 -04:00
Alex Liebowitz
5170222e2d Add almost all remaining fields + visual fixes and refactoring 2016-08-03 06:57:06 -04:00
Alex Liebowitz
faca7f18d0 Finish core logic of Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
2ec8a5c7fc Basic skeleton of Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
a2856052dc Tweak wording and formatting on Wallet page 2016-08-03 05:37:59 -04:00
Jonas Whidden
629ba32d3a Clean up and Package
The first case is covered by the condition for enabling the send button
2016-08-02 08:35:18 -05:00
Alex Liebowitz
09cad7196b Add low balance checking on Wallet page 2016-08-02 05:36:00 -04:00
Jonas Whidden
4b521f29e6 Change phrasing 2016-08-02 05:36:00 -04:00
Jonas Whidden
0f2db3e00a Make it prettier 2016-08-02 05:36:00 -04:00
Jonas Whidden
a9d95bf76b Fix send amount to address 2016-08-02 05:36:00 -04:00
Jonas Whidden
0131294b91 Use bank icon for wallet menu item 2016-08-02 05:36:00 -04:00
Jonas Whidden
61c73e0ae2 Commit was left out 2016-08-02 05:36:00 -04:00
Jonas Whidden
d72e077ad3 Add basic wallet functionality 2016-08-02 05:36:00 -04:00
Alex Liebowitz
7b8a4918a1 Make it clear the search box is actually a search box now
(Thanks Jack)

This reverts commit a7ae10530e.
2016-07-30 04:29:13 -04:00
Alex Liebowitz
cfbadd7007 Make Featured Content use lbry.getCostEstimate() 2016-07-30 04:23:41 -04:00
Alex Liebowitz
7c77f166cd Make Show page use lbry.getClaimInfo() and lbry.getCostEstimate() 2016-07-30 03:47:31 -04:00
Alex Liebowitz
aff6308846 Add character cutoff on descriptions for featured and community content 2016-07-27 06:25:26 -04:00
Alex Liebowitz
aa968e2b13 Small style fixes on home page 2016-07-27 06:24:10 -04:00
Jeremy Kauffman
a7ae10530e make it clear the search box is not actually a search box 2016-07-26 09:19:54 -04:00
Jeremy Kauffman
1048f110da capitalize area names 2016-07-26 09:03:46 -04:00
Jeremy Kauffman
7c418c0ea6 fix ?files failing to load after publish 2016-07-26 09:02:28 -04:00
Alex Liebowitz
3d6e66a4bf Add Community Content section to home page 2016-07-26 08:02:55 -04:00
Alex Liebowitz
fe66cc502c Use error message from claim code endpoint 2016-07-22 23:46:37 -04:00
Alex Liebowitz
27341cd55e Restore normal claim code page
This reverts commit 8a984f0519.
2016-07-21 13:43:23 -04:00
Alex Liebowitz
8a984f0519 Disable claim codes (temporary) 2016-07-20 23:30:08 -04:00
Jonas Whidden
97f44b9072 More show links 2016-07-18 11:22:45 -05:00
Jonas Whidden
8890a0cb8c Make title a link to show page, make watch link not use lory:// 2016-07-17 17:16:57 -05:00
Jonas Whidden
151cb22684 Use escaped to access content-type 2016-07-17 09:20:37 -05:00
Jonas Whidden
4c8bdc27ec Refactor to use results only since it contains everything, add message when no results found, wait for results data to load before display page, extract variables for cleaner JTX. Using results.content_type which for now is null, the actual property is results.content-type, but that's syntactically ambiguous so there's no way to resolve the name. Requires a change in LBRY to send content_type instead of content-type. 2016-07-16 12:14:06 -05:00
Jonas Whidden
c7f92bdf5a Design audit, need to add entry to show file type 2016-07-16 00:43:12 -05:00
Jonas Whidden
ea178e6ae4 Fix bigs with JTX 2016-07-16 00:19:40 -05:00
Jonas Whidden
f7790e8bf8 Initial show page commit 2016-07-15 21:58:24 -05:00
Jeremy Kauffman
5d7f920bc6 bold titles, better image sizes, minor rework of homepage 2016-07-13 21:46:26 -04:00
Alex Liebowitz
49eaa25423 Remove all mention of "200 credits," to support other offers 2016-07-05 10:32:25 -04:00
Alex Liebowitz
5ff7bd30eb Alignment and formatting tweaks 2016-07-05 01:39:53 -04:00
Alex Liebowitz
40c336db9b URL encode arguments for invite endpoint 2016-07-04 22:07:24 -04:00
Alex Liebowitz
2ad24c6b0d General Featured Content improvements 2016-07-04 21:58:17 -04:00
Alex Liebowitz
597e450dd5 UI tweaks 2016-07-04 20:02:06 -04:00
alexliebowitz
5b33411a74 Give claim code "skip" button alt style 2016-07-04 15:05:26 -04:00
alexliebowitz
28905347f8 Typo 2016-07-04 14:58:31 -04:00
alexliebowitz
cb19a5dba5 Fix mandatory field handling in claim code form 2016-07-04 14:58:00 -04:00
alexliebowitz
f06c0e7c1b Make email required in claim code form 2016-07-04 14:55:18 -04:00
Alex Liebowitz
5f2174dd07 Add claim code page 2016-07-04 12:05:26 -04:00
alexliebowitz
cdc31b3006 Make search results use new standard "title" field 2016-06-27 16:40:49 -04:00
alexliebowitz
2834bc01f4 Change My Files to use new standard "title" field 2016-06-27 16:38:08 -04:00
Alex Liebowitz
5f7c4a8121 Make styles for MediaElement.js to add letterboxing 2016-06-06 04:52:52 -04:00
Alex Liebowitz
986a2bf16e Switch to MediaElement (all done except letterboxing) 2016-06-03 07:45:03 -04:00
Alex Liebowitz
92105f1bf4 Change option wording to non-OS-specific "Reveal file" for now 2016-05-30 09:37:47 -04:00
Alex Liebowitz
142c0dad9e Make "Remove from LBRY" and "Delete file" options work 2016-05-30 08:54:08 -04:00
Alex Liebowitz
9aabfc171c Basics of More Options menu on My Files items 2016-05-30 04:16:33 -04:00
Alex Liebowitz
909685a70e Merge branch 'master' into featured-content-support 2016-05-29 04:58:10 -04:00
Alex Liebowitz
dc8b0e9df6 Hide featured content for now 2016-05-29 04:41:57 -04:00
Alex Liebowitz
c132de88b0 Make menu icons bigger 2016-05-29 04:30:28 -04:00
Alex Liebowitz
9550a08b51 Center art on My Files page 2016-05-29 04:30:28 -04:00
Alex Liebowitz
823489baed Fix rounding error causing progress bar to grow and shrink 1px 2016-05-29 04:30:27 -04:00
Alex Liebowitz
6db7551911 Fix missing padding before "Return" link in My Files 2016-05-29 04:30:27 -04:00
Alex Liebowitz
1894f833a5 Make My Files page use new WatchLink component 2016-05-29 04:30:27 -04:00
Alex Liebowitz
db76714801 Indentation fix in my_files.js 2016-05-29 04:30:27 -04:00
Alex Liebowitz
be74a51d9f Streamline featured content styles; spacing tweaks 2016-05-29 04:30:26 -04:00
Alex Liebowitz
f16d9f044b Make Featured Content reappear the same moment search results disappear 2016-05-29 04:30:26 -04:00
Alex Liebowitz
ddb430c2c0 Factor out DownloadLink and WatchLink into standalone components 2016-05-29 04:30:26 -04:00
Alex Liebowitz
1609cc0e3f Merge branch 'my-files-page' 2016-05-29 04:02:33 -04:00
Alex Liebowitz
c41c9c07c3 Make menu close when user clicks away
Also moved toggle button handling into Menu component to simplify
logic.
2016-05-28 06:33:42 -04:00
Alex Liebowitz
cc75ff9aff Main menu improvements
- Move most of the code into generic Menu and MenuItem components
  - Icons can go left or right of text
  - Make icons fixed width (fixes ragged left edge of labels)
  - Labels underlined on hover only
2016-05-27 07:18:42 -04:00
Alex Liebowitz
8ec07a42a6 Add back Linux check for close button 2016-05-23 13:01:53 -04:00
Alex Liebowitz
cce187ad62 Add small LBRY logo to top of sub-pages 2016-05-23 10:24:23 -04:00
Alex Liebowitz
926fce72af Convert main menu to drop down 2016-05-23 09:56:21 -04:00
Alex Liebowitz
4977729409 Make watch page full width (override 800px page width) 2016-05-23 08:16:41 -04:00
Jeremy Kauffman
bbe3bb4862 verbiage on help 2016-05-20 11:54:53 -04:00
Alex Liebowitz
5b11964e59 Add basics of Featured Content with dummy entries 2016-05-16 09:45:49 -04:00
Alex Liebowitz
6ac17ae675 Vertically center download start/stop icon 2016-05-16 06:22:14 -04:00
Alex Liebowitz
f8f1d97150 Add Watch button to video streams 2016-05-16 05:00:20 -04:00
Alex Liebowitz
2824447c6c Make stream name display more robust (inc. fall back to URI) 2016-05-16 03:10:02 -04:00
Alex Liebowitz
00ade0a78b Make pause/resume button update correctly 2016-05-16 01:48:27 -04:00
Alex Liebowitz
668e1d7a5d Basic layout with working pause/resume/remove file functionality 2016-05-14 08:27:11 -04:00
Alex Liebowitz
32c2c94b95 Basics of My Files page 2016-05-14 08:27:10 -04:00
Alex Liebowitz
9a2125ae4a Add My Files menu item and titles for all menu items 2016-05-14 08:27:09 -04:00
Alex Liebowitz
3246e93766 Make 1000 LBC notice only appear on home page 2016-05-14 08:27:09 -04:00
Alex Liebowitz
9071b2b1a9 Switch to FlowPlayer to fix streaming issues and simplify code 2016-05-13 07:51:46 -04:00
Alex Liebowitz
d3745e13d1 Make 15 sec fallback loop start when video is created, loop properly 2016-05-11 03:17:42 -04:00
Alex Liebowitz
e5e4802143 Add fallback routine to call .load() every 15 seconds if a video fails to load 2016-05-05 08:10:19 -04:00
Alex Liebowitz
c74629f5d3 Pre-render video hidden, then launch when it reports it can play 2016-05-05 06:58:06 -04:00
Alex Liebowitz
5b0f2e638a Hide video until it's playable and show loading message 2016-05-05 04:12:23 -04:00