Commit graph

34 commits

Author SHA1 Message Date
Jordan Eldredge
282780a26b Add many tests for serialization 2018-09-30 00:19:04 -07:00
Jordan Eldredge
4d353376d1 Split serialized state types into their own file 2018-09-29 18:00:20 -07:00
Jordan Eldredge
78537accbf Refactor how we manage window positions 2018-09-29 18:00:20 -07:00
Jordan Eldredge
6c1d90ab4b Fix export 2018-09-29 18:00:20 -07:00
Jordan Eldredge
71adca131c Add back resetWindowLayout 2018-09-29 18:00:20 -07:00
Jordan Eldredge
ab5586cf60 Begin tracking window size 2018-09-29 18:00:20 -07:00
Jordan Eldredge
464d42405f Add initial approach of recovering from bad window positions 2018-09-29 18:00:19 -07:00
Jordan Eldredge
b543447da9 Move centerWindowsIfNeeded to an action creatorThis forces us to type it, as a nice side benefit 2018-09-29 17:58:46 -07:00
Jordan Eldredge
38f032b2c7 Don't center windows when restoring from serialized state 2018-09-29 17:58:46 -07:00
Jordan Eldredge
29c12c656a Type Balance 2018-09-28 07:26:24 -07:00
Jordan Eldredge
5d6b2d40dc Type Minimize 2018-09-28 07:03:45 -07:00
Jordan Eldredge
5f7948c011
Add media session integration (#646) 2018-09-25 22:13:43 -07:00
Jordan Eldredge
ff06c96de2
Provide a way to prevent closing Webamp (#655)
* Provide a way to prevent closing Webamp

Fixes #653

* Fix typos for onWillClose in usage and types
2018-09-20 06:19:28 -07:00
Jordan Eldredge
76b85df82e Handle one case where we can leave a track playing after it's been removed 2018-09-18 07:42:37 -07:00
Jordan Eldredge
44abf69a71 Type file action creators! 2018-09-17 17:04:05 -07:00
Jordan Eldredge
6ef225c746 Convert parent actionCreator module to typescript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
342ac3dac9 Ignore issue with Object.keys always returning string[] 2018-09-17 17:04:05 -07:00
Jordan Eldredge
80ff286e00 Type playlist action creators 2018-09-17 17:04:05 -07:00
Jordan Eldredge
6d3a9a782f Type window reducers 2018-09-17 17:04:05 -07:00
Jordan Eldredge
e71dac807d Type the equalizer action creators 2018-09-17 17:04:05 -07:00
Jordan Eldredge
8e496e9d97 Type the media action creators 2018-09-17 17:04:05 -07:00
Jordan Eldredge
670c0ba508 More type progress 2018-09-17 17:04:05 -07:00
Jordan Eldredge
1bdb7d6345
Inject lazy dependencies (#639)
Still TODO Find a nice way to expose WebampLazy as:

```JavaScript
import WebampLazy from 'webamp/lazy';
```
2018-09-02 09:01:51 -07:00
Jordan Eldredge
de95b33642 Use constants for media status 2018-08-10 19:25:48 -07:00
Jordan Eldredge
bc75d6efb9 Combine window hiding 2018-07-11 21:02:40 -07:00
Jordan Eldredge
4f9767bd2a Toggle Desktop from context menu 2018-07-11 20:57:41 -07:00
Jordan Eldredge
b0b9ddd441 Hidden windows? 2018-07-11 20:57:41 -07:00
Jordan Eldredge
535991b4b4 Improve defence against corrupt skins 2018-07-11 16:36:34 -07:00
Jordan Eldredge
ff32dd9c04 Make loading state accessible to consumers 2018-07-11 13:27:20 -07:00
Jordan Eldredge
9a9231c458 Use async await 2018-06-26 22:40:11 -07:00
Jordan Eldredge
a50a6874dc Handle failed skin request 2018-06-26 21:53:55 -07:00
Jordan Eldredge
3d6f41e68d Make exports explicit 2018-06-22 00:08:00 -07:00
Jordan Eldredge
a7a5ef5e91 Upgrade prettier 2018-05-28 15:56:18 -07:00
Jordan Eldredge
b051188120 Split up action creators 2018-05-23 20:14:06 +01:00