Commit graph

311 commits

Author SHA1 Message Date
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
Alex Liebowitz
19933c53e5 Add lbry.getVersionInfo() and lbry.stop() 2016-04-20 05:38:00 -04:00
Alex Liebowitz
0ff8dd7b84 Remove load screen timeout (lagging is now reported by daemon) 2016-04-17 21:32:45 -04:00
Alex Liebowitz
8267646d93 Use localhost URLs for links in Chrome and on Windows (temporary)
Probably would be better to pass URL prefix via props or context, but it's
temporary code anyway.
2016-04-16 06:33:30 -04:00
Alex Liebowitz
6ab085d74b Convert lagging notice from alert to regular message 2016-04-15 06:41:01 -04:00
Alex Liebowitz
f34d0c9ad8 Add details from daemon to splash message 2016-04-14 04:21:36 -04:00
Alex Liebowitz
3b705ada7b Basic load status checking logic and notify user when lagging 2016-04-14 02:27:06 -04:00
Alex Liebowitz
8deb62cc76 Let SplashScreen trigger render of App
The splash screen will soon poll for loading progress info, so we might as well
launch App directly from SplashScreen instead of having two separate polls.
2016-04-14 01:49:00 -04:00
Alex Liebowitz
7c1fb5bcb2 Add lbry.getDaemonStatus() 2016-04-14 00:40:31 -04:00
Alex Liebowitz
7ec2b46960 Add missing args param to check_for_new_version call 2016-04-13 21:21:35 -04:00
Alex Liebowitz
f8c0382db0 If user has old version, redirect them to lbry.io/[os] to upgrade
The OS checking is ugly, but once we have an "upgrade" page on lbry.io we'll change it to point there
2016-04-12 06:35:14 -04:00
Alex Liebowitz
458ff88602 Extend timeout to 5 minutes 2016-04-12 05:07:17 -04:00
Alex Liebowitz
1c896a4243 Switch to callback based error handling for daemon requests 2016-04-12 05:00:27 -04:00
Alex Liebowitz
dd4b7a621b Rename gui.js to main.js (per Jeremy's changes)) 2016-04-12 04:52:42 -04:00
Jeremy Kauffman
f7cc73c113 one more function to remove 2016-04-09 20:03:23 -04:00
Jeremy Kauffman
3a6e1529d8 settings UI, clean up 2016-04-09 20:00:56 -04:00
Alex Liebowitz
8cf9395ea8 Display startup message if provided by daemon 2016-04-09 06:44:46 -04:00
Alex Liebowitz
21ba8ae8b3 Code style fixes and typos 2016-04-09 05:10:42 -04:00
Alex Liebowitz
123e6760bc Finish pre-population; fix saving of "share diagnostic data" field 2016-04-09 03:47:56 -04:00
Alex Liebowitz
496dbaea34 Add "Share diagnostic data" option 2016-04-09 03:05:06 -04:00
Alex Liebowitz
1c602449fe Improve wording and layout; make all fields save 2016-04-08 12:08:48 -04:00
Alex Liebowitz
790124d25a First sorta-working draft of Settings page
- Includes all fields except some I need to ask Jack about (layout details)
  - Loads current settings and saves one (run_on_startup)
  - Also made success callback in lbry.call() optional (don't need it for set_settings)
2016-04-03 09:13:15 -04:00
Alex Liebowitz
485c7fafbe Add support for multiple pages and basic outline of Settings page 2016-03-31 06:22:31 -04:00
Alex Liebowitz
fa7fd4c589 Update lbry.call() for Jack's JSONception fix 2016-03-30 05:35:42 -04:00
Alex Liebowitz
2f8e5873f4 Break out menu into its own component 2016-03-27 01:50:27 -04:00
Alex Liebowitz
d6a432fe75 Move top bar into its own component 2016-03-27 01:41:36 -04:00
Alex Liebowitz
29f8018cef Fix missing titles in search results 2016-03-27 01:23:37 -04:00
Alex Liebowitz
841fc40568 Fix empty style passed as string instead of object 2016-03-27 01:22:07 -04:00
Alex Liebowitz
baa604cdb1 Add menu bar with settings icon and supporting changes
- Added class support and "fade in" option to Link component
2016-03-25 03:31:20 -04:00
Alex Liebowitz
4bdadc4551 Fixes to improve loading screen
- Add optional "connection failed" callback to lbry.call()
- Make loading screen handle condition where daemon is not running at all (i.e. AJAX connection fails)
2016-03-24 21:20:58 -04:00
Alex Liebowitz
b2bcf3a436 Implement lbry.connect(); loading screen now actually checks if the daemon is loaded 2016-03-24 03:08:39 -04:00
Jack
279fc434c1 fix thumbnail and font paths, add default thumbnail image
also remove reference to unused script (mimic.js) from index.html
2016-03-21 12:04:46 -04:00
Jack
443b4520c3 fix a path, remove unneeded file, fix parameter formatting 2016-03-21 10:10:19 -04:00
Alex Liebowitz
972674ce2e Implement lbry.call() and get balance display working 2016-03-21 02:31:25 -04:00
Jeremy Kauffman
8c39a0716f api tweak 2016-03-16 17:57:41 -04:00
Jeremy Kauffman
5b2867f830 full frontend separation (you must be 18+ to view this commit) 2016-03-15 12:05:11 -04:00
Jeremy Kauffman
62ba2b8585 initial commit (broken) 2016-03-14 18:05:24 -04:00