Commit graph

286 commits

Author SHA1 Message Date
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
Jeremy Kauffman
bbe3bb4862 verbiage on help 2016-05-20 11:54:53 -04:00
Jeremy Kauffman
c8ff35920c remove osx litter 2016-05-20 11:33:28 -04:00
Alex Liebowitz
5b11964e59 Add basics of Featured Content with dummy entries 2016-05-16 09:45:49 -04:00
Alex Liebowitz
4593e8600d Add lbry.resolveName() 2016-05-16 09:17:53 -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
ecc20adaa9 Add lbry.getMediaType() 2016-05-16 04:16:40 -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
f2f7698d3d Add startFile, stopFile, deleteFile functions to lbry module 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
8a9d883956 Add title prop to Link class 2016-05-14 08:27:10 -04:00
Alex Liebowitz
a6b97d75ab Add lbry.getFilesInfo() 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
Alex Liebowitz
31bf22cbf1 Add lbry.getFileStatus() 2016-05-05 04:08:37 -04:00
Alex Liebowitz
b9d30cf85e Remove video ready state poll (video now starts on first try) 2016-04-27 01:28:45 -04:00
Alex Liebowitz
54a125673e Fix image captions in search results 2016-04-25 06:58:40 -04:00
Alex Liebowitz
32784f5ad0 Improve wording and formatting on Help page 2016-04-24 05:01:47 -04:00
Alex Liebowitz
366a16b933 Add "Report a Bug" page to replace Jack's temporary one 2016-04-23 08:20:54 -04:00
Alex Liebowitz
f91ba86295 Add lbry.reportBug() 2016-04-23 08:19:15 -04:00
Alex Liebowitz
4924b8d272 Keep trying to load video until it's available (temporary) 2016-04-22 06:46:36 -04:00
Jack
bcb7bc373b change variable 'default_download_directory' to 'download_directory' 2016-04-22 02:48:07 -04:00
Alex Liebowitz
0c3cc55a31 Fix "Download" link; also notify user and disable link on click. 2016-04-21 06:55:41 -04:00
Alex Liebowitz
80fdf2fd5f add lbry.getStreamInfo() 2016-04-21 06:16:40 -04:00
Alex Liebowitz
7f96f534a1 Move video viewing into front end 2016-04-21 05:54:18 -04:00
Alex Liebowitz
96745ef2b6 Switch from full URI to absolute path for View links 2016-04-21 00:52:07 -04:00
Jack
6faca8e669 add help text 2016-04-20 15:25:39 -04:00
Alex Liebowitz
a4f02c8ae9 Add "close" button on Linux with landing page to restart 2016-04-20 08:18:55 -04:00
Alex Liebowitz
b5fcb77e22 Add basics of Help page 2016-04-20 06:28:13 -04:00
Alex Liebowitz
5f64e0dbae Stop daemon before sending user to get new version
Daemon versions <= 0.2.2 don't support the "stop" method on O SX, so
we ask those users to manually exit LBRY
2016-04-20 05:46:29 -04:00