Fix: Opening a playlist from a user playlist reloads the view twice - #9525
Fix: Opening a playlist from a user playlist reloads the view twice#9525Shadorc wants to merge 4 commits into
Conversation
Head branch was pushed to by a user without write access
|
Saw from #9517
But is it online playlist or user playlist for 1 & 2? I want to reproduce it first |
User playlists are playlists specific to FreeTube, available in the I have updated this MR title and the issue title + repro steps to be clearer It does not happen with two YouTube playlists because the issue comes from a change in the |
Head branch was pushed to by a user without write access
Head branch was pushed to by a user without write access
Pull Request Type
Related issue
closes #9517
closes #9513 (side effect)
Description
Early exit from watchers that are triggering redundant calls to
getPlaylistInfo(debounced or not).For the fix to work, the state of the playlist needs to be reset, otherwise everyting break on route change. This has the added benefit of fixing issue #9513 too.
Testing
Valid playlist
Invalid playlist
The playlist currently has no videos.Desktop