feishin/src/renderer/components/virtual-table
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
..
cells simplify disc/subtitle for album list 2024-08-25 21:34:43 -07:00
headers fix prettier/lint 2024-08-23 08:19:27 -07:00
hooks [slightly less scuffed bugfix]: Update table rating/favorite when updated anywhere … (#707) 2024-09-02 22:31:20 -07:00
index.tsx [slightly less scuffed bugfix]: Update table rating/favorite when updated anywhere … (#707) 2024-09-02 22:31:20 -07:00
table-config-dropdown.tsx [enhancement]: add codec column for tracks 2024-02-19 20:34:36 -08:00
table-pagination.tsx Add localization support (#333) 2023-10-30 19:22:45 -07:00
utils.ts simplify disc/subtitle for album list 2024-08-25 21:34:43 -07:00