Cleanup unused channel hiding code in ft-list-video-numbered #5208
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cleanup unused channel hiding code in ft-list-video-numbered
Pull Request Type
Description
From what I could tell, we had a prop that allowed you to turn on channel hidding in the
ft-list-video-numbered
component, but it defaulted tofalse
and in neither of the two places that we used the component, did we set that prop totrue
. So if it's not used, it doesn't seem worth keeping around. Initially I thought this would help with the performance problems experienced in #4578, but in my testing it didn't seem to make a difference, so I'm categorizing this pull request as a cleanup instead of a performance improvement.FreeTube/src/renderer/components/watch-video-playlist/watch-video-playlist.vue
Lines 126 to 144 in b0b2af1
FreeTube/src/renderer/views/Playlist/Playlist.vue
Lines 91 to 111 in b0b2af1
Testing
Not sure what to put here for this pull request, maybe make sure that channels still aren't hidden inside playlists?
Desktop