Commit Graph

142 Commits

Author SHA1 Message Date
Nate Goldman
a1be66cb96 simplify power save block calls, fix #141 2016-03-14 11:38:59 -07:00
DC
dd04b4ab62 Fix chromecast button
Next step: Chromecast and Airplay play/pause, scrub, and state management

When casting, the correct cast button should be lit up and the video should be replaced with a title image and text
2016-03-14 09:53:01 -07:00
DC
8108c407d3 Torrent details
Show file list, open folder containing downloaded files, open individual files, play/pause individual videos
2016-03-14 09:18:20 -07:00
DC
74b713d706 Torrent list: overlay scrollbar
This prevents the list from resizing on scroll.
2016-03-13 19:30:53 -07:00
DC
e8cc7ac269 Torrent list: fix % complete bug 2016-03-13 17:51:39 -07:00
Feross Aboukhadijeh
6ba0d65daf typo 2016-03-11 17:04:21 -08:00
Feross Aboukhadijeh
342e1b1f22 typo 2016-03-11 16:51:44 -08:00
Nate Goldman
52fc2d88c9 Block "Power Saver" mode while video is playing
fix #106
2016-03-11 16:43:36 -08:00
DC
ca2236da84 Torrent list bug: don't [un]select torrent when clicking download or play button 2016-03-11 16:06:11 -08:00
DC
cf433ddf16 File details 2016-03-11 08:49:58 -08:00
DC
9c8478dbe4 Torrent selection 2016-03-10 23:46:35 -08:00
Dan Flettre
b1678b71c6 ensure video is paused before hiding window 2016-03-11 01:10:39 -06:00
Feross Aboukhadijeh
8dfd9fe788 remove stray console.log 2016-03-10 19:13:40 -08:00
Feross Aboukhadijeh
7282865bc7 restructure folders 2016-03-10 14:52:49 -08:00
DC
c176e3897a Add Torrent Link modal 2016-03-09 04:27:01 -08:00
Feross Aboukhadijeh
13c6e7817d Merge pull request #111 from feross/playable-files
filter file formats that <video> tag definitely can't play
2016-03-09 02:39:16 -08:00
Feross Aboukhadijeh
944a47be72 allow the main process to dispatch any event to the renderer 2016-03-09 02:36:10 -08:00
Feross Aboukhadijeh
fe524f8432 Merge pull request #107 from Flet/pause-on-hide
dispatch a pause event before hiding window on darwin
2016-03-09 02:18:40 -08:00
Feross Aboukhadijeh
f99bbab91c airplay/chromecast: remove unneeded startServer() calls 2016-03-09 02:16:20 -08:00
Feross Aboukhadijeh
5cc844ecbd filter file formats that <video> tag definitely can't play 2016-03-09 02:15:53 -08:00
Feross Aboukhadijeh
5b2ecab5ef UX: Add interface sounds 2016-03-09 01:54:52 -08:00
Feross Aboukhadijeh
20b52c17a8 Show "Download Complete" notification
When torrent download finishes and window is not focused, notify the
user.
2016-03-08 21:58:27 -08:00
Feross Aboukhadijeh
56536ad55e Move paste to renderer
The ‘clipboard’ module works in the renderer without using the ’remote’
package. So we can eliminate one IPC call this way :)
2016-03-08 21:06:20 -08:00
Dan Flettre
e686aa8d02 dispatch a pause event before hiding window on darwin 2016-03-08 22:40:51 -06:00
Feross Aboukhadijeh
edf08d06ec Limit window title width (fix #99) 2016-03-08 20:01:09 -08:00
Feross Aboukhadijeh
adf53bb7cc Fix scroll bar goes under header bar (fix #101) 2016-03-08 19:29:30 -08:00
Feross Aboukhadijeh
d061587e06 fix controls flying downward on transition
only transition player controls opacity, not all
2016-03-08 19:24:35 -08:00
Feross Aboukhadijeh
f0bb31c2e2 Add custom styles to scroll bar 2016-03-08 18:42:34 -08:00
Feross Aboukhadijeh
70aacf96af Merge pull request #98 from feross/window-ui-improvements
Lighter window background; small state changes
2016-03-08 18:41:53 -08:00
Liam Gray
9324765db9 Fix looping video 2016-03-08 17:36:20 -08:00
Feross Aboukhadijeh
67217bdc7e Lighter window background
Native windows get lighter when they’re backgrounded so they stand out
less (at least on OS X). Let’s do this too.

Even the Spotify app, which has dozens of developers gets this wrong.
We’re so awesome :)

Also:

- Renamed a bunch of state variables (next time will make separate
commit, sry)
- All window-related variables (e.g. isFullScreen, isFocused, etc.)
live in `state.window` now
- Remove negative class name, use CSS :not() instead
2016-03-08 17:18:31 -08:00
Feross Aboukhadijeh
2c70e2e3de Header should not show when .hide-video-controls 2016-03-08 17:15:32 -08:00
Feross Aboukhadijeh
49fd822910 Fix seeding functionality
Fix for small oversight in @dcposch’s recent changes. Broken when
adding the distinction between active and inactive torrents.

Please code review, @dcposch
2016-03-08 16:44:04 -08:00
Feross Aboukhadijeh
731bdc7bca fix drag color 2016-03-08 16:22:38 -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
9547e1d907 only animate .torrent hover state 2016-03-08 14:03:26 -08:00
Feross Aboukhadijeh
e9218fa1f0 change smallest media query breakpoint to 700px 2016-03-08 14:03:12 -08:00
Feross Aboukhadijeh
18fa84a92e Merge pull request #94 from feross/responsive
Responsive CSS to change torrent/drop-target height based on window width
2016-03-08 13:49:13 -08:00
Feross Aboukhadijeh
9fce4d9741 Merge pull request #93 from Flet/even-prettier-bytes
switch to prettier-bytes
2016-03-08 12:41:58 -08:00
Feross Aboukhadijeh
ec2ff2bb47 responsively change torrent/drop-target height
better large-screen experience
2016-03-08 12:01:05 -08:00
Feross Aboukhadijeh
683d4c3a9d add border-radius to drop target 2016-03-08 11:54:13 -08:00
Feross Aboukhadijeh
ac0504bde4 Prevent repeated setBadge IPC calls 2016-03-08 11:51:02 -08:00
Dan Flettre
302d485bc8 switch to prettier-bytes 2016-03-08 10:45:55 -06: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
DC
4c03e98a19 Video controls: never hide when paused
Also simplifies CSS
2016-03-08 02:36:33 -08:00
Feross Aboukhadijeh
65065b1b27 Merge pull request #82 from feross/ui
UI polish (Windows fullscreen, Linux/Windows player window title)
2016-03-07 22:48:25 -08:00
Feross Aboukhadijeh
1681b8980b Merge pull request #81 from Flet/prettier-bytes
prettier bytes: drop fractional number if integer side is more than one digit
2016-03-07 22:47:51 -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