Commit graph

116 commits

Author SHA1 Message Date
Kendall Garner
56c229a5e0
[slightly less scuffed bugfix]: Update table rating/favorite when updated anywhere … (#707)
* [scuffed bugfix]: Update table rating/favorite when updated anywhere else

Modify player store to have temporary state for favorite/rating update
Add effect handler for `virtual-table` to update rating/favorite for players

Note that this does not handle song grid view.
Using a similar handler for gird view did not work, as it appeared to result in inconsistent state.

Finally, this is probably not the optimal solution.
Performance appears fine for ~20k items, but no guarantees.

* restore should update song

* update song rating/favorite/played everywhere except playlist

* special rule for playlists

* use iterator instead
2024-09-02 22:31:20 -07:00
Kendall Garner
8a8542ddb1
simplify disc/subtitle for album list 2024-08-25 21:34:43 -07:00
Kendall Garner
271be93a96
fix prettier/lint 2024-08-23 08:19:27 -07:00
Kendall Garner
aa89c5e80e
[enhancement]: apply formatting to card values 2024-05-26 12:20:01 -07:00
Kendall Garner
38ed083693
[enhancement]: support using native image aspect ratio 2024-05-25 11:15:30 -07:00
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
Kendall Garner
ec69cc22f9
use clearer separator character 2024-04-14 21:58:25 -07:00
Kendall Garner
15c6ef382a
[bugfix]: fix combined title for artist, favoriting on grid pages 2024-04-08 23:15:59 -07:00
Kendall Garner
14086ebc9c
improve similar items fallback, make ND album artist for song actually album artist, fix full screen race 2024-04-08 08:49:55 -07:00
Kendall Garner
c1345802aa
bump size cell size 2024-04-03 21:28:27 -07:00
Kendall Garner
2854a91700
[bugfix]: actually implement size column 2024-04-01 20:53:00 -07:00
Jeff
cc6cad1d70
Merge branch 'development' into navidrome-version 2024-03-04 01:49:13 -08:00
Kendall Garner
860dd8b499
[enhancement]: add codec column for tracks 2024-02-19 20:34:36 -08:00
Kendall Garner
dae2f9bd0a
[feat]: actually include version checks 2024-02-17 00:57:10 -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
Kendall Garner
4ec981df83
[bugfix/feature]: Improve ratings (#332)
* [bugfix/feature]: Improve ratings

Fix: add preventDefault/stopPropagation to prevent scrolling to top in queue
Feat: instead of double click for clear, click on same value
2023-10-28 20:00:01 -07:00
jeffvli
86fb52f6d4 Fix current song row when queue is empty 2023-10-22 15:57:15 -07:00
jeffvli
768a88de8f Fix row refresh on status change for current song 2023-10-19 03:37:17 -07:00
jeffvli
8e2a107d4a Fix className clash on current song 2023-10-19 03:36:16 -07:00
jeffvli
818f155993 Hide playing icon if player is paused 2023-10-18 19:55:57 -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
d3503af12c Add song count column to albums list 2023-09-23 04:05:15 -07:00
jeffvli
25e621372c Parse URLs from note field (#154) 2023-09-22 04:25:16 -07:00
jeffvli
1a87adb728 Fix transient props for styled-components v6 2023-09-22 02:34:57 -07:00
jeffvli
ec457d5125 Lint files based on updated rules 2023-09-15 20:42:38 -07:00
jeffvli
153d8ce6ce Fix nd/jf duration normalizations 2023-09-15 16:52:14 -07:00
jeffvli
3f813b1a26 Make album detail columns customizable 2023-08-08 09:26:53 -07:00
jeffvli
6ae8046781 Fix search params being overriden on table view 2023-08-08 00:33:47 -07:00
jeffvli
fca135ce2b Add additional lyrics customizability options (#146) 2023-08-04 19:32:41 -07:00
jeffvli
c8663db4ba Clean up 2023-08-04 13:08:40 -07:00
jeffvli
d0aba6e16e Support genres in context menu 2023-08-04 02:27:04 -07:00
jeffvli
0b207c78e7 Add genre link to table cells 2023-08-04 01:53:23 -07:00
jeffvli
8029712b55 Add initial genre list support 2023-07-31 17:17:26 -07:00
jeffvli
9f55238b74 Add simpleimg to title cell 2023-07-31 17:17:25 -07:00
jeffvli
0a13d047bb Begin support for container queries with css modules 2023-07-23 05:18:08 -07:00
jeffvli
f9338aafcd Fix original search params from being replaced 2023-07-22 05:26:15 -07:00
jeffvli
3aec139f58 Use search params for artist-specific lists 2023-07-22 05:05:33 -07:00
jeffvli
9d18384b2d Add stickyHeader prop to table component 2023-07-21 17:53:54 -07:00
jeffvli
92d7560362 Fix custom header text positioning to match originals 2023-07-21 17:30:37 -07:00
jeffvli
2d62b9d72d Set full height on disc number cell 2023-07-21 00:18:53 -07:00
jeffvli
f5cbcace64 Remove autofit on gridReady
- Potentially causes horizontal scrollbar to flash on render
2023-07-21 00:18:53 -07:00
jeffvli
8b4a2d1ac0 Simplify list store and table implementation 2023-07-20 00:41:04 -07:00
jeffvli
ece7fecc76 Highlight currently playing song on all song tables (#178) 2023-07-18 18:39:39 -07:00
jeffvli
919016ca5a Add table context 2023-07-18 18:34:51 -07:00
jeffvli
179129b7cb Add actions table column 2023-07-18 17:37:32 -07:00
jeffvli
47ecbf0601 Fix column width declarations 2023-07-16 11:06:09 -07:00
jeffvli
481258484c Add reusable virtual table hook 2023-07-15 20:27:35 -07:00