Commit graph

8 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
8900d8126c
[bugfix]: queue all songs on search, consistent sort, clearing
- Previously, the search page would render initial page in one order, but search itself would be different order
This is resolved by having both virtual-table and search-header using listStoreKey
- When double clicking, now enqueue all the songs using the same sort
- Reset the search when clearing
2024-03-31 13:20:01 -07:00
jeffvli
287f1dc0e1 Update search list implementation 2023-07-20 00:41:18 -07:00
jeffvli
30e52ebb54 Lint all files 2023-07-01 19:14:12 -07:00
jeffvli
611cbc6dd9 Fix search results being capped to window height 2023-05-21 20:51:52 -07:00
jeffvli
02caf896ff Update playqueueadd props 2023-05-20 14:55:08 -07:00
jeffvli
e5f24b3160 Set context menu based on item type 2023-05-20 02:08:37 -07:00
jeffvli
fff1315fa5 Add search route 2023-05-20 02:08:37 -07:00