Feross Aboukhadijeh
75067b4dd5
@dcposch PR feedback #82
2016-03-08 17:43:19 -08:00
Feross Aboukhadijeh
6946ab3507
style improvements
...
- make torrent placeholder the exact size of a normal torrent
- make torrent list window minimum size of two torrents
- make window start out sized for 4 torrents
- increase font size responsively
2016-03-08 15:39:39 -08:00
Feross Aboukhadijeh
e399ac9285
make min window height have room for two torrents
2016-03-08 15:00:10 -08:00
DC
ff56d818f6
Torrent list styling
...
* Download button is a lot easier to read: white down arrow when off, animated and pulsating green down arrow when downloading, solid green up arrow when seeding
* Play button shows a spinner if you click play before a torrent is ready, then an exclamation point if the torrent still isn't ready after 10 seconds
* Drop target shows up always, not just when the torrent list is empty. Lights up when you drag something
* Fixed alignment, the Xs to delete torrents are now aligned with the + to add a new torrent
2016-03-08 04:20:37 -08:00
Feross Aboukhadijeh
f5a9aa9514
use platform-dependent menu item name for 'close'
2016-03-07 23:06:07 -08:00
Feross Aboukhadijeh
81476a3954
fix bad merge
2016-03-07 22:33:23 -08:00
Feross Aboukhadijeh
0cca67a436
fix fullscreen on Windows
...
The win.isFullScreen() state takes a second to update so we should just
pass the state manually into onToggleFullScreen().
2016-03-07 22:22:25 -08:00
Feross Aboukhadijeh
7c68be4fd4
code style
2016-03-07 22:21:01 -08:00
Feross Aboukhadijeh
8ab2a1415b
update player window title to torrent name (Windows, Linux)
...
This also moves all the state “diffing” for purposes of updating the
app’s window via Electron APIs into one function updateElectron().
2016-03-07 22:20:39 -08:00
DC
4b890ee9f6
Show Blender Foundation videos by default
...
* Finishes the saved torrents feature!
* Torrents load and save correctly. Poster is autogenerated only once.
* Torrents can be paused and restarted
* Download button indicates state:
- White means paused
- Pulsating green means downloading
- Solid green means finished downloading, only seeding
2016-03-07 22:15:47 -08:00
Feross Aboukhadijeh
904d3a6c4b
Merge pull request #79 from feross/ui
...
Fix Windows UX issues
2016-03-07 19:42:45 -08:00
Romain Beaumont
251eff830f
hide menu bar in fullscreen, fix #51
2016-03-08 04:00:02 +01:00
Feross Aboukhadijeh
f32825a79e
Don't resize window if maximized (when player is opened)
...
For #3
2016-03-07 18:42:16 -08:00
Feross Aboukhadijeh
ca68e85520
add comments for window options
2016-03-07 18:18:40 -08:00
Feross Aboukhadijeh
58d7f93ec8
Hide top menu bar unless Alt key is pressed (Windows, Linux)
2016-03-07 18:18:31 -08:00
Feross Aboukhadijeh
1ea055eb4a
show window without 50ms timeout
...
Shouldn’t be needed since @ngoldman changed the <script> tag to async.
2016-03-07 18:15:21 -08:00
Feross Aboukhadijeh
2a423a8cb3
Use config.APP_NAME throughout
2016-03-07 15:48:22 -08:00
DC
713c391c05
Add download button
...
Doesn't do anything yet
2016-03-07 00:01:32 -08:00
Feross Aboukhadijeh
617f0bcf43
export object directly
2016-03-05 20:04:59 -08:00
Feross Aboukhadijeh
79c2295775
move isFullScreen check to ipc.js
2016-03-05 18:28:54 -08:00
Feross Aboukhadijeh
4f1dfc8c1e
style
2016-03-05 17:42:03 -08:00
Feross Aboukhadijeh
beca43029d
standard
2016-03-05 17:25:22 -08:00
Feross Aboukhadijeh
7eeda57b57
Add alternate fullscreen shortcut ⌘+Shift+F ( fix #26 )
...
Uses https://npmjs.com/package/electron-localshortcut to workaround a
bug in Electron (https://github.com/atom/electron/issues/1334 ).
We can remove `electron-localshortcut` once that bug is fixed.
2016-03-05 17:25:22 -08:00
Feross Aboukhadijeh
30ec87e7a7
windows.js: small fix
2016-03-05 17:24:09 -08:00
Feross Aboukhadijeh
06f18ccb01
Disable view menu items when window is hidden
2016-03-05 16:47:16 -08:00
Feross Aboukhadijeh
11464176cb
Start in correct full screen state
...
If the app is already fullscreen when it is loaded, set
state.view.isFullScreen to the correct state.
2016-03-05 14:56:55 -08:00
Feross Aboukhadijeh
fc68a08de7
menu: new "Add Fake Airplay" and "Add Fake Chromecast" items
...
Fixes #21
2016-03-05 14:04:33 -08:00
DC
59b3bd04a9
Letterbox video. Hide toolbar in fullscreen
...
Cleaner-looking Chromecast and Airplay icons
Hide top bar in full screen mode
2016-03-05 05:14:24 -08:00
DC
b7b30ed7c4
Cast buttons and fullscreen in player controls
2016-03-05 01:09:34 -08:00
Feross Aboukhadijeh
d148d4c97b
Fix IPC calls after PR #4
...
No biggie, just FYI @ngoldman
2016-03-04 16:15:30 -08:00
Feross Aboukhadijeh
82fc6cabe8
move config.startTime to app.startTime
...
This also captures the true start time since it runs before any
require() calls, so the time to require() will be taken into account.
2016-03-04 16:10:14 -08:00
Nate Goldman
9a0f361e14
separation of concerns
2016-03-04 13:14:22 -08:00
DC
52e433fd38
Scrubbing works
2016-03-04 04:33:41 -08:00
Feross Aboukhadijeh
e28dd34ae8
torrent delete button color
2016-03-04 02:04:14 -08:00
Feross Aboukhadijeh
56af326d65
only show title in html toolbar on OS X
2016-03-04 01:28:54 -08:00
Feross Aboukhadijeh
0c0d324cf4
remove unused state
2016-03-04 01:26:12 -08:00
Feross Aboukhadijeh
da3500d392
simplify deleteTorrent()
2016-03-04 01:26:04 -08:00
Feross Aboukhadijeh
3f60f1c7f2
only produce poster image from valid file types
2016-03-04 01:13:25 -08:00
Feross Aboukhadijeh
75a33228e8
fix back button exception
2016-03-04 01:13:24 -08:00
DC
28948e0dbc
Custom video controls + button to delete torrents
...
Also:
* Clean up the state object a bit
* Simplify, factor out torrent-list.js
2016-03-04 00:48:19 -08:00
Feross Aboukhadijeh
d72999df57
move more state into state.view
2016-03-03 17:19:31 -08:00
Feross Aboukhadijeh
db29ba7535
allow html5 volume changing
2016-03-03 17:18:56 -08:00
Feross Aboukhadijeh
6ee263b8e3
style
2016-03-03 16:48:13 -08:00
Feross Aboukhadijeh
1c685b3de6
remove ios class
2016-03-03 16:44:38 -08:00
Feross Aboukhadijeh
68824b40dd
move dock state to renderer process
2016-03-03 16:44:19 -08:00
Feross Aboukhadijeh
a188b6caaf
torrent-list: client always exists now
2016-03-03 16:29:16 -08:00
Feross Aboukhadijeh
36b242cc72
fix: maintain correct aspect ration when video is larger than screen
2016-03-03 16:04:00 -08:00
Feross Aboukhadijeh
2b18821416
dock: inc badge when torrent completes
2016-03-03 15:52:42 -08:00
Feross Aboukhadijeh
5820546dc4
dock: only show progress when active torrents exist
2016-03-03 15:44:21 -08:00
Feross Aboukhadijeh
8041e5faa3
no TURN server
2016-03-03 15:43:41 -08:00