Jordan Eldredge
29b4e0db71
Add a method to set the skin ( #787 )
...
Fixes #733
2019-05-21 07:58:18 -07:00
Jordan Eldredge
b4a88d2cc4
Fix typo in types
2019-05-20 06:37:08 -07:00
Jordan Eldredge
bd98dad6cb
Document examples
2019-05-20 06:37:08 -07:00
Jordan Eldredge
358c4a1611
Fix typo
2019-05-14 09:35:32 -07:00
Jordan Eldredge
b3a17c8f99
Release 1.4.0
2019-05-14 08:04:54 -07:00
Jordan Eldredge
6994362e58
createPattern can take an image directly
...
I can't belive I was doing this whole extra dance
2019-05-10 08:24:09 -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
0c94263f0f
Improve integration test timeouts
2019-05-09 17:15:22 -07:00
Jordan Eldredge
53218aba6e
Update integration tests and snapshots
2019-05-09 16:23:16 -07:00
Jordan Eldredge
348c000a49
Enable StricMode for subtrees that are compatible
2019-05-09 09:31:31 -07:00
Jordan Eldredge
03d97d9a25
Fix a few dead links
2019-05-09 08:29:37 -07:00
Jordan Eldredge
47d4f0483f
Spelling is hard for me
2019-05-09 08:10:33 -07:00
Jordan Eldredge
65eec84cde
Fix out of date link in readme
2019-05-09 08:09:20 -07:00
Jordan Eldredge
fe00036cbf
Use common utility function to get img from url
2019-05-09 08:02:27 -07:00
Jordan Eldredge
2dca07ff0a
Make a best effort to prewarm the images needed for the eq graph
2019-05-09 07:59:54 -07:00
Jordan Eldredge
d73a742685
Center Webamp vertically in example sites
2019-05-09 06:47:20 -07:00
Jordan Eldredge
343b329c76
Document some changes in the change log
2019-05-07 19:52:29 -07:00
Jordan Eldredge
1a45099045
Use MutationObserver to detect focused decedents leaving the DOM
2019-05-07 19:35:17 -07:00
Jordan Eldredge
c56bf0a964
Use React's blur event to detect with Webamp itself loses focus
2019-05-07 17:08:08 -07:00
Jordan Eldredge
bd3f986ade
Only clear focus is the focus is leaving the app
2019-05-06 22:22:32 -07:00
Jordan Eldredge
bd1999778d
Fix bug with ref
...
When using a ref in an effect, you need to use a state ref, otherwise the binding happens too early.
2019-05-06 22:22:13 -07:00
Jordan Eldredge
e5f6edf602
Add onMouseDown handlers to snapshots
2019-05-02 19:56:25 -07:00
Jordan Eldredge
5ee1a4f7b0
Order windows based upon which one was last clicked
2019-05-02 17:46:02 -07:00
Jordan Eldredge
3aa25f0b55
Focus target on click
...
I'm not sure why onFoucs+tabIndex does not do this
2019-05-02 17:45:07 -07:00
Jordan Eldredge
2569e7fb95
Remove logic that resets position on track load
...
I think this dates from back when we only had one track at a time, or something.
Fixes #775
2019-05-02 16:58:05 -07:00
Jordan Eldredge
f8167dd322
Autoplay tracks that are dropped on the main window
2019-05-02 16:58:05 -07:00
Jordan Eldredge
8a4a594dd0
Change nesting to preserve playlist styling
...
The `#playlist-window` div is a flex container so it needs to be the direct parent.
2019-05-02 16:58:01 -07:00
Jordan Eldredge
0f97529a39
Update snapshot to reflect new version of rc-slider
2019-05-02 16:32:29 -07:00
Jordan Eldredge
928c8e55e2
Upgrade rc-slider and react-redux
2019-05-02 09:05:24 -07:00
Jordan Eldredge
fe3a48e39a
Document semi-private API
2019-05-02 07:46:46 -07:00
Jordan Eldredge
3b4a66f2fe
Allow users to customize the media class
2019-05-02 07:46:46 -07:00
Jordan Eldredge
c75214dcd7
Improve reliance on selector caching
2019-05-02 07:23:41 -07:00
Jordan Eldredge
756854eaec
Clean up console.log
2019-05-02 07:11:17 -07:00
Jordan Eldredge
73f87be7c3
Memoize hot components
2019-05-02 07:04:31 -07:00
Jordan Eldredge
92d95f57eb
Remove unused import
2019-05-01 22:42:38 -07:00
Jordan Eldredge
4322aade4b
Improve selector memoization and ordering
2019-05-01 22:42:16 -07:00
Jordan Eldredge
e89aa26612
Avoid uneeded renders
2019-05-01 22:38:17 -07:00
Jordan Eldredge
c00cb44b8d
Update tests to reflect new focus management style
2019-05-01 22:29:10 -07:00
Jordan Eldredge
6cd2181d78
Clean up types
2019-05-01 22:29:10 -07:00
Jordan Eldredge
0792c51fb8
Trap focus
2019-05-01 22:29:10 -07:00
Jordan Eldredge
20a025541e
Clear focus when bluring out of app
2019-05-01 22:29:10 -07:00
Jordan Eldredge
9f7e92f370
Simplify focus Target
2019-05-01 22:29:10 -07:00
Jordan Eldredge
059669f3e5
Don't prevent text selection with preventDefault
...
We should use `user-select: none;` for this.
I think all places are already doing this.
2019-05-01 22:29:10 -07:00
Jordan Eldredge
6132acdf2c
Make focus nullable
2019-05-01 22:29:10 -07:00
Jordan Eldredge
c3c3ad69ab
Upgrade react-redux!
2019-05-01 22:29:10 -07:00
Jordan Eldredge
72bd83e1ae
Clean up arrayEquals
2019-05-01 22:29:10 -07:00
Jordan Eldredge
8627b4d2c4
Use native event handling for keydown
...
This allows us to stopPropogation and actually prevent global hotkeys
2019-05-01 22:29:10 -07:00
Jordan Eldredge
0a4c1cc4f7
Make easter egg handling more efficient
2019-05-01 22:29:10 -07:00
Jordan Eldredge
24d446e47b
Extract focus management to a component
2019-05-01 22:29:10 -07:00
Jordan Eldredge
67441f3c1b
Change how actions are typed
...
If we want to use the new version of react-redux we need to be compatible with their types.
Sadly it does not seem to be possible to create a Dispatchable type which can be eiher a plain action or a thunk and still be compatible with react-redux's types becuase they use redux's Store type under the hood which assumes you have an object with a string type property.
2019-05-01 22:29:10 -07:00