Commit graph

54 commits

Author SHA1 Message Date
Jordan Eldredge
e476f1c7df Fix Slider typing 2019-02-16 06:19:25 -08:00
Jordan Eldredge
a59a471f8d Change how Milkdrop fits into visualization optionsNow: If the Milkdrop window is open, it's always enabled. Otherwise, the current value in the cycle is used. 2019-01-02 21:04:02 -08:00
Jordan Eldredge
54a267efbd Move Milkdrop desktop mode to Redux 2018-12-31 15:12:48 -08:00
Jordan Eldredge
fbc0bede3e Type the main window 2018-12-29 16:06:52 -08:00
Jordan Eldredge
b16fb3a2ae Move file specific media info to the track
Fixes #712
2018-12-29 16:06:51 -08:00
Jordan Eldredge
7c52b52ea7 Set bitrate and sample rate when loading metadata 2018-12-29 11:14:31 -08:00
Jordan Eldredge
47ba520c24 Add method to reopen Webamp 2018-11-11 21:14:44 -08:00
Jordan Eldredge
12f4a89d5a Include default presets in dropdown 2018-11-09 07:17:17 -08:00
jberg
f78963507b Make milkdrop window first class (#697)
* make milkdrop window first class

* move butterchurn options to top

* move layout and some other review tweaks

* move butterchurnOptions out of state

* add layout variable back

* review tweaks

* fix placement of style update

* fix lint errors/warnings

* use constant instead of string
2018-11-04 21:19:56 -08:00
Jordan Eldredge
ce3e2ac794 Prettier 2018-10-23 08:07:52 -07:00
Jordan Eldredge
9f5c20d413 Require load style always be explicit
Fixes #687
2018-10-21 15:49:57 -07:00
Borewit
07e833853d Type define music-metadata-browser lazy-load-require function.
Add comment to type music-metadata-browser imports.
2018-10-18 22:19:41 -07:00
Borewit
cde0b4eb74 #673 Integration with limited to jsmediatags function replacement. 2018-10-18 22:19:41 -07:00
Jordan Eldredge
57cf0e6e16 Pull convert presets out to top level options 2018-10-17 21:50:53 -07:00
Jordan Eldredge
68ad3ce5c8 Extract butterchurn config options 2018-10-17 20:28:53 -07:00
Jordan Eldredge
bd03a99137 Type dummy viz data 2018-10-12 23:28:38 -07:00
Jordan Eldredge
4ec1cea082 Conditionally enable media library via flag 2018-10-10 22:15:08 -07:00
Jordan Eldredge
01f3b1a0ea First stab at media library 2018-10-10 22:15:08 -07:00
Jordan Eldredge
7e7f7e6877 Move tracks into their own reducer 2018-10-10 20:59:16 -07:00
Jordan Eldredge
1f7a448b0b Store selected tracks as a Set rather than a property on the track
This will allow us to move tracks into their  own reducer which we'll need for the Media Library
2018-10-10 00:53:40 -07:00
Jordan Eldredge
587db7a19d Use the existing CSS when going back to the default skin
Rather than load/parse the default skin, just go back to the css that's
already in the DOM.
2018-10-06 23:12:21 -07:00
Jordan Eldredge
2eab287fbc Make middleware type use the correct store type 2018-10-06 14:20:08 -07:00
Jordan Eldredge
5bcb97c14f Add more redux types 2018-10-06 14:20:08 -07:00
Jordan Eldredge
f94cb4a7ab Revert "Revert "Serialize to indexdb" (#664)"
This reverts commit a053818c5e.
2018-10-05 21:31:05 -07:00
Jordan Eldredge
a053818c5e
Revert "Serialize to indexdb" (#664)
* Revert "Don't re-center windows when loading from serialized state"

This reverts commit d778c03f61.

* Revert "Clean up comment"

This reverts commit 8253093a2b.

* Revert "Fix spelling of IndexedDB"

This reverts commit b34d90e998.

* Revert "Add a few more generic assertions about serialized state"

This reverts commit a8267581d0.

* Revert "Refactor debounce and throttle"

This reverts commit 6ecc5142b5.

* Revert "Double check that the serialized state we generated equals the one we have saved"

This reverts commit 82a81bf584.

* Revert "Add many tests for serialization"

This reverts commit 55603346c2.

* Revert "Split serialized state types into their own file"

This reverts commit 4c9c5b99d3.

* Revert "Refactor how we manage window positions"

This reverts commit d6a1baece3.

* Revert "Fix export"

This reverts commit 462cf4b42d.

* Revert "Clean up selectors file"

This reverts commit cdfa99383a.

* Revert "Mark serialization methods priviate for now"

This reverts commit fc79c77451.

* Revert "Add types for WindowManager"

This reverts commit 0a7f258b64.

* Revert "Export Box"

This reverts commit e94cdef100.

* Revert "Use browserSize from state. Make it non-optional"

This reverts commit 53481ba892.

* Revert "Add back resetWindowLayout"

This reverts commit 35f4004caa.

* Revert "Begin tracking window size"

This reverts commit 96ed2b353c.

* Revert "Use namespaced Utils for webamplazy"

This reverts commit 949a2bc771.

* Revert "Use namespaced Utils"

This reverts commit 3049350701.

* Revert "Add initial approach of recovering from bad window positions"

This reverts commit 1791babf1a.

* Revert "Move centerWindowsIfNeeded to an action creatorThis forces us to type it, as a nice side benefit"

This reverts commit 40e31f0577.

* Revert "Make state serialization opt-in (for now)"

This reverts commit bef421ebed.

* Revert "Persist focus, and handle bad focus"

This reverts commit 3f1861d4f8.

* Revert "Handle the case where `positions` might be an empty object to begin with"

This reverts commit f8544ed126.

* Revert "Don't center windows when restoring from serialized state"

This reverts commit ca1cfe3dc6.

* Revert "Center windows correctly, even if the windows don't start at 0,0"

This reverts commit 777d482e73.

* Revert "Make hotkeys a function not a singleton class that has side effects when you construct it"

This reverts commit 87ca43ba45.

* Revert "Move global file input out of NPM module"

This reverts commit 9f726899c7.

* Revert "Don't exclude generic windows"

This reverts commit 245dd166a2.

* Revert "Serialize window position as well"

This reverts commit b71e09284e.

* Revert "Persist window states (exept position)"

This reverts commit 690f650e4c.

* Revert "Serialize media state, and apply equalizer state to on deserialize"

This reverts commit 94e105b104.

* Revert "Add a flag to clear IndexDB state"

This reverts commit 364ddb7411.

* Revert "Serialize state to indexdb"

This reverts commit 60429b280a.
2018-10-01 12:50:43 -07:00
Jordan Eldredge
d778c03f61 Don't re-center windows when loading from serialized state 2018-09-30 22:04:04 -07:00
Jordan Eldredge
4c9c5b99d3 Split serialized state types into their own file 2018-09-30 22:04:04 -07:00
Jordan Eldredge
d6a1baece3 Refactor how we manage window positions 2018-09-30 22:04:04 -07:00
Jordan Eldredge
96ed2b353c Begin tracking window size 2018-09-30 22:04:04 -07:00
Jordan Eldredge
1791babf1a Add initial approach of recovering from bad window positions 2018-09-30 22:04:04 -07:00
Jordan Eldredge
40e31f0577 Move centerWindowsIfNeeded to an action creatorThis forces us to type it, as a nice side benefit 2018-09-30 22:04:04 -07:00
Jordan Eldredge
ca1cfe3dc6 Don't center windows when restoring from serialized state 2018-09-30 22:04:04 -07:00
Jordan Eldredge
690f650e4c Persist window states (exept position) 2018-09-30 22:04:04 -07:00
Jordan Eldredge
94e105b104 Serialize media state, and apply equalizer state to on deserialize 2018-09-30 22:04:04 -07:00
Jordan Eldredge
60429b280a Serialize state to indexdb 2018-09-30 22:04:04 -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