Open mykhailodanilenko opened 2 weeks ago
@mkl-adsn can you share your insight on how this kind of element should look? meaning an empty state for a channel/category/playlist or a whole page like history or playlists or channels (currently we are just showing plain text info like "View history is empty")
If possible, I believe empty categories and playlist sections should be hidden altogether as they otherwise just clutter the site. For the other cases I think a plain text message similar to the error messages will suffice as empty channels and view histories in most cases should be a temporary problem.
Figma: https://www.figma.com/design/f15L42P8qyLqNkzm0Eeo8G/Owntube?node-id=908-11802&t=KYlUj6pngVhB0APk-1
Empty version of collection pages:
Channels page History page Playlists page Categories page
Added empty states Channels: https://www.figma.com/design/f15L42P8qyLqNkzm0Eeo8G/Owntube?node-id=925-18580&t=Y7ZXHPhd2Uo6hYzQ-1 Categories: https://www.figma.com/design/f15L42P8qyLqNkzm0Eeo8G/Owntube?node-id=925-18926&t=Y7ZXHPhd2Uo6hYzQ-1 History: https://www.figma.com/design/f15L42P8qyLqNkzm0Eeo8G/Owntube?node-id=925-17898&t=Y7ZXHPhd2Uo6hYzQ-1
Blocks of videos and pages need to have an "empty" state to indicate that there is no error but the data list is empty (length === 0)