Deluan Quintão
fcdd30ba8f
build(ui): migrate from CRA/Jest to Vite/Vitest ( #3311 )
...
* feat: create vite project
* feat: it's alive!
* feat: `make dev` working!
* feat: replace custom serviceWorker with vite plugin
* test: replace Jest with Vitest
* fix: run prettier
* fix: skip eslint for now.
* chore: remove ui.old folder
* refactor: replace lodash.pick with simple destructuring
* fix: eslint errors (wip)
* fix: eslint errors (wip)
* fix: display-name eslint errors (wip)
* fix: no-console eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: build
* fix: pwa manifest
* refactor: pwa manifest
* refactor: simplify PORT configuration
* refactor: rename simple JS files
* test: cover playlistUtils
* fix: react-image-lightbox
* feat(ui): add sourcemaps to help debug issues
2024-09-28 11:54:36 -04:00
Caio Cotts
86757663d6
Reformat code with Prettier's new rules.
2023-12-18 15:12:24 -05:00
Deluan
3d5a1cef92
Don't allow adding songs to smart playlists
2022-10-02 20:14:15 -04:00
joaomqc
8befe10ee6
fix(UI): Warn if track is already present when adding to playlist - 1604 ( #1897 )
...
* fix(UI): Warn if track is already present when adding to playlist - 1604
Signed-off-by: joaomqc <joaomqc@hotmail.com>
* fix tests
Signed-off-by: joaomqc <joaomqc@hotmail.com>
Signed-off-by: joaomqc <joaomqc@hotmail.com>
Co-authored-by: João Coelho <1120458@isep.ipp.pt>
2022-09-29 13:19:14 -04:00
Deluan
6b09dc7198
Fix new test-library eslint errors
2022-09-28 21:30:20 -04:00
Deluan
a4d3bf42a7
Remove some duplicated code
2021-10-31 15:08:06 -04:00
Deluan
133fed344f
Add owner_id to playlist
2021-10-31 15:08:06 -04:00
Deluan Quintão
5631493cc4
Upgrade Web UI to Create-React-App 4 and React 17 ( #1105 )
...
* Upgrade to CRA 4.0.3
* Try to fix tests. No lucky
* Fix new ESLint errors
* Fix JS tests and remove unwanted dependency. (#1106 )
* Fix tests
* Fix lint
* Remove React v16 workaround (fixed in v17)
* Force eslint to break on warnings
* Lint now needs to be called explicitly in the pipeline
Co-authored-by: Yash Jipkate <34203227+YashJipkate@users.noreply.github.com>
2021-05-25 09:58:06 -04:00
Deluan
fa9083ddec
Upgrade prettier to 2.3.0
...
Some reformatting was needed... :/
2021-05-11 18:13:03 -04:00
Yash Jipkate
df57cd6bb5
Allow adding songs to multiple playlists at once. ( #995 )
...
* Add support for multiple playlists
* Fix lint
* Remove console log comment
* Disable 'check' when loading
* Fix lint
* reset playlists on closeAddToPlaylist
* new playlist: accomodate string type on enter
* Fix lint
* multiple new playlists are added correctly
* use makestyle()
* Add tests
* Fix lint
2021-04-23 18:37:08 -04:00