Commit Graph

470 Commits

Author SHA1 Message Date
Deluan b836dfe7f4 Do not reset the SongList query params 2020-05-31 14:27:02 -04:00
Deluan ddcfc546fb Link is not on the album cover, leaving a gap between albums.
Other small improvements
2020-05-31 13:57:17 -04:00
Deluan 86a9f9e410 Show album info on hover 2020-05-30 19:42:08 -04:00
Deluan 14d7a69088 Fix context menu "display on hover" in playlists 2020-05-30 11:18:01 -04:00
Deluan 35e4eec293 Add album to playlist 2020-05-30 11:17:33 -04:00
Deluan fbedbb7893 Fix context menu on mobile, removed console warnings 2020-05-29 22:50:33 -04:00
Deluan a7640c9df4 Optimized call to retrieve album songs 2020-05-29 17:34:54 -04:00
Deluan 8f8d992da4 Only add to playlist songs from selected discNumber (if present) 2020-05-29 16:42:13 -04:00
Deluan 3fe8b02cbd Make album context menu only visible on hover 2020-05-29 12:33:50 -04:00
Deluan ba8c8725dd Refactor: move multiDisc detection logic to SongDatagrid 2020-05-29 12:20:17 -04:00
Deluan 915b701e44 Add context menu to individual discs in a set 2020-05-29 12:08:07 -04:00
Deluan 596100b58d Refactor: improve readability 2020-05-29 11:21:53 -04:00
Deluan 7b36096153 Fix class of disc subtitle row 2020-05-28 09:25:53 -04:00
Deluan 62290bca77 Remove extra `,` 2020-05-28 08:16:31 -04:00
Deluan 498e196d48 Allow playing one disc of a set, by clicking on its number/name 2020-05-27 21:07:51 -04:00
Deluan 26dba27778 Always show song context menu on tablets 2020-05-26 22:02:15 -04:00
Deluan 7170485d08 Rename property 2020-05-26 17:59:04 -04:00
Deluan 2c68ba3934 only show playlist tracks' context menu on hover 2020-05-26 16:18:28 -04:00
Deluan f9dae2dd2a Added individual AddToPlaylistDialogs to each list view 2020-05-25 22:51:31 -04:00
Deluan 00811f8000 Cancel the dialog when clicking the backdrop 2020-05-25 22:51:31 -04:00
Deluan 9c940cd44f Show AutomcompleteInput even if the list of playlists is not loaded yet 2020-05-25 22:51:31 -04:00
Deluan 1607dc8b88 Remove unused dependency 2020-05-25 22:51:31 -04:00
Deluan a42a16696e Translate messages 2020-05-25 22:51:31 -04:00
Deluan 6db63e4dfc Use creatable autocomplete, to select or create a new playlist 2020-05-25 22:51:31 -04:00
Deluan 23bd5e1131 First version of dialog 2020-05-25 22:51:31 -04:00
Deluan 8973477fe5 npm audit fix 2020-05-25 21:43:50 -04:00
Deluan 72cb3850d1 Update React Admin to 3.5.3 2020-05-24 23:32:36 -04:00
Deluan a6cc88177c Fix "starred" sorting 2020-05-24 12:49:32 -04:00
Deluan cac1a20ec8 Use a ☆ instead of the word "starred" 2020-05-24 12:14:45 -04:00
Deluan ac8f92d7ac Fix ContextMenu column label 2020-05-24 12:14:44 -04:00
Deluan 3ae1586e10 Add "No playlists available" to context menu 2020-05-24 11:27:17 -04:00
Deluan 5c46f7822f Better disc subtitle 2020-05-23 15:33:29 -04:00
Deluan c13766bbc3 More optimization for small screens 2020-05-23 14:11:39 -04:00
Deluan 290e8c4bf0 Make Starred into a "QuickFilter" 2020-05-23 13:25:30 -04:00
Deluan 442671578d Fix warning in JS console (wrong property type) 2020-05-23 12:49:39 -04:00
Deluan 55ad5c9fc9 Remove unused import, fix build 2020-05-22 23:33:40 -04:00
Deluan ec0002e77a Add a sortable Starred column and a Starred filter to Song List 2020-05-22 23:10:58 -04:00
Deluan 3632608de0 Replace `child.type.name`, as it is not available in the production build 2020-05-22 22:23:00 -04:00
Deluan 0a3e6c66c1 Alwasy show context menu on mobile views 2020-05-22 21:47:48 -04:00
Deluan 52a46e61e0 Remove duplication 2020-05-22 21:31:45 -04:00
Deluan de2759b3d5 Fix react key conflic 2020-05-22 20:48:49 -04:00
Deluan 978e7f2eaa Only show SongContextMenu on hover 2020-05-22 20:15:58 -04:00
Deluan 6f6b223453 Disable ToggleStar on playlist tracks 2020-05-22 15:45:03 -04:00
Deluan 8a68cecdb9 Add ToggleStar to SongContextMenu (WIP) 2020-05-22 15:23:42 -04:00
Deluan 0e4f7036eb Make playlist songs look better in mobile 2020-05-18 18:00:55 -04:00
Deluan f28531b609 Add album name to song details 2020-05-18 13:32:12 -04:00
Deluan 14f3ffbee6 Allow sorting playlist tracks 2020-05-18 13:21:47 -04:00
Deluan 94e1b1f65d Add context menu to playlist songs 2020-05-18 13:05:54 -04:00
Deluan 84ea852339 Prettier 2020-05-18 12:19:01 -04:00
Deluan cf019849f0 Add missing translation key 2020-05-18 12:15:46 -04:00
Deluan 76a5d1928e Fix some JS warnings 2020-05-18 12:12:04 -04:00
Deluan 3dced978c7 Add button to edit playlist details 2020-05-18 12:12:04 -04:00
Deluan 05a07f31c9 Bump react-music-player version 2020-05-18 10:14:50 -04:00
Deluan 1afbbbf189 Add SongContextMenu to Album Songs 2020-05-17 20:57:38 -04:00
Deluan 308163c2e0 Add "AddToPlaylist" to AlbumContextMenu 2020-05-17 20:30:05 -04:00
Deluan 1aef21a4a9 Update translations for playlists 2020-05-17 10:23:46 -04:00
Deluan a734a1aaa3 Add filter by name to Playlist list 2020-05-16 19:14:19 -04:00
Deluan bf1dc33782 Add option to shuffle playlist 2020-05-16 19:11:52 -04:00
Deluan c43798c5dd Filter out songs not in the playlist 2020-05-16 19:02:33 -04:00
Deluan 12cf2f1104 Remove tracks from playlist 2020-05-16 18:35:34 -04:00
Deluan 5c95eed517 Rename actions 2020-05-16 18:35:34 -04:00
Deluan e81a9dd1b5 Add tracks to playlist 2020-05-16 18:35:34 -04:00
Deluan fd49ae319f Add Playlist action 2020-05-16 18:35:34 -04:00
Deluan f881e2a54b Add option to enable (experimental) playlists in UI 2020-05-16 18:35:34 -04:00
Deluan 0ca79eead4 Show Playlist tracks 2020-05-16 18:35:34 -04:00
Deluan 8a709c489a Add playlist views 2020-05-16 18:35:34 -04:00
Deluan b1f5d35f73 Fix DurationField breaking when the record does not have the source field 2020-05-16 18:35:34 -04:00
Deluan ab690215ef Make Playlist's songCount sortable 2020-05-16 18:35:34 -04:00
Deluan 5afcd0ad22 Make field names camelCase 2020-05-16 18:35:34 -04:00
Deluan fec589dce5 Add playlist list 2020-05-16 18:35:34 -04:00
Deluan 8e2480a82d Fix duration (in web player) when playing transcoded files. Thanks @lijinke666
See: https://github.com/lijinke666/react-music-player/issues/90
2020-05-16 13:24:25 -04:00
Deluan 50eda78ca1 Revert "Save perPage selection in localstorage"
This reverts commit 9490374faa.
2020-05-15 11:04:48 -04:00
Deluan b3af0f880b Use a custom List component 2020-05-15 11:03:59 -04:00
Deluan 9490374faa Save perPage selection in localstorage 2020-05-14 23:05:14 -04:00
Deluan a340b62fdf Link to artist from album list 2020-05-14 20:42:21 -04:00
Deluan 0d1af8c635 Fix potential null reference exception 2020-05-14 19:01:07 -04:00
Deluan 162971f7b3 Remove console.log 2020-05-12 14:48:22 -04:00
Deluan 1e5c879fc6 Extract disc subtitle strings for translation 2020-05-12 14:13:34 -04:00
Deluan e369cbf493 Disable album songs sorting 2020-05-12 13:47:59 -04:00
Deluan a88270a22b Add multidisc labels, even if there are no disc subtitles 2020-05-12 13:14:23 -04:00
Deluan 4355f4fe2d Show disc subtitles (if available) 2020-05-12 12:57:53 -04:00
Deluan 0d9361734f Import and display disc subtitles 2020-05-12 12:57:53 -04:00
Deluan 09267d2ffd Don't skip to the next song when there is an streaming error 2020-05-09 15:56:12 -04:00
Deluan 70047fe20e Add `songCount` column to Artist table 2020-05-08 10:05:48 -04:00
Deluan 06ab88415a Refactor album actions, simplify usage 2020-05-07 11:24:28 -04:00
Deluan 0472988645 Fix next track not working after adding to queue 2020-05-07 00:28:32 -04:00
Deluan 7e0881f0ec Play the remainder of the album when clicking on a album's song 2020-05-06 16:02:31 -04:00
Deluan f8fb4c8f54 Make the borders of the AlbumSongs round 2020-05-06 08:44:25 -04:00
Deluan ddcacbb6e5 Fix covers overflow in some resolutions 2020-05-06 08:44:10 -04:00
Deluan Quintão 2e31b4d046
Update translations (#264)
* Update it.json (POEditor.com)

* Update de.json (POEditor.com)

* Update pt.json (POEditor.com)

* Add Czech translation

* Update fr.json (POEditor.com)

* Update nl.json (POEditor.com)

* Update cs.json (POEditor.com)

* Update English translation

* Update it.json (POEditor.com)
2020-05-05 18:32:22 -04:00
Deluan 29e2ab1b4a Set default view to Album list 2020-05-05 15:44:05 -04:00
Deluan 8880294ee7 Change default album view mode to Grid 2020-05-05 15:34:31 -04:00
Deluan a8d3466b0e Unselect album songs after clicking on bulk "Play Later" button 2020-05-05 15:08:30 -04:00
Deluan 0ee000a8a0 Resolve TODO (workaround is necessary) 2020-05-05 12:35:50 -04:00
Deluan 0833d87f94 Add "Play Later" action to AlbumContextMenu 2020-05-05 12:20:41 -04:00
Deluan 23836d7c3c Change `addTrack` action to `addTracks`, supporting multiple tracks to be added to the queue in one call 2020-05-05 12:07:50 -04:00
Deluan 5495451448 Use only one call to the server when adding songs to the queue
Also show a message when there's an error communication with the server
2020-05-05 11:19:41 -04:00
Deluan 2f4d4c6e38 Add missing translation terms 2020-05-04 20:27:09 -04:00
Deluan 17e51756ef Removed dependencies for ra language files 2020-05-02 22:30:55 -04:00
Deluan 151f43b95f Refactor i18n functions a bit 2020-05-02 17:44:24 -04:00
Deluan 055c77b38c Remove "default" from Dark theme name 2020-05-02 14:50:46 -04:00
Deluan 8dc2d7a5e0 Make context menu icon smaller 2020-05-02 14:50:15 -04:00
Deluan 056d5e7111 Remove empty keys to allow English fallback 2020-05-02 14:19:01 -04:00
Deluan Quintão 5445d20ecd Update en.json (POEditor.com) 2020-05-02 14:19:01 -04:00
Deluan 2f7443e4bd Use English as fallback language 2020-05-02 14:19:01 -04:00
Deluan 41cf99541d Move translations to server 2020-05-02 14:19:01 -04:00
Deluan bf8f9d2be8 Fix context menu icon color on Light theme 2020-05-01 12:08:32 -04:00
Deluan 6d20ca27f6 Add mobile album list view 2020-05-01 11:50:07 -04:00
Deluan 3bb573b45f Add AlbumContextMenu to AlbumListView 2020-05-01 11:27:09 -04:00
Deluan 9b2d91c0f2 Fix songs pagination param in AlbumContextMenu 2020-05-01 11:05:36 -04:00
Deluan b002a69bf8 Fix language sorting 2020-05-01 10:48:28 -04:00
Deluan e341df1e26 Rename Chinese translation file to `zh` 2020-05-01 10:43:49 -04:00
Deluan 35e8c1c407 Add all translation keys to English 2020-05-01 10:41:47 -04:00
Deluan d1a88ed8d6 Remove duplicated translation key 2020-05-01 10:28:31 -04:00
Deluan 10a7dfeb15 Add SongContextMenu 2020-05-01 10:22:24 -04:00
Deluan 555c78f536 Reduce flickering of album covers 2020-05-01 09:00:00 -04:00
Deluan 0270a9c924 Remove dangling create-react-app README 2020-04-30 15:19:55 -04:00
Deluan a45e278cda Bum react-music-player version to 4.12.0 2020-04-30 14:18:05 -04:00
Deluan b453ee6598 Fix color of album context menu when in Light mode.
Fix is to make it always white
2020-04-29 22:46:34 -04:00
Deluan 716de24f1e Localize translation config notice 2020-04-29 21:59:05 -04:00
Deluan c816ca4525 Add config option to enable/disable Transcoding configuration 2020-04-29 21:59:05 -04:00
Srihari Chandana eb7d2dcaa1 fixed compile errors 2020-04-29 21:51:44 -04:00
Srihari Chandana e6d4cfba96 cleaned up logic 2020-04-29 21:51:44 -04:00
Srihari Chandana 2a5d2d70ba replaced GridButton with GridMenu 2020-04-29 21:51:44 -04:00
Srihari Chandana e539ddceb9 fixed code to remove warnings 2020-04-29 21:51:44 -04:00
Srihari Chandana 00666da9c1 added grid play button 2020-04-29 21:51:44 -04:00
Deluan 7ad9c385b5 Fix typo 2020-04-29 17:38:03 -04:00
Brian Pierson d6c70554b3 Fixing 50 shades of blue 2020-04-29 08:15:28 -04:00
Deluan 71a1f65be2 Bump @testing-library dependencies 2020-04-28 12:06:05 -04:00
Deluan d4f17f2b73 Fix username English translation (fix #231) 2020-04-27 23:23:03 -04:00
Deluan ea1d534c29 Fix NavBar title translations 2020-04-27 23:22:17 -04:00
Deluan 069de0f9ea Add a try catch to display the record when DurationField fails 2020-04-27 22:46:40 -04:00
Deluan e871c7daee Add links to documentation on how to contribute with themes and translations 2020-04-27 20:43:58 -04:00
dependabot-preview[bot] 320fe11a66 Bump prettier from 2.0.4 to 2.0.5 in /ui
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.4...2.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 17:41:49 -04:00
Deluan b44218fdcc Move the shuffleAlbum logic into an action 2020-04-26 19:15:52 -04:00
Deluan ebc7964157 Fix formatting 2020-04-26 15:07:36 -04:00
Deluan ad6c86d78a Check formatting in pipeline 2020-04-26 15:07:36 -04:00
ElleshaHackett 6bf7c751a1 Add Dutch language 2020-04-26 15:07:14 -04:00
Kevin Morssink 1019bb8258 Add Dutch language 2020-04-26 15:07:14 -04:00
Deluan 531155d016 Check if persistedState exists beforetrying to use it (fix #214) 2020-04-25 13:37:02 -04:00
Deluan 34ad740e07 Enable French translation 2020-04-25 11:59:37 -04:00
Deluan 79454d7a92 Fix artist link contrast in light theme 2020-04-25 11:57:52 -04:00
Deluan 87cc397bc3 Add current playing track id to the Redux store 2020-04-25 11:57:52 -04:00
jvoisin 37602a2049 Bump the french traduction 2020-04-25 11:57:22 -04:00
Deluan 56ea380bb3 Add link to artist's albums on the album cover 2020-04-25 09:47:56 -04:00
Deluan 177ace1cee Turn off autoplay when reloading the play queue from the Redux store 2020-04-25 09:30:43 -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 de115ff466 Bump Testing Library and moved it to devDependencies 2020-04-20 09:02:08 -04:00
Deluan 129f02b36b Bump ReactAdmin to 3.4.2 2020-04-20 08:50:21 -04:00
Deluan 579294b0f1 Make Players and Transcodings view mobile-friendly 2020-04-19 13:54:51 -04:00
Deluan Quintão 3b7d7bdb04 Disable French translation 2020-04-18 14:24:27 -04:00
jvoisin 05958f5195 Add French localization 2020-04-18 14:24:27 -04:00
Deluan f6617ff77d Add Chinese Simplified translation 2020-04-17 21:54:41 -04:00
AlphaJack d117d5794d Add Italian localization 2020-04-17 08:05:30 -04:00
Deluan 2cfd7babb3 Add more Portuguese translations 2020-04-16 13:02:39 -04:00
Deluan 161a9b340c Add more Portuguese translations 2020-04-16 12:53:46 -04:00
Deluan 605253446a Fix AlbumLink label in Songs view 2020-04-16 10:26:24 -04:00
Deluan f8d9b1508e Add `prettier` npm script 2020-04-15 22:11:23 -04:00
Deluan 3c4de3c8b5 Move language merge logic to i18n/index
This simplifies implementations one new languages
2020-04-15 22:11:23 -04:00
Deluan a6c9bf1b15 Persist language selection to localStorage 2020-04-15 22:11:23 -04:00
Deluan bf6ec67528 Add Language Selector to Personal settings 2020-04-15 22:11:23 -04:00
Deluan 289ba68824 Add Portuguese translation (incomplete) 2020-04-15 22:11:23 -04:00
Deluan 66275d3b94 Make song details table dense 2020-04-14 17:09:47 -04:00
Deluan 57f2c3f823 Better layout for Song Details 2020-04-14 16:21:59 -04:00
Deluan afba4c9915 Add size and play count/date to Song Details 2020-04-14 15:23:11 -04:00
Deluan f0d18d2cb3 Add Song Details to Album view 2020-04-14 14:59:16 -04:00
Deluan da45bcf448 Make player theme configurable from Navidrome's theme 2020-04-14 11:54:49 -04:00
Deluan 3a54246b15 Change default sort for albums view to alphabetically (list) or most recent (grid) 2020-04-14 09:26:59 -04:00
Deluan 2b06f20f41 Close the sidebar menu when clicking "Personal" in mobile screens 2020-04-14 08:52:26 -04:00
Deluan 88f44b2e77 Upgrade React Player to 4.11.2, fix to MediaSession "close" action 2020-04-14 01:42:07 -04:00
Deluan 4dff067e0b Upgrade React Player to 4.11.1, enabled MediaSession 2020-04-13 14:24:50 -04:00
Deluan f6a15905d7 Move Album View toolbar to left 2020-04-12 20:43:51 -04:00
Deluan a6dfcafdab Update themes doc, link to documentation site 2020-04-11 13:13:53 -04:00
Deluan 09985453aa Show a Datagrid placeholder while loading 2020-04-09 22:38:40 -04:00
Deluan b429949dd9 Keep optimistic rendering when changing the sort order for the current album 2020-04-09 18:53:44 -04:00
Deluan b9f601dfb4 Remove unused import 2020-04-09 18:31:37 -04:00
Deluan 5b488b72b1 Add a custom AlbumSongs list component, to disable the optimistic rendering (should fix #158) 2020-04-09 18:28:47 -04:00
Deluan 5412bb2dc8 Fine tune album grid for mobile view 2020-04-09 09:53:53 -04:00
Deluan d38f8544d5 Remove unused localStorage config 2020-04-08 13:20:02 -04:00
Deluan 089a92157f Pass version to UI through AppConfig, instead of login payload.master
This makes the version info updated with a browser refresh (no need to logout and login again)
2020-04-08 11:00:30 -04:00
Deluan a0f389fc3e Consolidate UI configuration in one place, allowing it to be overridden from the server 2020-04-08 09:07:15 -04:00
Deluan d0188db4f9 Fine tune album grid 2020-04-07 21:25:06 -04:00
Deluan f537984bbf Use `trackId` instead of simply `id`, as it seems to conflict with internal id generated by the player. fixes #153 2020-04-07 11:55:45 -04:00
Deluan c1afe70d98 Fix: also pass the custom authorization header in all requests 2020-04-06 16:23:47 -04:00
Deluan 3f9ddb915e Use a custom authorization header, to avoid conflicts with proxies using basic auth (fixes #146) 2020-04-06 16:03:20 -04:00
Deluan 656ca1f3b5 Fix colour of album actions 2020-04-03 22:35:55 -04:00
Deluan b8f7715a74 Fix ReactAdmin console warnings 2020-04-03 21:03:34 -04:00
Deluan 096ed396c8 Add link to all artist's albums from an album 2020-04-03 20:51:15 -04:00
Deluan 75cd21da1f Add BaseURL configuration (fixes #103) 2020-04-03 19:05:38 -04:00
Deluan 40638688b2 Remove React warnings by omit properties not used downstream 2020-04-02 19:58:34 -04:00
Deluan ea22b2fc6d Bump react-admin to 3.3.3 2020-04-02 19:47:10 -04:00
Deluan 14f7c5610e Bump @testing-library/jest-dom, @testing-library/user-event and react-dom 2020-04-02 19:31:49 -04:00
Deluan 27579b99a3 Removed album list selection, for now 2020-04-02 19:20:39 -04:00
Deluan c58021e645 Make Personal settings form more consistent with the rest of the App 2020-04-02 18:46:09 -04:00
Deluan 1810cc7ac7 Simplify album lists tabs handling 2020-04-02 18:18:52 -04:00
Deluan 86f73eecca Only add padding to layout if the player is visible 2020-04-02 18:09:02 -04:00
Deluan 670be29d7b Revert "Pause the player with <space>"
This reverts commit 6e6cfdd0
2020-04-02 16:52:46 -04:00
jvoisin 6e6cfdd02b Pause the player with <space> 2020-04-01 17:14:09 -04:00