feishin/src/renderer/store
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
..
album-artist-list-data.store.ts Lint all files 2023-07-01 19:14:12 -07:00
album-artist.store.ts [bugfix]: use persistent columns def instead of default merge behavior 2024-04-23 23:25:32 -07:00
album-list-data.store.ts Lint all files 2023-07-01 19:14:12 -07:00
app.store.ts Lint all files 2023-07-01 19:14:12 -07:00
auth.store.ts [feat]: actually include version checks 2024-02-17 00:57:10 -08:00
event.store.ts [slightly less scuffed bugfix]: Update table rating/favorite when updated anywhere … (#707) 2024-09-02 22:31:20 -07:00
full-screen-player.store.ts [feat] Add a dynamic image option to the fullscreen player (#526) 2024-03-05 00:30:37 -08:00
index.ts Add setting to disable auto update 2023-03-31 06:15:04 -07:00
list.store.ts [bugfix]: use persistent columns def instead of default merge behavior 2024-04-23 23:25:32 -07:00
player.store.ts provide transcoding support 2024-09-01 08:26:30 -07:00
playlist.store.ts [bugfix]: use persistent columns def instead of default merge behavior 2024-04-23 23:25:32 -07:00
settings.store.ts reorder album artist page 2024-09-01 16:48:43 -07:00
utils.ts [bugfix]: use persistent columns def instead of default merge behavior 2024-04-23 23:25:32 -07:00