Commit graph

2412 commits

Author SHA1 Message Date
Jordan Eldredge
f45a3ec3f3 Make it safe to reparent the #webamp node
For now users can't control where Webamp inserts itself into the DOM. We want to add that as and option. In the mean time, we can enable users to hack it.

For example, https://github.com/ShizukuIchi/winXP wants to be able to keep Webamp in a div in order to control how it gets layerd with other apps.
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
758e20a9ad Update test to use getNextTrackId
I broke these in 4a3929a2b5 when I fogot to rename the tests as well as the usage.

I've converted this test to typescript which should help catch these kinds of things more easily in the future.
2019-04-05 07:34:14 -07:00
Jordan Eldredge
3e40ab5d17 Make spacing a little closer to right 2019-03-27 23:56:31 -07:00
Jordan Eldredge
7ef0320581 Use a light color for selected tracks in the library 2019-03-27 23:56:31 -07:00
Jordan Eldredge
4b411eb4d6 Pressed state for library table headers 2019-03-27 23:56:31 -07:00
Jordan Eldredge
0bd9feba7a Highlight selected table row in library 2019-03-27 23:56:31 -07:00
Jordan Eldredge
7ecd51020f Abstract the library table 2019-03-27 23:56:31 -07:00
Jordan Eldredge
4a3929a2b5 Fix bug where we could not progress to the next track
This was because we would go into stopped mode, and once in stopped mode, going to the next track was disabled.
2019-03-27 23:56:31 -07:00
Jordan Eldredge
8357bfca51 Log Tweet id 2019-03-27 23:56:31 -07:00
Jordan Eldredge
1f7f00e031 Imrpove stretch of library buttons 2019-03-27 23:56:31 -07:00
Jordan Eldredge
761bdecc71 Make email parsing case insensitive 2019-03-27 23:56:31 -07:00
Jordan Eldredge
3ee6d0990d Improve formatting 2019-03-27 23:56:31 -07:00
Jordan Eldredge
696fd077fa Create a Discord bot 2019-03-27 23:56:31 -07:00
Jordan Eldredge
82d7f99814 Use the correct name for the Library window in the context menu 2019-03-27 23:56:31 -07:00
jberg
5cfb4a3ea2 Butterchurn reset preset cycle interval 2019-03-25 17:23:29 -07:00
Jordan Eldredge
dd1f6164d9 Don't autoplay on next when stoppedFixes #730 2019-03-25 06:31:49 -07:00
Jordan Eldredge
28f0f98eb1 Add note about when methods were added in usage.md 2019-03-25 06:19:44 -07:00
Jordan Eldredge
c4282817db Add more methods to Webamp
Replaces #660
2019-03-24 21:51:52 -07:00
Jordan Eldredge
92e54869e0 Better initial layout when viewing library 2019-03-23 17:59:06 -07:00
Jordan Eldredge
c0726ade88 Improve behavior of text when panes are too small 2019-03-23 17:47:53 -07:00
Jordan Eldredge
d57e3b3671 Use CSS Grid for laying out the media library 2019-03-23 17:37:37 -07:00
Jordan Eldredge
b5f1ad522e Use CSS grid for sidebar resize 2019-03-23 15:54:00 -07:00
Jordan Eldredge
1229b33b53 Record context menu fix in the changelog 2019-03-23 15:53:45 -07:00
Jordan Eldredge
30e6f1cf3c Make Webamp image look nicer on retina displays 2019-03-23 15:24:16 -07:00
Jordan Eldredge
6febf90fdb Wait to show about links until we know what they will be
This ensures we don't have an experience where images flicker in at diffent times.
2019-03-23 14:21:03 -07:00
Jordan Eldredge
56f071248f Make Twitter color stand out a bit more 2019-03-23 14:16:52 -07:00
Jordan Eldredge
2835114950 Remove Twitter link
I don't think this was really generating much traffic.

Also clean up some unused assets
2019-03-23 14:16:39 -07:00
Jordan Eldredge
95db2d08b6 Remeasure the offset when whe change selection state. 2019-03-23 14:09:57 -07:00
Jordan Eldredge
912a570101 Fix context menu which was opening at the top corner of the page 2019-03-22 16:42:16 -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
71b956619c Don't render visualizer background when disabled
Fixes https://github.com/captbaritone/webamp/issues/762
2019-03-22 06:58:29 -07:00
Jordan Eldredge
7eb8c18876 Move skin extraction code from the skin museum into this package
Record the readme path
2019-03-21 18:41:52 -07:00
jberg
c7fc2388a4 README tweaks 2019-03-19 08:36:59 -07:00
jberg
037b10fd0b Webpack example with lazy loading butterchurn and presets 2019-03-19 08:36:59 -07:00
Jordan Eldredge
b816b38e12 Upgrade webpack in webpack example
Also, you know, make it work.
2019-03-19 08:01:39 -07:00
Jordan Eldredge
44ceab5850 In a world with types, consistent-return is less important 2019-03-19 07:52:06 -07:00
Jordan Eldredge
4524bdb1f4 Writing a component as a class is not going to kill anyone 2019-03-19 07:51:37 -07:00
Jordan Eldredge
3e8bfe5e2b I don't think I care about import order this much
Maybe if I find a version that's fixable
2019-03-19 07:51:02 -07:00
Jordan Eldredge
50267f3ac2 Clearn up unused dependencies 2019-03-19 07:49:57 -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
ebd72e13f4 Make some existing errors warnings
We are enabling eslint for TypeScript files, which have not historically had this type of check.

Rather than trying to fix all these issues up front, we'll convert them to warnings and fix them in the future.

Hopefully we can reenable them soon.
2019-03-19 06:55:23 -07:00
Jordan Eldredge
ee439b0e2c Import first 2019-03-19 06:55:23 -07:00
Jordan Eldredge
2c1183c470 Clean up 2019-03-19 06:55:23 -07:00
Jordan Eldredge
a9caca0964 Consolidate imports 2019-03-19 06:55:23 -07:00
Jordan Eldredge
1885028ae1 Avoid excessive else 2019-03-19 06:55:23 -07:00