Commit Graph

333 Commits

Author SHA1 Message Date
jeffvli
e1773adb3a Update list-view for playlist, artist, album
- Set proper single/double-click actions
- Add context menu actions
2021-09-29 03:38:12 -07:00
jeffvli
76c7a75eea Add starred artists, config columns 2021-09-28 20:35:21 -07:00
jeffvli
4e6305411c Add move to index for playlist view 2021-09-26 16:02:13 -07:00
jeffvli
bf88a163b9 Update debug window with new entries 2021-09-26 08:44:38 -07:00
jeffvli
c09e7cbef8 Add clear cache button 2021-09-26 08:28:15 -07:00
jeffvli
8c417d92b9 Add 'remove' context functionality to playlist 2021-09-26 07:22:13 -07:00
jeffvli
e669112b8a Remove header dividers 2021-09-26 07:11:35 -07:00
jeffvli
1448a65d52 Add uniqueId to artist albums 2021-09-25 11:36:20 -07:00
jeffvli
e8ad1f9803 Remove window refetch on playlist 2021-09-25 10:30:37 -07:00
jeffvli
c43ba347c4 Starred/NowPlaying view cleanup
- Add functionality to miniview buttons
2021-09-25 08:34:31 -07:00
jeffvli
594463d2d8 Add move-selected to context menu
- Move local playlist data to redux store
- Refactor selected move logic to be reusable
2021-09-25 01:23:39 -07:00
jeffvli
69f9d7a5ac Fix button stylings 2021-09-25 01:23:39 -07:00
jeffvli
6ca73fadb2 Clean up queue selector logic 2021-09-25 01:23:38 -07:00
jeffvli
de02d16924 Fix getPlaylists missing uniqueId 2021-09-25 01:23:38 -07:00
jeffvli
ec8a00d604 Fix titlebar selection for sorted playqueue 2021-09-25 01:23:38 -07:00
jeffvli
bdb9278e8d Update default album list view
- Add random view type
- Default from newest -> random
- Change default refetching behavior to 1hr cache, no stale
- Add manual refresh button
2021-09-25 01:23:38 -07:00
jeffvli
669f6abd71 Change list cursor from pointer -> default 2021-09-25 01:23:37 -07:00
jeffvli
401162882e Update sidebar styling
- Remove dropdown
- Add y-overflow scrolling with hidden scrollbar
- Reorder playlists/favorites
2021-09-24 00:30:26 -07:00
jeffvli
5248d19dd4 Update query refetch settings for all list-views
- Prevent refetching during selections to not break uniqueId
2021-09-23 18:26:31 -07:00
jeffvli
2243d40a66 Update default prettier config
- Change printWidth from 80 -> 100
2021-09-23 13:13:47 -07:00
jeffvli
1c9703d9e4 Add debounce function for drag multiselect
To handle larger lists, a short debounce will increase performance
2021-09-23 06:16:40 -07:00
jeffvli
a4c9feeb7c Improve multiselect dragging
- Use range selection instead of appending individual entries
2021-09-23 06:16:35 -07:00
jeffvli
a948f0deb2 Remove ordered favorite, add batch star/unstar
We don't need add a delay to favorite, since we can just add multiple id
params in order inside the request
2021-09-22 18:44:33 -07:00
jeffvli
2457300de2 Optimize gapless playback
- Remove unused seekable attribute
- Remove seek/duration rounding calculation
2021-09-22 10:26:48 -07:00
jeffvli
b977371356 Add context menu to all list types
- Add prop to disable specific context menu options
2021-09-22 10:18:26 -07:00
jeffvli
bda903b276 Add create playlist on context menu
- Fix styling for inputpicker on popover
2021-09-21 17:49:09 -07:00
jeffvli
3dcf1b2aeb Fix iconbutton styling for keyboard navigation 2021-09-21 17:01:37 -07:00
jeffvli
3e66c6a8c2 Resolve page vertical scrollbar unselectable
Added conditional check for dynamicBackground on styling
2021-09-21 16:34:20 -07:00
jeffvli
e7f7c0d1c5 Increase minWidth 640 -> 768 due to broken styling 2021-09-21 07:45:10 -07:00
jeffvli
e1998970e8 Fix null album/artist navigation
Adds a check before trying to navigate to album/artist page
2021-09-21 07:45:10 -07:00
jeffvli
9cfd152851 Fix undefined check on playlist length 2021-09-21 07:45:09 -07:00
jeffvli
5abfe56775 Fix queue when double clicking a modified playlist 2021-09-21 07:45:09 -07:00
jeffvli
1b77b488ca Fix styling, toolbar buttons on playlist view
- No description would cause styling issues
- Disable play/append buttons when no songs available
- Remove unused import
2021-09-21 07:44:55 -07:00
jeffvli
f9b8198eb1 Add confirm message when deleting playlist 2021-09-21 06:37:47 -07:00
jeffvli
f0ff4d59da Add functionality to playlist edit button 2021-09-21 05:46:21 -07:00
jeffvli
cfbebff879 Re-add select dragging on list-view 2021-09-21 05:12:35 -07:00
jeffvli
f53d985dab Add "create playlist" button and functionality 2021-09-21 04:40:56 -07:00
jeffvli
4b53ae8fef Add custom handler for *sonic error message 2021-09-21 01:11:25 -07:00
jeffvli
b8bdc30397 Optimize large playlist save, add error fallback 2021-09-21 00:39:53 -07:00
jeffvli
3122a1595d Fix dynamicBackground height calculation
- No longer extends vertically into the PlayerBar
2021-09-20 17:57:52 -07:00
jeffvli
ef07d7b259 Update player play/pause styling 2021-09-20 16:00:58 -07:00
jeffvli
18fb512e7b Set mocked settings to separate file 2021-09-20 16:00:58 -07:00
jeffvli
15cf9de9c2 Fix player break in fade when nav to NowPlaying
- Add better handling to pause/play when the current index changes
- Add better audio handling when switching songs
2021-09-20 15:59:59 -07:00
jeffvli
fd2fc9e9db Add arbitrary check when increment/decrement
This check will automatically reset the player1 ref's currentTime value
back to 0 so that the bar doesn't temporarily lag at it's previous value
2021-09-19 23:32:37 -07:00
jeffvli
c032460651 Fix failing tests with electron-settings in redux
Tests were failing due to being unable to find the settings file while
running tests.
2021-09-19 01:40:04 -07:00
jeffvli
b8c8cbbc0b change login check from getUsers -> getScanStatus 2021-09-18 20:53:27 -07:00
jeffvli
2e78f5f136 Add actions to add and remove context menu buttons 2021-09-18 17:10:27 -07:00
jeffvli
40cf38a714 Fix column to use lowercase data
NowPlayingView, ListView, and PlaylistView now properly sort by
lowercase, or if a non-string, by that datatype instead
2021-09-18 12:32:02 -07:00
jeffvli
174d8ce029 decrease list click delay from 300 -> 100
Since we removed the floating selection bar, it makes sense to no longer have a long delay on click. Decreasing the single-click interval increases the responsiveness of the list, while still allowing double clicks to function as normal.
2021-09-18 11:13:47 -07:00
jeffvli
b0c101604f add experimental dynamic background 2021-09-18 11:13:21 -07:00