Commit graph

323 commits

Author SHA1 Message Date
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
Jeremy Kauffman
02416f66e5 fix cross browser scrolling 2016-08-19 09:47:40 -04:00
Alex Liebowitz
de1596c0ba Display prices rounded to whole numbers with no ".0"
Looks cleaner, plus no issue of "1.0 credits" vs "1.0 credit"
2016-08-19 03:24:12 -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
5c25f30c90 Hold off on "credits" wording change for now 2016-08-18 04:04:42 -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
9d7f82e309 Refactor JSON-RPC handling into generic function 2016-08-18 02:57:19 -04:00
Alex Liebowitz
9f5c999c39 On Publish page, ignore outdated getClaimInfo() responses 2016-08-10 03:05:17 -04:00
Alex Liebowitz
c371c7c758 Make header text display in Safari 2016-08-09 16:33:01 -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
201a1989d9 fix watch 2016-08-09 08:36:26 -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
be31598ed9 Add TruncatedText component 2016-08-04 04:08:12 -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
157a68d4f1 Add checkbox support to FormField component 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
e4f439c12c Add FormField component with required field support 2016-08-03 06:57:06 -04:00
Alex Liebowitz
6d23e7af51 Make lbry.publish() call error callback 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
c46aecfbd9 Add error handling to lbry.resolveName() and lbry.publish() 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
d9c6787fac Add lbry.publish() 2016-08-03 06:57:06 -04:00
Alex Liebowitz
1aac7576ae Make update redirect go directly to dmg or deb 2016-08-03 06:56:40 -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
31cf170e35 Wallet branch 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
9a01b7202f Alert user if they don't have enough credits for watch/download 2016-08-02 05:12:52 -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
1fcf1b4325 Add lbry.getCostEstimate() stub 2016-07-30 03:45:31 -04:00
Alex Liebowitz
8a62bbf808 Add lbry.getClaimInfo() stub 2016-07-30 02:42:53 -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
6f16b76bb3 Add tooltip support to Link component 2016-07-26 08:01:54 -04:00
Alex Liebowitz
fe66cc502c Use error message from claim code endpoint 2016-07-22 23:46:37 -04:00
Alex Liebowitz
820ffc2a40 Send user directly to GitHub releases page 2016-07-22 01:18:36 -04:00
Alex Liebowitz
8b8bcc644c Switch to int comparison in version check 2016-07-22 00:20:16 -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
cc28af2436 Merge branch 'master' into add-detail-page
# Conflicts:
#	dist.zip
2016-07-19 00:41:27 -05:00
Jonas Whidden
685f39b764 Turns out www was the culprit, not http. 2016-07-18 23:51:22 -05:00
Jonas Whidden
97f44b9072 More show links 2016-07-18 11:22:45 -05:00
kimihiro64
f6d0585ba7 Change update location
Needs to be https://www.lbry.io/get. For some reason if it's non https, it redirects to https://www.lbry.io/news/get.
2016-07-18 09:40:52 -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
Alex Liebowitz
ab15d96efe Fix version check logic (Pt. 2) 2016-06-30 01:27:31 -04:00
Alex Liebowitz
11f450bde0 Merge branch 'mediaelement' of https://github.com/lbryio/lbry-web-ui into mediaelement 2016-06-30 00:42:38 -04:00
Alex Liebowitz
c5d93f7bb1 Fix version check logic 2016-06-30 00:39:41 -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
5f5e3ae5c6 Version check/upgrade improvements
- Upgrading is now optional
  - Move version comparison logic into JS (Jack took it out of the daemon)
2016-05-30 09:43:34 -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
c49b70049e Remove some debug code 2016-05-29 05:28:06 -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
85f13d9991 Add padding to main menu 2016-05-28 03:08:34 -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