Commit graph

3300 commits

Author SHA1 Message Date
Jordan Eldredge
aa47db4e23 Show list of 1000 modern skins to choose from 2022-03-24 23:24:12 -07:00
Jordan Eldredge
904ae264ac Add some new cases to fix lint 2022-03-24 22:09:37 -07:00
Fathony Luthfillah
b0e24fb8a3
Use WinampModern (skin name) (#1162)
* Toggle container (action)
it works but the container is currently empty.

* Wasabi:Frame:Xxx : parse,load,init
this patch has no error, but not visible due relatW/relatH not available

* movable,resizable
Tested with MMD3 only

* allow unregister eventListener, etc. minor.

* make the group movable

* trial to move MMD3 main window

* Prettier.

* speedup devtool: simplify tag,style

* bugfix clip-path.
Issue: the bigColorTheme didn't rendered properly

* del "../winamp modern" (specific skin only)

* prettier

* +comment, prettier

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* warn for premateur bitmap that has no id.

* del dead code

* bugfix invalid css caused by empty array

* del premateur logic (no use case with MMD3)

* add comment: clarify that getToken is 0 based.

* +WinampConfig files

* don't stop on bitmap not found

* +skin as usecase

* showing main-window, for the first time

* del dead code

* showing less complainging errrors

* avoid shutdown while the skin.wal is updated.

* direct show obj (instead of stringify)

* incoming Audio: play/stop/pause

* + big elements, -big parser mod

* parsing in simple and safe way

* BitmapFont & Text

* okay. just an error (not initilaized) avoided.

* +doResize

* +implementation: autoWidthSource

* show long song title

* +api:sendparams

* bugfix interpreter: brutal boolean

* Seeker: song & volume

* load modern skin without thrown any error

* MuteBtn works

* bugfix transparency of seekerghost

* bugfix orphan sys to run (MMD3, etc)

* auto reapply regions after resizing

* bugfix titlebar.right.width==0

* MainWindow movable!

* color! it is now also gamma-aware

* colortheme: doubleclickable,bold,header-column

* allow handleAction:actionTarget, clTheme:next,prev

* close my Container!

* bugifx titlebar.getText()

* bugfix volume (knob) click.

* bugfix volume (knob) click on moved Container

* bugfix layer: cropped by transparent

* del dead code

* bugfix volum know conflict with layer crop

* bugfix font-size

* bugfix slider moves container

* bugfix 2pixel higher than expected.

* speedup resize + avoid flickering

* Equalizer: showInfo()

* integrate all eqSliders in single mouseMove

* reducing lock: anti-freeze mouseMove

* less error/warn. prettier.

* enableGammaSet accept string | null

* public function that exposes font._externalBitmap

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* prettier

* + a note for temporary hack.

* revert a dirty hack

* del overkill logic

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

* improve readability

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* improve readability

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* nothing

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* nothing

Actually I hate implicit parameter, it may drive to wrong logic. But since it just local function, it is acceptable, even still I hate that way.

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

* turn to arrow function

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* bugfix ticker="scroll" | "bounce" | "off"

* Promise.all([].map(async)) !

* Promise.all([].map(async)) !

* remove double__underscore

* set AUDIO_* to string constant

* cleanup comments

* del dead code

* bugfix config-tabs, cleanup, prettier

* expose _id and _file via public method

* introducing new eventListener. works well.

* mute console

* bugfix mouse-move behavior

* remove old custom Emitter

* add note of why returning a function

* allow BOOLs to do logical AND.
without this, the play button click will throw error

* loading componentBucket entries

* add a wrapper for bucket children

* componentBucket: scrollable

* finalize the componentBucket

* +groupxfade. allow do skinParse(xmlnode) runtime.

* animate XFade content

* Show XFade sub-page

* del dead code

Co-authored-by: Fathony <fathony@smart-leaders.net>
Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>
2022-03-24 21:45:30 -07:00
Jordan Eldredge
6c325e9ec5 Use correct name for command 2022-03-25 00:08:53 -04:00
Jordan Eldredge
b03c60b836 Pin versions 2022-03-24 21:07:50 -07:00
Jordan Eldredge
612c7eea9a Remove log 2022-03-24 21:07:50 -07:00
Jordan Eldredge
00177224de Add modern skins to the graphql schema 2022-03-24 21:07:50 -07:00
Jordan Eldredge
169bd3b55f Fix lint errors 2022-03-24 21:07:50 -07:00
Jordan Eldredge
7c92bb3d7d Upgrade eslint 2022-03-24 21:07:50 -07:00
Jordan Eldredge
72bd7a2a53 Sart to expose modern skins via graphql 2022-03-24 21:07:50 -07:00
Jordan Eldredge
8c222d39c7 Better message on server start 2022-03-24 21:07:50 -07:00
Jordan Eldredge
69da26fb7c Throw an error if a skin is classic AND modern 2022-03-24 21:07:50 -07:00
Fathony Luthfillah
8ae08dce40
Show ColorTheme Form, Movable window/layer (#1161)
* Toggle container (action)
it works but the container is currently empty.

* Wasabi:Frame:Xxx : parse,load,init
this patch has no error, but not visible due relatW/relatH not available

* implement relatW/relatH
This patch shows the bigColorTheme window

* movable,resizable
Tested with MMD3 only

* bugfix: unexpected gotoTarget result

* allow unregister eventListener, etc. minor.

* make the group movable

* trial to move MMD3 main window

* Prettier.

* bugfix invalid clip-path value

* speedup devtool: simplify tag,style

* bugfix clip-path.
Issue: the bigColorTheme didn't rendered properly

* mute console

* avoid lowercasing the color-theme-name

* avoid double negative

historically, it was easy to understand : 100% - 12px due I think there shall never be 100% + 12px.
BUT they did! there is something 100% + 99px !

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* unregisterable self-event-listener

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* improve readability

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* improve readability

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* relat() -> relative()

* del "../winamp modern" (specific skin only)

* prettier

* avoid exposing private on other class.

* del dead code, +comments

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* typo

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* +comment, prettier

* remove bind() for better unregister event listener

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* add note of what going on.

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* warn for premateur bitmap that has no id.

* del dead code

* warn for unknown/unlisted guid

* remove seekerGhost transparency hack, prettier.

* typo

* guarding move vs resize to be not overlapped

* bugfix invalid css caused by empty array

* del dead var

* del premateur logic (no use case with MMD3)

* add comment: clarify that getToken is 0 based.

* bugfix typo of ambiguous var name.
@captbaritone: having w and W in the same namespace is too confusing.

* del confusing code

Co-authored-by: Fathony <fathony@smart-leaders.net>
Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>
2022-03-20 00:47:13 -07:00
Jordan Eldredge
9217429145 Turn off some tests that fail in CI 2022-03-18 00:21:19 -07:00
Jordan Eldredge
058228fd22 Add format command 2022-03-18 00:16:50 -07:00
Jordan Eldredge
df57bff7e1 Fix formatting in default query 2022-03-18 00:16:50 -07:00
Fathony
f637ccae7d doing prettier 2022-03-18 00:15:02 -07:00
Fathony Luthfillah
e0724c338c Update packages/webamp-modern-2/src/utils.ts
okay, one line is better. less code less bug

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>
2022-03-18 00:15:02 -07:00
Fathony
316c130bc6 move huge inline-css to <head> 2022-03-18 00:15:02 -07:00
Fathony
f8559f0b02 allow external *.wal
sample: http://localhost:8080/?skin=/assets/extracted/skins/MMD3.wal
2022-03-18 00:15:02 -07:00
Jordan Eldredge
b7c72ad414 Fix which channel we use for feedback 2022-03-16 02:16:25 -04:00
Jordan Eldredge
d7e4c1184b Fix formatting 2022-03-15 23:15:37 -07:00
Jordan Eldredge
df5aa4f5db Start to introduce Node 2022-03-15 23:00:13 -07:00
Jordan Eldredge
a028a65732 Don't crash on queries missing names 2022-03-15 22:57:42 -07:00
Jordan Eldredge
d9df41a7e1 Log actual query name 2022-03-15 22:51:14 -07:00
Jordan Eldredge
7a716ffbf8 Get the actual readme when posting a skin (must await) 2022-03-15 22:50:58 -07:00
Jordan Eldredge
87aa794312 Clean up cache and add command to delete skin locally only 2022-03-15 22:50:40 -07:00
Jordan Eldredge
8997049e18 Start to implement Node 2022-03-11 03:33:39 -05:00
Jordan Eldredge
4414c26a39 Add notion of DELAYED upload processing 2022-03-10 23:55:06 -05:00
Jordan Eldredge
85346ae068 Load .env earlier 2022-03-10 23:09:32 -05:00
Jordan Eldredge
1558b9b5cf Add config 2022-03-10 19:52:36 -08:00
Jordan Eldredge
df0ecbceb7 Don't use a date object for test data. Match DB. 2022-03-10 08:56:49 -08:00
Jordan Eldredge
5f1a4d71b3 Try to fix tests 2022-03-10 00:06:27 -08:00
Jordan Eldredge
2db9daf47f Fix casing 2022-03-10 00:03:40 -08:00
Jordan Eldredge
d5a3b8646f Try falling back to test 2022-03-09 23:40:48 -08:00
Jordan Eldredge
3cad5d280e Just try to get GitHub Actions to tell us what we have here 2022-03-09 23:36:16 -08:00
Jordan Eldredge
29ba129cb0 Log node env 2022-03-09 21:57:32 -08:00
Jordan Eldredge
11ccf71dce Pass NODE_ENV as test in tests 2022-03-09 21:51:10 -08:00
Jordan Eldredge
6d3ac62d78 Lift prettier to workspace 2022-03-09 21:45:18 -08:00
Jordan Eldredge
50fde5c4d3 Test server, including GraphQL endpoint 2022-03-09 21:40:01 -08:00
Jordan Eldredge
4bdb243933 Fix resolver bugs uncovered by test 2022-03-09 21:37:23 -08:00
Jordan Eldredge
63bdd3efa6 Disable DB tests 2022-03-06 23:32:15 -08:00
Jordan Eldredge
5fb446e78a Try one more time to spell 2022-03-06 23:25:50 -08:00
Jordan Eldredge
637e28f34d Fix typo 2022-03-06 23:21:09 -08:00
Jordan Eldredge
8b0352ef91 Remove duplicate lint rule 2022-03-06 23:19:06 -08:00
Jordan Eldredge
176edb4b03 Ensure we have a config for tests 2022-03-06 23:16:41 -08:00
Jordan Eldredge
6bfce414e8 Fix some lints 2022-03-06 23:13:11 -08:00
Jordan Eldredge
39da79ddf2 Enforce Prettier at the root 2022-03-06 23:08:43 -08:00
Jordan Eldredge
4ce89495cb Enable top-level lint 2022-03-06 23:05:11 -08:00
Jordan Eldredge
1880070205 Unify tests into the top level workspace 2022-03-06 22:41:18 -08:00