Commit graph

51 commits

Author SHA1 Message Date
Kendall Garner
ba531505af
[enhancement]: Support toggling Album/Track view for gneres (#591)
* [enhancement]: Support toggling Album/Track view for gneres

The _primary_ purpose of this PR is to enable viewing tracks OR albums for genres.
This has a few requirements:
1. Ability to set default route for genres, **except** when already on song/album page
2. Ability to toggle between album and genre view
3. Fixed refresh for genre ID

Additionally, there was some refactoring:
- Since the *-list-headers had very similar functions for search, export that as a hook instead

* also use hook for album artist

* support switching albumartist tracks/albums

* remove toggle on song/album list, simplify logic
2024-04-20 06:14:31 +00:00
jeffvli
3daa1aef4b Normalize section spacing on album/artist detail pages 2024-02-01 04:06:56 -08:00
Kendall Garner
ea67a18962
include lastfm/mbz links 2024-01-15 22:10:50 -08:00
Kendall Garner
5516daab6e
enable comments, safer note 2024-01-15 20:46:06 -08:00
Jeff
8430b1ec95
Add localization support (#333)
* Add updated i18n config and en locale
2023-10-30 19:22:45 -07:00
jeffvli
b28fe4cbc9 Convert play icon from base64 to svg 2023-10-18 19:51:55 -07:00
Kendall Garner
8a53fab751
add more emphasis to current song (#283)
* add more emphasis to current song

* add css indicator (rivolumelineup)

* don't use absolute position, support album track number

* Respect order of set-queue function (fix race condition)

* Fix table row actions button on album detail and play queue

* Fix album detail table customizations

* Bump to v0.4.1

* Fix opacity mask for unsynced lyrics container

* Separate sidebar icons to new component

- Fixes react render issue

* Add app focus hook

* Remove css play image

* Add player status as cell refresh condition for queue

* Add current song images

* Add current song styles for all song tables

* Revert row index cell width

* Remove animated svg on browser

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
Co-authored-by: Jeff <42182408+jeffvli@users.noreply.github.com>
2023-10-18 18:32:11 -07:00
jeffvli
277669c413 Fix album detail table customizations 2023-10-07 18:11:02 -07:00
jeffvli
49b6478b72 Fix table row actions button on album detail and play queue 2023-10-07 17:32:59 -07:00
jeffvli
45b80ac395 Add discsubtitle for navidrome (#217) 2023-09-22 15:12:23 -07:00
jeffvli
1a87adb728 Fix transient props for styled-components v6 2023-09-22 02:34:57 -07:00
jeffvli
3f813b1a26 Make album detail columns customizable 2023-08-08 09:26:53 -07:00
jeffvli
8338aaf18d Add related genre albums to album detail 2023-08-08 09:26:48 -07:00
jeffvli
adfa748bfb Adjust genre links on detail pages 2023-08-03 19:04:12 -07:00
jeffvli
ed070850a4 Remove current album from "more from this artist" 2023-07-24 14:51:37 -07:00
jeffvli
bbee3fc655 Update scrollArea for relevant pages 2023-07-21 18:04:05 -07:00
jeffvli
a8dfc7bcd6 Use memoized carousel component for pages 2023-07-21 18:03:19 -07:00
jeffvli
c3d8791455 Refactor scrollarea component for overlayscrollbars 2023-07-21 05:20:40 -07:00
jeffvli
31eb22f968 Improve header color styles on detail pages 2023-07-21 00:18:44 -07:00
jeffvli
ece7fecc76 Highlight currently playing song on all song tables (#178) 2023-07-18 18:39:39 -07:00
jeffvli
f09227d963 Update album table view 2023-07-16 11:15:47 -07:00
Kyan
f74e02eb09
Add fix to hide the "More from this artist" carousel when it contains no albums (#173)
* Add fix to hide carousel with other albums
2023-07-15 11:13:56 -07:00
jeffvli
30e52ebb54 Lint all files 2023-07-01 19:14:12 -07:00
jeffvli
51c2731b07 Handle queue all songs by double click (#67) 2023-05-20 21:31:00 -07:00
jeffvli
35f9798bed Update full-width cell renderer 2023-05-20 19:21:23 -07:00
jeffvli
02caf896ff Update playqueueadd props 2023-05-20 14:55:08 -07:00
jeffvli
48ef7a987f Add new swiper carousels to pages 2023-05-17 17:12:23 -07:00
jeffvli
cef92243f5 Fix favorite mutation 2023-05-13 22:54:24 -07:00
jeffvli
314bd766df Refactor all api instances in components 2023-04-30 22:01:52 -07:00
jeffvli
1eed26abab Set genres to use outline button 2023-03-09 18:14:40 -08:00
Jeff
9f2e873366
Redesign sidebar / header and other misc. improvements (#24)
* Remove 1920px max width

* Fix position of list controls menu

* Match size and color of search input

* Adjust library header sizing

* Move app menu to sidebar

* Increase row buffer on play queue list

* Fix query builder styles

* Fix playerbar slider track bg

* Adjust titlebar styles

* Fix invalid modal prop

* Various adjustments to detail pages

* Fix sidebar height calculation

* Fix list null indicators, add filter indicator

* Adjust playqueue styles

* Fix jellyfin releaseYear normalization

* Suppress browser context menu on ag-grid

* Add radius to drawer queue -- normalize layout

* Add modal styles to provider theme

* Fix playlist song list pagination

* Add disc number to albums with more than one disc

* Fix query builder boolean values

* Adjust input placeholder color

* Properly handle rating/favorite from context menu on table

* Conform dropdown menu styles to context menu

* Increase sort type select width

* Fix drawer queue radius

* Change primary color

* Prevent volume wheel from invalid values

* Add icons to query builder dropdowns

* Update notification styles

* Update scrollbar thumb styles

* Remove "add to playlist" on smart playlists

* Fix "add to playlist" from context menu
2023-02-07 22:47:23 -08:00
Jeff
22fec8f9d3
Add ratings support (#21)
* Update rating types for multiserver support

* Add rating mutation

* Add rating support to table views

* Add rating support on playerbar

* Add hovercard component

* Handle rating from context menu

- Improve context menu components
- Allow left / right icons
- Allow nested menus

* Add selected item count

* Fix context menu auto direction

* Add transition and move portal for context menu

* Re-use context menu for all item dropdowns

* Add ratings to detail pages / double click to clear

* Bump react-query package
2023-02-05 05:19:01 -08:00
jeffvli
5ddd0872ef Adjust various styles 2023-01-30 01:36:36 -08:00
Jeff
59f4f43e84
Add ability to add/remove songs from playlist (#17)
* Add api for add/remove playlist items

* Add playlistItemId property to normalized Song

- This is used for Navidrome to delete songs from playlists

* Add mutations for add/remove from playlist

* Add context modal for playlist add

* Add remove from playlist from context menu

* Set jellyfin to use playlistItemId

* Adjust font sizing

* Add playlist add from detail pages

* Bump mantine to v6-alpha.2
2023-01-29 18:40:26 -08:00
Jeff
44a4b88809
Migrate to mantine v6 (#15)
* Add letter spacing to cell text

* Set window control height in px

* Add temp unused routes

* Migrate text title font weights

* Bump mantine to v6 alpha

* Migrate modals / notifications

* Increase header bar to 65px

* Adjust play button props

* Migrate various components

* Migrate various pages and root styles

* Adjust default badge padding

* Fix sidebar spacing

* Fix list header badges

* Adjust default theme
2023-01-28 20:46:07 -08:00
jeffvli
67523f1e7b Adjust spacing between sections 2023-01-15 16:16:13 -08:00
jeffvli
6bdf0736ec Add genres to album detail page 2023-01-13 14:07:57 -08:00
jeffvli
45aef104fe Update album artist base route 2023-01-12 12:45:44 -08:00
jeffvli
0e2678575a Add favorite functionality to album detail 2023-01-08 01:45:56 -08:00
jeffvli
02ed9b7a5c Move ag-grid header margin to specific components 2023-01-07 23:37:33 -08:00
jeffvli
7d8cb0bb45 Refactor context menu handler into hook 2023-01-07 18:16:19 -08:00
jeffvli
5889b8976c Force header bg color in detail lists 2023-01-06 23:34:31 -08:00
jeffvli
b569ec31ae Move common table functions into base component 2023-01-06 17:59:02 -08:00
jeffvli
4d0620c5df Update misc on detail pages 2023-01-06 13:50:40 -08:00
jeffvli
4c275ea878 Add sticky table header to detail pages 2023-01-06 11:46:17 -08:00
jeffvli
d1dfbaedaa Move LibraryItem type 2023-01-05 21:59:07 -08:00
jeffvli
3070586104 Improve default table column/header defaults 2023-01-05 20:33:12 -08:00
jeffvli
4326f6cf91 Various cleanup 2023-01-02 02:05:30 -08:00
jeffvli
aa1cd742ad Move play queue handler to context 2022-12-31 19:26:58 -08:00
jeffvli
73fd57cf33 Remove unused 2022-12-29 19:25:37 -08:00