Commit graph

11 commits

Author SHA1 Message Date
Jakub Ďuraš
8f6ccbbe4e
Refactor debounce and throttle 2018-09-30 23:42:11 +02:00
Jordan Eldredge
78537accbf Refactor how we manage window positions 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
15f47209e0 Center windows correctly, even if the windows don't start at 0,0
This is particularly noticeable when state has been rehydrated from a serialized state.
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
80ff286e00 Type playlist action creators 2018-09-17 17:04:05 -07:00
Jordan Eldredge
bbf56232c3 Type Selectors 2018-09-17 17:04:05 -07:00
Jordan Eldredge
be3b024b0b Fix regression in getTimeStr
When we switched getTimeObj to return strings, our sketchy zero check started to fail. Luckily our tests caught it!
2018-09-17 17:04:05 -07:00
Jordan Eldredge
d85d689539 Type MiniTime.js 2018-09-17 17:04:05 -07:00
Jordan Eldredge
bf2544e25b Convert utils.js to utils.ts 2018-09-17 17:04:05 -07:00
Renamed from js/utils.js (Browse further)