FreeTubeApp / FreeTubeApp/FreeTube

[Feature Request]: Lazy load channel tabs

Open
#3,235 0 comments 0 reactions 0 assignees View on GitHub
E: visual improvement
Dominant language
Vue
Stars
21.9k
Forks
1.5k
Avg merge
1d 15h
Merged PRs (30d)
62

Description

### Guidelines

- [X] I have searched the issue tracker for [open](https://github.com/FreeTubeApp/FreeTube/issues?q=is%3Aopen+is%3Aissue) and [closed](https://github.com/FreeTubeApp/FreeTube/issues?q=is%3Aissue+is%3Aclosed) issues that are similar to the feature request I want to file, without success.
- [X] I have searched the [documentation](https://docs.freetubeapp.io/) for information that matches the description of the feature request I want to file, without success.
- [X] This issue contains only one feature request.

### Problem Description

> Sometimes when u go to a channel it briefly shows the message that the channel doesn't have videos uploaded to it and after that load the videos.

15. https://github.com/FreeTubeApp/FreeTube/pull/3143#pullrequestreview-1314602600

### Proposed Solution

> The content for the videos and playlists tabs is fetched at the same time, both of them hide the loading icon for the tabs and their content, so what is probably happening is that the playlists one finishes slightly before the videos one does, so when it hides the loading icon the content for the videos tab hasn't finished loading yet
the fix is to implement lazy loading for the tabs, so it only loads the content when you select it for the first time but that is out of scope for this pull request

15. https://github.com/FreeTubeApp/FreeTube/pull/3143#issuecomment-1445473733

### Alternatives Considered

None.

### Issue Labels

visual improvement

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.