openzim / youtube

Create a ZIM file from a Youtube channel/username/playlist
GNU General Public License v3.0
43 stars 26 forks source link

Hide playlists tab in `zimui` if there is only 1 playlist #266

Closed dan-niles closed 1 month ago

dan-niles commented 1 month ago

As per the suggestion in https://github.com/openzim/youtube/issues/261#issuecomment-2223121230, the Playlist tab in the Vue.js UI can be hidden if there is only 1 playlist in the ZIM. Changes in this PR:

Screenshot (ZIM with only 1 playlist):

image
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 1.58%. Comparing base (aaa6b0a) to head (6e0516a).

Files Patch % Lines
scraper/src/youtube2zim/schemas.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #266 +/- ## ======================================== - Coverage 1.58% 1.58% -0.01% ======================================== Files 11 11 Lines 1074 1075 +1 Branches 160 160 ======================================== Hits 17 17 - Misses 1057 1058 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.