* 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>
* 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>
* Show playlists in sidebar menu
* Fix menu
* Refresh playlist submenu when adding new playlist
* Group shared playlists below user's playlists
* Fix text overflow in menu options
* Add button in playlist menu to go to Playlists list
* Add config option `DevSidebarPlaylists` to enable this feature (default false)
* Added back button
* Added back button
* Added back button
* Fixed Album size overflow
* Fixed Album size overflow
* Fixed album size overflowing
* Fixed album size overflowing
* Fixed album size overflowing
* Fixed album size overflow on small screen
* Changes reverted in PlayerEdit.js
* prettier formatting issue resolved
Co-authored-by: Deluan <deluan@navidrome.org>
* Don't include updatedAt field when fetching album art placeholder. This will allow browers to cache the place holder
* Apply resizing to placeholder image
* Fix issues discovered by CI linter and prettier
* Updates from PR review
* Disable mobile player cover animation when EnableCoverAnimation is set to false. Also increase cover art size and remove rounded borders.
* Display song album and year in mobile player view
* Remove default singer element from mobile player and reduce vertical white space
* Only add song year if it exists
* Add song year to desktop player when present
* Increase non-animated cover size to 85% and set a limit on the width of 600px.
* Explain what what the styles impact
* Remove unused style for songArtist
* Apply prettier
* Adjust player styles to handle nonsquare album art better. Should probably push this upstream too
* Also fix desktop player's handling of non square cover art.
* added a dependency npm was complaining about
added playlist to album actions
* removed chokidar dependency
Co-authored-by: Skrtansh Rajput <srajput@alienvault.com>
* Make authentication part of the server, so it can be reused outside the Native API
This commit has broken tests after a rebase
* Serve frontend assets from `server`, and not from Native API
* Change Native API URL
* Fix auth tests
* Refactor server authentication
* Simplify authProvider, now subsonic token+salt comes from the server
* Don't send JWT token to UI when authenticated via Request Header
* Enable ReverseProxyWhitelist to be read from environment
* 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>
* Show more descriptive success messages for User actions
* Check username uniqueness when creating/updating User
* Adjust translations
* Add tests for `validateUsernameUnique()`
Co-authored-by: Deluan <deluan@navidrome.org>
* BPM metadata enhancement
Related to #1036.
Adds BPM to the stored metadata about MediaFiles.
Displays BPM in the following locations:
- Listing songs in the song list (desktop, sortable)
- Listing songs in playlists (desktop, sortable)
- Listing songs in albums (desktop)
- Expanding song details
When listing, shows a blank field if no BPM is present. When showing song details, shows a question mark.
Updates test MP3 file to have BPM tag. Updated test to ensure tag is read correctly.
Updated localization files. Most languages just use "BPM" as discovered during research on Wikipedia. However, a couple use some different nomenclature. Spanish uses PPM and Japanese uses M.M.
* Enhances support for BPM metadata extraction
- Supports reading floating point BPM (still storing it as an integer) and FFmpeg as the extractor
- Replaces existing .ogg test file with one that shouldn't fail randomly
- Adds supporting tests for both FFmpeg and TagLib
* Addresses various issues with PR #1087.
- Adds index for BPM. Removes drop column as it's not supported by SQLite (duh).
- Removes localizations for BPM as those will be done in POEditor.
- Moves BPM before Comment in Song Details and removes BPM altogether if it's empty.
- Omits empty BPM in JSON responses, eliminating need for FunctionField.
- Fixes copy/paste error in ffmpeg_test.
This gives more space for the song and artist names in the player
* fix min-width of AlbumDetails
* Fix song play time display
* Song duration display fix#2
* Removed important
* Resolve conflicts
* Update Player.js
* Change breakdown and hide volume
Co-authored-by: Deluan <deluan@navidrome.org>
* 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
* refactored some styles in jinkieplayer
* fix: refactored some styles in jinkie player and removed br tag - #865
* fix: refactored some styles in jinkie player and removed br tag - #865
Signed-off-by: armedev <epiratesdev@gmail.com>
* 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>
* 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.
* added quality info
* fixed formatting
* implemented various suggestions
* npm run prettier
* applied suggestions
* npm run prettier
* corrected lossless formats and other suggestions
* moved losslessformats into consts.js
* added some test
* typo while resolving conflicts
* fetch
* removed a bug causing component (as suggested)
* Update PlayerToolbar.js
* implemented suggestions
* added few more tests
* npm run prettier
* added size
* updated qualityInfo
* implemented suggestions
* added test for when no record is recieved
* Update QualityInfo.js
* fix(ui/src/album): White play button on hover for all themes - #960
* fix(PlayButton) : White play button for light theme - #960
* fix(PlayButton) : White play button for light theme - #960
* bug(AlbumGridView.js) - Album play button defaults to white, can be overridden - #960
Signed-off-by: Shishir <shishir.srik@gmail.com>
* bug(AlbumGridView.js) - Album play button defaults to white, can be overridden - #960
* Reverted package.json and package-lock.json - #960
Signed-off-by: Shishir <shishir.srik@gmail.com>
* Missing lint script added - #960
Signed-off-by: Shishir <shishir.srik@gmail.com>
* Removed color, added className and made record required in PlayButton.propTypes - #960
* added new theme - night
* removed a unused field
* fixed a typo from previous change
* night theme in login window
* changed name
changed the theme name from "Night" to "Extra Dark"
* changed the theme name
* Update index.js
* Rename night.js to extradark.js
* trying something
* formatted
the JS build was failing because I haven't formatted the index.js file with prettier. I got to know about this now.
I think now it will be resolved.
* Fix the Album Details UI to look similar to Song Details UI
* Remove the unused components
* Fix the gap between row and the first field in the details view
* Fix the width of the row of Album Details UI
* [Theme] Allow customising album and player parts
* [Theme] Allow customizing song lists view
* Make spotify-ish more spotify-ish
* Fix responsive issues in spotify-ish
* Spotify-ish login page
* Add back the previous "Spotify-ish" theme as "Green"
Co-authored-by: Deluan <deluan@navidrome.org>