Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "total views" in the my channels list #4331

Closed
AnonymousWebHacker opened this issue Aug 18, 2021 · 1 comment
Closed

Add "total views" in the my channels list #4331

AnonymousWebHacker opened this issue Aug 18, 2021 · 1 comment
Labels
Component: Channels Type: Feature Request ✨ UI non-trivial UI changes, that might need discussion

Comments

@AnonymousWebHacker
Copy link

Describe the problem to be solved
In the administration of each channel, [domain.com/my-library/video-channels] we can observe:

  • Total videos
  • Subscribers
    ..of each channel created by the user.

But there is no way to know the number of views of the channel

Describe the solution you would like:
In this same part, we can add the total view of that channel, adding

  • Total videos
  • Subscribers
  • Views

An observation is that they say first the number and then the word.
It would be more aesthetic

  • Total videos : 100
  • Subscribers : 100
  • Views : 100
@Chocobozzz Chocobozzz added Component: Channels Type: Feature Request ✨ UI non-trivial UI changes, that might need discussion labels Aug 18, 2021
@Chocobozzz Chocobozzz changed the title Add [views] in the channel administration Add "total views" in the my channels list Aug 18, 2021
Poslovitch added a commit to Poslovitch/PeerTube that referenced this issue Oct 23, 2021
Fixes Chocobozzz#4331

Also made the followersCount consistent with other counters (if =0, "No followers")
Poslovitch added a commit to Poslovitch/PeerTube that referenced this issue May 27, 2022
Chocobozzz pushed a commit that referenced this issue May 31, 2022
* Added "total views" in the my channels list

Implements #4331

* Fix lint

* applied suggested change

* updated openAPI spec for the use "withStats" when getting video channels

* applied code change

* removed GROUP BY in query

* Fixed test
@Chocobozzz
Copy link
Owner

Implemented in #5007

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Channels Type: Feature Request ✨ UI non-trivial UI changes, that might need discussion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants