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
Deluan
3107170afd
Improve SQL sanitization
2024-09-14 18:53:34 -04:00
Caio Cotts
86757663d6
Reformat code with Prettier's new rules.
2023-12-18 15:12:24 -05:00
Deluan
17d9573f4d
Refactor dialogs, make it simple to add a new dialog to all views
2023-01-24 18:36:47 -05:00
Deluan
7682fddec0
Add Size column to Artist and Album views
2023-01-16 15:00:50 -05:00
Kendall Garner
54395e7e6a
Enable transcoding of downlods ( #1667 )
...
* feat(download): Enable transcoding of downlods - #573
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
* feat(download): Make automatic transcoding of downloads optional
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
* Fix spelling
* address changes
* prettier
* fix config
* use previous name
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
2022-12-18 12:12:37 -05:00
Deluan
fcb891e704
Add an id attribute to Search boxes. Should fix #1998
2022-11-21 13:44:16 -05:00
Deluan
31c598de07
Fix drag-n-drop from a playlist, also fix useDrag memoization
2021-10-23 20:25:28 -04:00
Deluan
104679ca6e
Guard against record being undefined. Fix error Cannot read properties of undefined (reading 'id')
2021-10-19 20:22:56 -04:00
Deluan
9c29ee3651
Check permissions before adding songs to playlists
2021-10-02 13:23:17 -04:00
Deluan
6c3e45de41
Add songs to playlists with drag and drop
2021-10-02 13:14:33 -04:00
Deluan
7bd506accc
Retrieve all options for Genre filters
2021-07-24 16:00:27 -04:00
Deluan
20b7e5c49b
Add Genre filters to UI
2021-07-20 17:45:08 -04:00
Deluan
7f85ecd515
Trigger a UI refresh when the scanner finds changes.
...
Closes #1025
2021-06-09 21:02:20 -04:00
Deluan
60d50de8c9
Refactoring to make common components usage more uniform
2021-05-26 09:35:13 -04:00
Aldrin Jenson
cf8ee251ee
Option to toggle fields in songs, albums & artists ( #923 )
...
* Add toggleColumns
- Add logic for toggling columns
- Add MenuComponent + useSelectedFields hook
* Refactoring
* eslint-fixes
* Typo
* skip menu in albumGridView
* add omittedFields
* Add toggling for playlists and albumSong
* Refactoring
* defaultProps - fix
* Add toggling for PlaylistSongs
* remove accidental console log
* Refactoring for future compatibility
* Hide ToggleMenu in albumGridView
* Add TopBarComponent in ToggleFieldsMenu
* Add defaultOff for useSelectedFields
* Fix edge case
* eslint fix
* Refactoring
* Add propType for forwardRef
* Fix issues
* add translation for grid and table
* add translation for grid and table
* Ignore menuBtn for spotify-ish and Ligera themes
* hide bpm by default in playlistSongs
* Add memoization
* Default album view must be Grid
Co-authored-by: Deluan <deluan@navidrome.org>
2021-05-24 11:09:06 -04:00
Neil Chauhan
48ae4f7479
Add 5-star rating system( #986 )
...
* Added Star Rating functionality for Songs
* Added Star Rating functionality for Artists
* Added Star Rating functionality for AlbumListView
* Added Star Rating functionality for AlbumDetails and improved typography for title
* Added functionality to turn on/off Star Rating functionality for Songs
* Added functionality to turn on/off Star Rating functionality for Artists
* Added functionality to turn on/off Star Rating functionality for Albums
* Added enableStarRating to server config
* Resolved the bugs and improved the ratings functionality.
* synced repo and removed duplicate key
* changed the default rating size to small, and changed the color to match the theme.
* Added translations for ratings, and Top Rated tab in side menu.
* Changed rating translation to topRated in albumLists, and added has_rating filter to topRated.
* Added empty stars icon to RatingField.
* Added sortable=false in AlbumSongs and added sortByOrder=DESC in all List components.
* Added translations for rating, for artists and albums, and removed the sortByOrder=DESC from SimpleLists.
2021-04-07 16:02:52 -04:00
Neil Chauhan
404253a881
Enable turn on/off Favorites/Loved feature. ( #917 )
...
* Added option to enable/disable favorites in Song
* Added option to enable/disable favorites in Artist
* Added option to enable/disable favorites in Albums and Favorites tab in sidebar
* Added option to enable/disable favorites in Player
* Set default value of enableFavourites as true
* Improved the functionality to enable/disable Favorites
* Add `EnableFavourites` config option
Co-authored-by: Deluan <deluan@navidrome.org>
2021-03-28 20:35:49 -04:00
Adrian Edwards
5dfcb316cf
Remove unused prop from ArtistList ( #926 )
...
* remove syncWithLocation prop from ArtistList to fix #925
* run prettier
2021-03-28 19:53:25 -04:00
Neil Chauhan
ac37bf3631
Refactored the current ⭐ ️/Star feature to ❤️ /Love/Favourite feature. ( #908 )
...
* Added setRating feature to AlbumListView
* Refactored the iconography from ⭐ to ❤️
* Refactored the current component from StarButton to LoveButton
* Refactored all translations from Starred to Loved, and all props from showStar to showLove
* Refactored useToggleStar hook to useToggleLove
* rebased repository from master and removed stray commmits
* Refactored handler name from TOGGLE_STAR to TOGGLE_LOVE in PlayerToolbar.js
* Change "starred" translation to "Favorite"
Co-authored-by: Deluan <deluan@navidrome.org>
2021-03-26 23:56:19 -04:00
Arbaz Ahmed
01ba00ccdd
New component for mobile Artist List ( #891 )
...
Fixes #890
2021-03-25 22:45:21 -04:00
Deluan
847531391d
Help dialog with available hotkeys
2021-02-03 19:08:03 -05:00
Deluan
a42fb024be
Fix song context menu "on hover" visibility
2020-11-27 13:13:51 -05:00
Deluan
3209430ebd
Fix artists
2020-11-27 13:13:51 -05:00
Deluan
ab0e091736
Fix link to Artist's albums in mobile view
2020-09-25 16:48:31 -04:00
Deluan
bd1c3d9229
Use outlined Material-UI variant for all inputs
2020-08-17 11:19:39 -04:00
Deluan
147d26fb75
Enable sort by "starred" in Album and Artist lists
2020-08-14 15:35:15 -04:00
Deluan
848318932d
Remove unused import
2020-08-14 14:47:54 -04:00
Deluan
49153dc1c1
Add playCount to artist list
2020-08-14 14:35:00 -04:00
Deluan
f2ebbd26fa
Add stars to Artist
2020-08-14 13:19:32 -04:00
Deluan
bbc4f9f91f
Add artist context menu
2020-08-14 12:55:22 -04:00
Deluan
a64b15c174
Fix navigation issues caused by the use of useListParams
2020-06-09 20:29:12 -04:00
Deluan
82d437f004
Better defaults to sort orders in List views
2020-06-09 07:46:28 -04:00
Deluan
b3af0f880b
Use a custom List component
2020-05-15 11:03:59 -04:00
Deluan
a340b62fdf
Link to artist from album list
2020-05-14 20:42:21 -04:00
Deluan
70047fe20e
Add songCount column to Artist table
2020-05-08 10:05:48 -04:00
Deluan
ea1d534c29
Fix NavBar title translations
2020-04-27 23:22:17 -04:00
Deluan
8dcca76ec9
Fix various small sort issues
2020-04-24 17:37:28 -04:00
Deluan
3b3ad65612
Use order fields to sort by artist and album
2020-04-24 15:02:20 -04:00
Deluan
b3f70538a9
Upgrade Prettier to 2.0.4. Reformatted all JS files
2020-04-20 09:09:29 -04:00
Deluan
53e8a92fed
feat: rename year to max_year and add min_year to album. #118
2020-03-27 21:11:06 -04:00
Deluan
100db2bcfd
feat: add artist filter to album view
2020-03-25 20:40:18 -04:00
Deluan
989deb1200
feat: change pagination options
2020-02-06 18:41:34 -05:00
Deluan
4a82a6cb02
feat: initial integration of react-jinke-music-player
2020-02-06 18:41:33 -05:00
Deluan
e5e20750e5
UI: Fine tuning the resource navigation
2020-01-22 14:18:55 -05:00
Deluan
04637b24cd
UI: When navigating to another resource, pre-fill the filter with the parent info
2020-01-22 14:05:36 -05:00
Deluan
7dc3f49c1c
Initial support for artist browsing from UI. Also add linking between resources
2020-01-22 13:02:19 -05:00