Caio Cotts
86757663d6
Reformat code with Prettier's new rules.
2023-12-18 15:12:24 -05:00
Kendall Garner
7a858a2db3
Fix external link for artist page if LastFM is missinb but Musicbrainz is not ( #2533 )
...
* fix mbz link if lastfm does not exist
* use lastfmUrl field
* fix artist info undefined
2023-11-16 19:07:52 -05:00
certuna
52b77e4194
Support for Original Date, Release Date & splitting/grouping of album editions ( #2162 )
...
* Update AlbumGridView.js
* Update AlbumDetails.js
* Update AlbumDetails.js
* Create DoubleRangeField.js
* Update and rename DoubleRangeField.js to RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update AlbumGridView.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update index.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update en.json
* Update en.json
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update AlbumGridView.js
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update ContextMenus.js
* Update SongDatagrid.js
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update AlbumSongs.js
* Update SongList.js
* Update playlist_track_repository.go
* Update 20230113000000_release_year.go
* Update PlayButton.js
* Update mediafile_repository.go
* Update album.go
* Update playlist_track_repository.go
* Update playlist_track_repository.go
* Update SongDatagrid.js
* Update 20230113000000_release_year.go
* Update SongDatagrid.js
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update AlbumSongs.js
* Update RangeFieldDouble.js
* Update SongDatagrid.js
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update AlbumSongs.js
* Update AlbumSongs.js
* Update mapping.go
* Update RangeFieldDouble.js
* Update AlbumGridView.js
* Update AlbumSongs.js
* Update en.json
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update metadata.go
* Update mapping.go
* Update AlbumDetails.js
* Update AlbumGridView.js
* Update RangeFieldDouble.js
* Update mapping.go
* Update metadata.go
* Update mapping.go
* Update AlbumDetails.js
* Update 20230113000000_release_year.go
* Update AlbumDetails.js
* Update en.json
* Update configuration.go
* Update mapping.go
* Update configuration.go
* Update mediafile.go
* Update metadata.go
* Update RangeFieldDouble.js
* Update 20230113000000_release_year.go
* Update configuration.go
* Update mapping.go
* Update mediafile.go
* Update mapping.go
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update 20230113000000_release_year.go
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update mapping.go
* Update metadata.go
* Update album.go
* Update mediafile.go
* Update mediafile.go
* Update album.go
* Update fields.go
* Update mediafile_repository.go
* Update playlist_track_repository.go
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update PlayButton.js
* Update SongList.js
* Update ContextMenus.js
* Update SongDatagrid.js
* Update metadata.go
* Update ArtistShow.js
* Update mapping.go
* Update configuration.go
* Update mapping.go
* Update metadata.go
* Update metadata.go
* Update mapping.go
* Update metadata.go
* Update metadata.go
* Update mapping.go
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update mapping.go
* Update metadata.go
* Update metadata.go
* Update album.go
* Update mediafile.go
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update album.go
* Update mediafile.go
* Update metadata.go
* Update mediafile.go
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update album.go
* Update mediafile.go
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update AlbumGridView.js
* Update en.json
* Update AlbumGridView.js
* Update RangeFieldDouble.js
* Update and rename 20230113000000_release_year.go to 20230113000000_release_date.go
* Update album.go
* Update mediafile.go
* Update fields.go
* Update playlist_track_repository.go
* Update mediafile_repository.go
* Update mapping.go
* Update metadata.go
* Update mapping.go
* Update SongDatagrid.js
* Update RangeFieldDouble.js
* Update index.js
* Update ContextMenus.js
* Update PlayButton.js
* Create FormatDate.js
* Update SongList.js
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update AlbumSongs.js
* Update en.json
* Update AlbumDetails.js
* Update album.go
fixed conflict I think?
* Update mediafile.go
fixed conflict
* Format with goimports
* Update SongDatagrid.js
only show Cat # in desktop view
* Update metadata_internal_test.go
* Update metadata_test.go
* Delete test.mp3
* Add files via upload
mp3 test file with Date, Original Date and Release Date
* Update metadata_test.go
* Update metadata_test.go
* Update metadata_test.go
* Update metadata_test.go
* Update taglib_test.go
* Delete test.mp3
* Add files via upload
file with replaygain & dates
* Update AlbumGridView.js
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update ContextMenus.js
* Update FormatDate.js
* Update PlayButton.js
* Update RangeFieldDouble.js
* Update SongDatagrid.js
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update AlbumSongs.js
* Fix formatting
* Update mapping.go
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update SongDatagrid.js
prettier
* Create RangeDoubleField.js
rename of RangeFieldDouble.js
* Update AlbumGridView.js
RangeFieldDouble -> RangeDoubleField
* Update mediafile.go
AllOrNothing() -> allOrNothing()
* Update metadata_internal_test.go
getYear -> getDate
* Update AlbumDetails.js
wrote suggested changes
* Update en.json
Editions -> Releases & fixed the field name
* Update configuration.go
Rename Editions -> Releases
* Update 20230113000000_release_date.go
Editions -> Releases
* Update album.go
Editions -> Releases
* Update mediafile.go
Editions -> Releases
* Update AlbumDetails.js
Editions -> Releases
* Update AlbumSongs.js
Editions -> Releases
* Update RangeDoubleField.js
Editions -> Releases
* Update SongDatagrid.js
Editions -> Releases
* Update index.js
FormatFullDate and RangeDoubleField
* Rename FormatDate.js to FormatFullDate.js
* Delete RangeFieldDouble.js
* Update mediafile.go
AllOrNothing -> allOrNothing
* Update mapping.go
Editions -> Releases
* Update AlbumDetails.js
prettier
* Update SongDatagrid.js
showReleaseRow -> showReleaseDivider
* Update AlbumSongs.js
showReleaseRow -> showReleaseDivider for clarity
* Update and rename 20230113000000_release_date.go to 20230515184510_add_release_date.go
- rename the migration file
- fixed the import to goose/v3
- additional db fields for original date & year
* Update 20230515184510_add_release_date.go
* Update fields.go
* Update album.go
* Update mediafile.go
* Update mapping.go
* Update AlbumDetails.js
* Update en.json
* Update AlbumDetails.js
* Update AlbumDetails.js
now hopefully prettier
* Update mapping.go
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2023-05-19 15:27:47 -04:00
Deluan
1950c07b1d
Disable external links when EnableExternalServices is false. Fix #2022
2023-01-25 10:28:03 -05:00
Deluan
16850a9be0
Revert "Replace the LoveButton with ArtistContextMenu in the artist page - #1979 "
...
see https://github.com/navidrome/navidrome/issues/1979#issuecomment-1402904870
2023-01-24 20:14:51 -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
33f033beba
Fix artist image not caching on browser
2023-01-20 21:28:44 -05:00
Deluan
b9934799ec
Increase size of artist image
2023-01-20 20:55:17 -05:00
Deluan
7682fddec0
Add Size column to Artist and Album views
2023-01-16 15:00:50 -05:00
Deluan
12dd219e16
Don't refresh artistInfo when setting artist's love/rating
2023-01-14 10:52:03 -05:00
bornav
1d6b04e3ad
Replace the LoveButton with ArtistContextMenu in the artist page - #1979
2023-01-14 10:52:03 -05:00
Deluan
291455f0b7
Fix Download Dialog not showing in Artist page
2023-01-13 19:40:43 -05:00
Celyn Walters
b8c171d3d4
Hide LastFM icons if config.lastFMEnabled is false ( #1935 )
...
Hide LastFM icons if `config.lastFMEnabled` is false
2022-12-30 17:15:14 -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
12b4a48842
Fix get info dialog in artist page. Closes #1909
2022-10-04 12:30:04 -04:00
Steve Richter
66818b25ec
Allow ExternalLink icons to be styled ( #1503 )
...
* Allow ArtistExternalLink icons to be styled
* Allow AlbumExternalLink icons to be styled
* Standardize external links' classes to kebab-case
Co-authored-by: Deluan <deluan@navidrome.org >
2022-09-30 13:33:35 -04:00
Evan.Shu
50a4ce6ba2
Fix add playlist dialog ( #1758 )
2022-09-28 22:15:39 -04:00
Deluan
d4447e373f
Fix sorting albums by year (should use name as secondary sort field).
...
Relates to https://github.com/navidrome/navidrome/issues/961#issuecomment-967624681
2021-11-17 21:47:14 -05:00
Deluan
84bbcdbfc2
Add artist image lightbox
2021-10-30 20:05:01 -04:00
Deluan
31c598de07
Fix drag-n-drop from a playlist, also fix useDrag memoization
2021-10-23 20:25:28 -04:00
Deluan
2a756eab88
Show external links on all resolutions but mobile
2021-10-21 10:30:53 -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
Dnouv
1d742cf8c7
Artist page improvements ( #1391 )
...
* Seperate mobile desktop components
* Fix err
* Rename classes and fix some styles
* Add lastFM button and remove console log
* Add Mbiz Icon
* render bio as dangerouslySetInnerHTML and remove unused css classes
* Add Fav and Stars
* Remove unstandardised class selector
* Remove ext link from m view
* Fix naming and simplify rounded styling
* Refactor ArtistShow:
- Extracted DesktopArtistDetails to its own file
- Removed album count as it was incorrect, it is not considering compilations
- Show bio and image from Native API, if it is available, before calling `getArtistInfo`
Co-authored-by: Deluan <deluan@navidrome.org >
2021-10-15 21:02:11 -04:00
Dnouv
a6311259fd
Fix layout error in ArtistShow ( #1387 )
2021-10-04 17:14:38 -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
24872e6c2a
Fix biography word wrapping and requests for undefined resource
2021-09-27 09:47:16 -04:00
Dnouv
482c2dec0c
Artist Detail Page (first cut) ( #1287 )
...
* Configure fetching from API and route
* pretty
* Remove errors
* Remove errors
* Remove errors
* Complete page for Desktop view
* Fix error
* Add xs Artist page
* Remove unused import
* Add styles for theme
* Change route path
* Remove artId useEffect array
* Remove array
* Fix cover load err
* Add redirect on err
* Remove route
* What's in a name? consistency :)
* Fix err
* Fix UI changes
* Fetch album from resource
* Renaming done
* Review changes
* Some touch-up
* Small refactor, to make naming and structure more consistent with AlbumShow
* Make artist's album list similar to original implementation
* Reuse AlbumGridView, to avoid duplication
* Add feature flag to enable new Artist Page, default false
* Better biography styling. Small refactorings,
* Don't encode quotes and other symbols
* Moved AlbumShow to correct folder
Co-authored-by: Deluan <deluan@navidrome.org >
2021-09-26 15:32:40 -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
Ruchi Kushwaha
b441260186
Change icon on active menu item ( #903 )
...
* add icons
* add logic to change the icon
* make the active menu bold
* Encapsulate the dynamic icon behaviour into a self-contained component
Co-authored-by: Deluan <deluan@navidrome.org >
2021-04-17 00:40:07 -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