Commit Graph

369 Commits

Author SHA1 Message Date
Jordan Eldredge
59e41c87d6 Revert "POC: Try adding rexux-observable"
This reverts commit 58fd75c8a1.
2019-11-30 13:42:53 -08:00
Jordan Eldredge
765825ab22 POC: Try adding rexux-observable
I don't know how we'll feasibly solve the multide of potential race conditons and async clean up memory leaks without something like rxjs. So, this is a trial to see the following:

1. How much does it increase bundle size?
2. How effective is typechecking?
3. Does it solve some of the difficult cancelation issues we have?
2019-11-30 13:42:53 -08:00
Jordan Eldredge
ce3aab3253 Avoid Axios security issue 2019-05-31 20:59:40 -07:00
Jordan Eldredge
3448e63d8c Upgrade 2019-05-28 21:55:27 -07:00
Jordan Eldredge
d5f4b6ea55 v1.4.1-beta01 2019-05-21 08:03:04 -07:00
Jordan Eldredge
b3a17c8f99 Release 1.4.0 2019-05-14 08:04:54 -07:00
Jordan Eldredge
6799e2fa5a
Try running screenshot tests on Travis (#782)
* Try running screenshot tests on Travis

* Standardize domain in integration tests

* Allow images to not match that well

* Turn back on all other tests
2019-05-09 17:55:53 -07:00
Jordan Eldredge
53218aba6e Update integration tests and snapshots 2019-05-09 16:23:16 -07:00
Jordan Eldredge
928c8e55e2 Upgrade rc-slider and react-redux 2019-05-02 09:05:24 -07:00
Jordan Eldredge
c3c3ad69ab Upgrade react-redux! 2019-05-01 22:29:10 -07:00
Jordan Eldredge
2de880a917 Type getFileFromZip 2019-04-29 06:22:22 -07:00
Jordan Eldredge
cb1d07d013 v1.3.2-beta.2 2019-04-05 07:34:14 -07:00
Jordan Eldredge
2fb9d38f44 Upgrade Jest
This fixes the issue with running on specific versions of node, which means we also undo https://github.com/captbaritone/webamp/pull/741
2019-04-05 07:34:14 -07:00
Jordan Eldredge
0bc0e98836 Remove prop types 2019-03-22 16:37:58 -07:00
Jordan Eldredge
91b08c20a2 Upgrade Prettier 2019-03-22 16:37:58 -07:00
Jordan Eldredge
cf3a143535 Use bundlesize to track weight 2019-03-22 06:58:29 -07:00
Jordan Eldredge
8c915f7f06 Improve hook dependencies 2019-03-19 07:35:36 -07:00
Jordan Eldredge
bd5fa82c99 Trailing commas! 2019-03-19 06:55:24 -07:00
Jordan Eldredge
c6a70451c9 Start linting .ts and .tsx files
Also: Don't have Jest do linting. This was not really providing any value
2019-03-19 06:55:23 -07:00
Jordan Eldredge
5d07829a82 Allow linter to parse TypeScript files 2019-03-19 06:55:23 -07:00
jberg
0f5b483925 remove now unused butterchurn-presets package 2019-03-17 21:40:27 -07:00
Jordan Eldredge
9f9891b334 1.3.2-beta.1 2019-03-17 20:59:24 -07:00
Jordan Eldredge
8ca8de7738 1.3.2-beta.0 2019-03-17 20:59:24 -07:00
Jordan Eldredge
bbb9dfce5f Add types and source maps to npm module
We still don't include the source maps for the non-minified (default) version.
2019-03-17 20:59:24 -07:00
Jordan Eldredge
c040fe28d7 Bump version to 1.3.1 2019-03-16 21:59:20 -07:00
Jordan Eldredge
c2735e3d06 Ship version 1.3.0 2019-03-15 08:01:53 -07:00
Jordan Eldredge
5113752966 Allow Fullscreen to trigger on mount 2019-03-13 21:28:18 -07:00
Jordan Eldredge
48c64337ef Support Milkdrop fullscreen 2019-03-13 21:28:18 -07:00
jberg
6077299ace update butterchurn to 2.6.7 (#744) 2019-03-11 17:31:20 -07:00
jberg
97f1246701 update butterchurn to 2.6.6 (#740) 2019-03-06 22:45:49 -08:00
Jordan Eldredge
67f7326cb1 Upgrade all the things 2019-03-02 22:16:04 -08:00
Jordan Eldredge
2bcd69762d
Minify css using postcss (#732)
* Minify css using postcss

* Optimize data uris as build time
2019-03-02 19:52:19 -08:00
Jordan Eldredge
2df185b1a3
Upgrade React (#727)
* Upgrade React

type hooks

* Fix type for passthrough props

* Fix some react typings

* Fix type error with MouseEvent
2019-02-17 14:42:35 -08:00
Jordan Eldredge
4fd802f96e
Go back to using two gains for balance (#725)
SteroPannerNode handled mono files correctly, but apparently panning is not the same as balance.

Eventually I found a work around [here](https://github.com/WebAudio/web-audio-api/issues/975#issue-177242377). The idea is to use a dummy GainNode before the channel splitter to handle the up-mixing before the split is applied.

Tested a mono file as well as left/right balance on Chrome, Firefox, and Safari on Mac desktop.
2019-01-25 04:57:49 -08:00
Jordan Eldredge
8edd11da62 Upgrade Prettier
Improves formatting of hooks
2019-01-24 20:52:53 -08:00
Jordan Eldredge
2b2598329d
Strip accents from strings so they can be displayed in marquee etc (#722) 2019-01-19 14:00:21 -08:00
Jordan Eldredge
a6e8fe581b Upgrade Screenfull to play nice with Chrome 67+
04f9ec43ef
2019-01-02 20:44:31 -08:00
Jordan Eldredge
0056ada703 Fix command to serve the built demo site 2018-12-30 22:34:17 -08:00
Jordan Eldredge
15b3fa7c74 Upgrade prettier 2018-12-30 15:34:30 -08:00
Jordan Eldredge
2cf6a3f378 Upgrade webpack 2018-12-30 15:26:07 -08:00
Jordan Eldredge
c93db7ca71 Move demo site into its own directory 2018-12-29 16:06:51 -08:00
Jordan Eldredge
5d6bf7a249
Use a legit polyfill (#711) 2018-12-28 15:36:56 -08:00
Jordan Eldredge
55fedb7200 Bump version 2018-12-23 15:01:46 -08:00
Jordan Eldredge
8270f72ea9 Tag beta release 2018-12-14 17:03:26 -08:00
jberg
9c8370b330 update butterchurn deps (#709) 2018-11-29 20:12:22 -08:00
Jordan Eldredge
9c1970365a
Type scrollbar (#677)
* Type ScrollBar

* Fix typing to avoid extra import
2018-11-20 22:09:08 -08:00
Jordan Eldredge
aaf78f558b Use Webpack's default minifier 2018-11-19 20:08:20 -08:00
Jordan Eldredge
1192bb41ea Open webapck dev server when we start 2018-11-19 19:50:33 -08:00
Jordan Eldredge
629b63b40c Upgrade webpack 2018-11-19 19:45:40 -08:00
Jordan Eldredge
4290b3102e Add builtin presets json 2018-11-09 07:13:10 -08:00
Jordan Eldredge
848d649ac6 Remove cardinal-spine-js dependency 2018-11-04 14:46:56 -08:00
Jordan Eldredge
5eecd4d745 Upgrade react to enable hooks 2018-10-25 16:33:54 -07:00
Jordan Eldredge
5cc1774b8a Tag 1.3.0-beta.0 2018-10-25 06:32:48 -07:00
Jordan Eldredge
8f2cf5b883 Upgrade react
Fixes #690
2018-10-23 20:26:27 -07:00
Jordan Eldredge
d54e981c3e Upgrade butterchurn to get better source maps 2018-10-21 15:25:55 -07:00
Borewit
cde0b4eb74 #673 Integration with limited to jsmediatags function replacement. 2018-10-18 22:19:41 -07:00
Jordan Eldredge
031c9733f1 Use dynamic imports instead of require.ensure
I left out jsmediatags so as not to conflict with #679
2018-10-17 21:08:47 -07:00
jberg
9eedbe6609 Add MilkDrop title text animation 2018-10-06 14:33:11 -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
55603346c2 Add many tests for serialization 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
c20557dde2 Bump version to 1.2.0 2018-09-24 16:44:59 -07:00
Jordan Eldredge
1780b33fe5 Start typing Jest tests 2018-09-17 17:04:05 -07:00
Jordan Eldredge
7c2a01dc5c Type ElementSource 2018-09-17 17:04:05 -07:00
Jordan Eldredge
3279033196 Convert ContextMenu and ContextMenuTarget to typescriptThis is the first component to use a connected component 2018-09-17 17:04:05 -07:00
Jordan Eldredge
71b0ed79b1 Convert Character component 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
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
c98143aedc Upgrade react and redux 2018-09-11 06:46:07 -07:00
Jordan Eldredge
f8f9463baa Format index.d.ts with Prettier 2018-09-09 21:47:23 -07:00
Jordan Eldredge
7f958cc13b Upgrade Prettier 2018-09-04 08:02:40 -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
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
Jakub Ďuraš
118c1ff305 Typescript cli (#647)
* Add tsconfig.json and static module resolution for ts

* Add trailing newline to tsconfig

* Change tsc module to commonjs to support .json import

* Add tsc as dependency and to scripts
2018-08-28 16:45:03 -07:00
Jakub Ďuraš
2a7427dd00 Add basic TypeScript type definitions (#643)
* Add basic TypeScript type definitions

* Update track URL type definitions

* Add index.d.ts to files published to the NPM
2018-08-25 07:07:48 -07:00
jberg
988e902f65 update to latest preset converter and pass in lambda URL (#641) 2018-08-22 18:40:03 -07:00
jberg
4c2e4ace8f Update preset converter, fix visualizer freezing (#640) 2018-08-21 21:05:06 -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
f799f727b2 Add and enforce class properties 2018-08-17 21:43:26 -07:00
Borewit
0d91984a0a Update to cardinal-spline-js 2.3.9, fixing the cause of issue #604. 2018-07-17 11:19:59 -07:00
Jordan Eldredge
d17574607c Add Puppeteer snapshot testing 2018-06-28 22:16:37 -07:00
Jordan Eldredge
88bddda256 Bump version to 1.1.2 2018-06-27 23:34:23 -07:00
Borewit
aae9865786 Add webpack script/config to analyze bundle size.
Execute `npm run analyze` to open a size map of the production build in the browser.
2018-06-25 09:55:37 -07:00
Jordan Eldredge
194cc02356 Bump version to 1.1.1 2018-06-23 21:51:24 -07:00
Jordan Eldredge
382367300d Add commands to ouput json webpack stats 2018-06-21 22:51:08 -07:00
Jordan Eldredge
d96d4e10d7 Bump to version 1.1.0 2018-06-21 21:03:26 -07:00
Borewit
20c064cb84 #captbaritone/webamp#604: Fix cardinal-spline-js to exact version 2.3.7.
To prevent 2.3.8 is used.
2018-06-18 10:23:52 -07:00
jberg
0efd902e3c milkdrop faster resizing, now always on 2018-06-13 22:27:20 -07:00
jberg
fb87259383 setup for resize when lagging 2018-06-13 19:41:24 -07:00
Jordan Eldredge
c89529f442 Refactor Milkdrop 2018-06-11 21:28:41 -07:00
Jordan Eldredge
5c01de0268 Standardize breaks between methods 2018-06-10 17:42:10 -07:00
jberg
6f72000aab only load preset not in minimal pack 2018-06-09 14:02:17 -07:00
jberg
c0b004bb47 use preset pack meta to load all keys initially 2018-06-09 14:02:17 -07:00
jberg
76f60e14a5 load smaller preset pack and randomize initial preset 2018-06-09 14:02:17 -07:00
Jordan Eldredge
f65d0708ea Format CSS 2018-06-07 20:52:16 -07:00
Jordan Eldredge
b36b12e4c7 Add butterchurn share link 2018-06-01 07:54:25 -07:00
Jordan Eldredge
902ef2f7c8 Move some skin data to JSON 2018-05-28 16:04:10 -07:00
Jordan Eldredge
57d0056a01 Sketch out script to extract CSS skin 2018-05-28 15:57:24 -07:00