Commit graph

862 commits

Author SHA1 Message Date
Jordan Eldredge
bf2544e25b Convert utils.js to utils.ts 2018-09-17 17:04:05 -07:00
Jordan Eldredge
b68ae54d78 Format display.ts 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
4f8a9a7065 Pass dummy data object in SET_SKIN_DATA in test to reset skin 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
Jordan Eldredge
2c2ee5faab
Refactor PresetOverlay to be easier to understand (#652)
* Refactor PresetOverlay to be easier to understand

* Clean up stray semi
2018-09-11 06:45:50 -07:00
jberg
bc7c5bffaf Load local MilkDrop preset directory (#637) 2018-09-07 22:13:48 -07:00
Jordan Eldredge
b84049344d Remove module.exports
This was originally removed in https://github.com/captbaritone/webamp/pull/648

And accidentally re-added in https://github.com/captbaritone/webamp/pull/639 due to a bad rebase.
2018-09-02 09:18:16 -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
Isaiah Odhner
6591c98b40 Fix typos 2018-08-30 15:51:11 -07:00
Jordan Eldredge
baca3d650b
Upgrade all the Babel (#648)
* Upgrade all the Babel

* Generate reports when we deploy

* Remove extra export
2018-08-30 06:24:19 -07:00
Jordan Eldredge
48a31c5501 Update integration snapshots to include peaks 2018-08-30 05:04:39 -07:00
Jordan Eldredge
e9ff9befd7 Fix webamp.onTrackDidChange, by actually passing the action to the event emitter 2018-08-28 16:53:54 -07:00
Jordan Eldredge
695d077335 Add missing media status 2018-08-28 16:45:20 -07:00
Jakub Ďuraš
fa50df7f6b Remove window wrappers (#636)
* Remove parent wrapper, add filtering out closed windows

* Add the rest of window manager changes (vscode ignores whitespace)

* Make prettier happy
2018-08-23 06:54:15 -07:00
jberg
988e902f65 update to latest preset converter and pass in lambda URL (#641) 2018-08-22 18:40:03 -07:00
Jordan Eldredge
f93c08ec1a Log Milkdrop preset conversion errors to console 2018-08-19 12:26:44 -07:00
jberg
0c4fa55c83 Convert milkdrop presets (#630)
* Convert milkdrop presets

* refactor preset conversion into own class

* save converted preset to preset list

* allow adding multiple presets and convert presets on demand

* remove unused presetConverter prop

* some review tweaks

* switch to package version of preset converter

* remove now unneeded webpack change

* handle preset conversion errors
2018-08-19 12:25:29 -07:00
Jordan Eldredge
593109e8c5 Improve centering within given node 2018-08-18 10:02:40 -07:00
Jordan Eldredge
f799f727b2 Add and enforce class properties 2018-08-17 21:43:26 -07:00
Jakub Ďuraš
1b055b0b1f Optimize painting (#631)
* Optimize marquee and window positioning

* Move transform on marquee out from new object

* Fix typo
2018-08-17 07:18:42 -07:00
Jordan Eldredge
32098e3b62 Fix context menus in Firefox
This is a huge mess of timing.
2018-08-14 19:25:32 -07:00
jberg
24a618bf0b fix oscilloscope amplitude and direction (#629) 2018-08-14 18:46:03 -07:00
Jordan Eldredge
d4a66f4a16 Ask Google Analytics to anonymize IPs
#549
2018-08-10 19:25:48 -07:00
Jordan Eldredge
de95b33642 Use constants for media status 2018-08-10 19:25:48 -07:00
jberg
14fc3179d3 don't draw frequency bar peaks in windowShade mode (#628)
Nice! Thanks.
2018-08-09 17:15:08 -07:00
Jordan Eldredge
b5d8a56263 Memoize a selector 2018-08-02 20:55:59 -07:00
Jordan Eldredge
410ad049b1 Make TIME_MODE a constant 2018-08-02 20:55:36 -07:00
Jordan Eldredge
3ef93e28ab Reset hidden state when opening window
Fixes #626
2018-07-29 21:36:44 -07:00
Jordan Eldredge
e89680fb48 Add handler for when the track changes 2018-07-28 22:53:59 -07:00
jberg
0f31d07400 Add butterchurnPresetUrl param (#625)
* Add butterchurnPresetUrl param

* handle failed preset load, dont pass url around
2018-07-28 22:29:58 -07:00
Jordan Eldredge
2f0d20bbc8 Add logging to catch error
Some users are seeing empty moving sets. Why?
2018-07-28 15:09:15 -07:00
Jordan Eldredge
3b9e48ef80 Add note about seekable 2018-07-26 20:54:37 -07:00
Jordan Eldredge
5c243949a5 Use raw.githubuserconent.com for audioThis supports byte range requests
https://github.com/rgrove/rawgit/issues/81
2018-07-26 20:54:37 -07:00
Jordan Eldredge
cc9104c3fb Use teh correct sprite when deselecting the playlist window 2018-07-26 15:01:25 -07:00
Jordan Eldredge
5e9a5f3248 Remove unused/misspelled class 2018-07-26 08:02:27 -07:00
Jordan Eldredge
a12836148d Fix skins with region.txt
If the positioning is sub-pixel, the clip-path can get off a bit
2018-07-26 08:01:26 -07:00
jberg
4b7560dda0 update frequency bars and add falling peaks (#616)
* update frequency bars

* add falling peak bars

* tweak bar math to drop exponentially

* plot frequencies in logspace instead of linearly

* use default audio analysis settings

* plot frequencies by octave
2018-07-24 22:10:11 -07:00
Reed Jones
3173e7eb98 resolved file picker console error 2018-07-21 19:07:53 -07:00
Jordan Eldredge
08f6f8cdca Make testing Raven easier 2018-07-15 15:14:57 -07:00
Jordan Eldredge
7f7ac09db4 Fix fullscreen mode 2018-07-13 22:18:57 -07:00
Jordan Eldredge
a571387780 Enable Butterchurn! 2018-07-13 07:47:49 -07:00
jberg
1fffd05856 Update FFT size and oscilloscope calculation 2018-07-11 21:16:46 -07:00
Jordan Eldredge
bc75d6efb9 Combine window hiding 2018-07-11 21:02:40 -07:00