Commit graph

28 commits

Author SHA1 Message Date
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
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
b938d7cf73 Persist window states (exept position) 2018-09-29 17:58:46 -07:00
Jordan Eldredge
6d4c44b3ae Serialize media state, and apply equalizer state to on deserialize 2018-09-29 17:58:46 -07:00
Jordan Eldredge
d1b43d55ca Serialize state to indexdb 2018-09-29 17:58:46 -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
5852ce22c9 Move reduer state types into reducers 2018-09-18 07:54:34 -07:00
Jordan Eldredge
614d5f0ca0 Improve typing of PlaylistTrack 2018-09-17 17:04:05 -07:00
Jordan Eldredge
2e6cf2d157 Add more types
This includes bringing the previous index.d.ts types into our Typescript code base.
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
197fcadfbb Add type for WindowInfo 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
7c2a01dc5c Type ElementSource 2018-09-17 17:04:05 -07:00
Jordan Eldredge
bbf56232c3 Type Selectors 2018-09-17 17:04:05 -07:00
Jordan Eldredge
1ec6a886b8 Convert all reducers to typescript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
58e77832be Format types.ts 2018-09-17 17:04:05 -07:00
Jordan Eldredge
0819c10ac2 Improve typing of skin info 2018-09-17 17:04:05 -07:00
Jordan Eldredge
25b3678aae Make skin data a bit more correct 2018-09-17 17:04:05 -07:00
Jordan Eldredge
670c0ba508 More type progress 2018-09-17 17:04:05 -07:00
Jordan Eldredge
bd1b4709d4 Convert UserInput reducer to TypeScript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
b2359c6b5a Convert media reducer to Typescript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
24835e4f8f Format typescript files with Prettier 2018-09-17 17:04:05 -07:00
Jordan Eldredge
a276ffb518 Convert first files to TypeScript 2018-09-17 17:04:05 -07:00