Commit graph

1776 commits

Author SHA1 Message Date
Jordan Eldredge
2a0ea51bca Type Track title 2018-10-11 21:31:10 -07:00
Jordan Eldredge
9f405f414e Type RemoveMenu 2018-10-11 21:28:45 -07:00
Jordan Eldredge
1814aaa466 Don't construc the indexeddb by default
This seems to be causing errors for some people.

I think I should probably write the IndexedDB integration myself.
2018-10-11 20:09:34 -07:00
Jordan Eldredge
d517f10bec Ignore key presses inside inputs etc. 2018-10-11 07:04:01 -07:00
Jordan Eldredge
415463a579 Remove console.log 2018-10-11 07:03:44 -07:00
Jordan Eldredge
55613cf295 Clean up media library style a tiny bit 2018-10-10 23:06:41 -07:00
Jordan Eldredge
a069f2efca Hide everything except the main tracks table for now
This will let us focus on a v0 of the Media Library
2018-10-10 22:56:38 -07:00
Jordan Eldredge
c9b0f61b88 Make the screenshot time three seconds 2018-10-10 22:48:35 -07:00
Jordan Eldredge
ff8d4443d7 Add missing ids to tracks 2018-10-10 22:44:41 -07:00
Jordan Eldredge
c381b28e40 Migrate screenshot state to new state shape
When we moved tracks into their own state object, we forgot to update
the screenshotInitialState.

I've also typed it so that hopefully these things get caught sooner next
time.
2018-10-10 22:40:18 -07:00
Jordan Eldredge
934d70320e Add an overly optimized way to filter 2018-10-10 22:15:08 -07:00
Jordan Eldredge
43515061fb List out all tracks in the track list 2018-10-10 22:15:08 -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
0c2b1a1c2f Extract trackName into trackUtils 2018-10-10 22:15:08 -07:00
Jordan Eldredge
34b93df766 Type PlaylistResizeTarget 2018-10-10 21:04:49 -07:00
Jordan Eldredge
315fa0a4f0 Type ListMenu 2018-10-10 20:59:20 -07:00
Jordan Eldredge
19de45f5df Tyep PlaylistMenu 2018-10-10 20:59:20 -07:00
Jordan Eldredge
438ca38c5c Type SelectionMenu 2018-10-10 20:59:20 -07:00
Jordan Eldredge
da4963d2c1 Type RunningTimeDisplay 2018-10-10 20:59:20 -07:00
Jordan Eldredge
2b91e8a0df Type playlist shade 2018-10-10 20:59:20 -07:00
Jordan Eldredge
d799218a0b Type Playlist Action Area 2018-10-10 20:59:20 -07:00
Jordan Eldredge
7e7f7e6877 Move tracks into their own reducer 2018-10-10 20:59:16 -07:00
Jordan Eldredge
61a7b1ccda Assume we alays have a documentElement 2018-10-10 20:34:41 -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
6d9b30aeb2 Type GenWindow 2018-10-09 23:31:33 -07:00
Jordan Eldredge
033c957ef0 Add id prop to ResizeTarget 2018-10-09 23:30:18 -07:00
Jordan Eldredge
5105bb1eec Use constants for window ids 2018-10-09 23:30:07 -07:00
Jordan Eldredge
a451e310aa Use constants for window defualt state 2018-10-09 23:29:57 -07:00
Jordan Eldredge
27ead4a30b RIP rawgit 2018-10-09 11:11:54 -07:00
Jordan Eldredge
bd923e4b8b Refactor preset loading 2018-10-08 06:54:09 -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
jberg
93892c91e7 handle specific error types when fetching presets 2018-10-06 14:33:48 -07:00
jberg
2421770eea handle URLs shaped differently than we expect 2018-10-06 14:33:48 -07:00
jberg
2a5747b84c Allow passing in normal milkdrop preset url 2018-10-06 14:33:48 -07:00
jberg
9eedbe6609 Add MilkDrop title text animation 2018-10-06 14:33:11 -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
f3c5b04286 Type MediaStatus in state 2018-10-06 14:20:08 -07:00
Jordan Eldredge
15b661c5dd Add zIndex to public api type 2018-10-06 14:20:08 -07:00
Jordan Eldredge
b2113cec85 Disable resizing for now 2018-10-05 21:31:05 -07:00
Jordan Eldredge
e3d0b419bd Use null __initialLayout to indicate we don't have a layout in mind 2018-10-05 21:31:05 -07:00
Jordan Eldredge
c1b100be54 Initial window positions are assumed to be relative 2018-10-05 21:31:05 -07:00
Jordan Eldredge
784c97412a Don't expand webamp div to fill whole screen.
It can prevent you from clicking on stuff.
2018-10-05 21:31:05 -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
a7b2d2c306 Fix regression where pressing pause while already paused did not cause
a track to resume.
2018-10-04 08:34:41 -07:00
Jordan Eldredge
4f48ebb89e Add Internet Archive skin 2018-10-02 09:48:19 -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
8253093a2b Clean up comment 2018-09-30 22:04:04 -07:00