Commit graph

399 commits

Author SHA1 Message Date
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