1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Add ability to filter menu links

This commit is contained in:
Chocobozzz 2021-06-07 13:16:50 +02:00
parent 9cc4b9c61f
commit 8beea2d37d
No known key found for this signature in database
GPG key ID: 583A612D890159BE
7 changed files with 135 additions and 100 deletions

View file

@ -29,6 +29,7 @@
- [Add custom fields to video form](#add-custom-fields-to-video-form)
- [Register settings script](#register-settings-script)
- [HTML placeholder elements](#html-placeholder-elements)
- [Add/remove left menu links](#addremove-left-menu-links)
- [Publishing](#publishing)
- [Write a plugin/theme](#write-a-plugintheme)
- [Clone the quickstart repository](#clone-the-quickstart-repository)
@ -744,6 +745,11 @@ async function register (...) {
See the complete list on https://docs.joinpeertube.org/api-plugins
#### Add/remove left menu links
Left menu links can be filtered (add/remove a section or add/remove links) using the `filter:left-menu.links.create.result` client hook.
### Publishing
PeerTube plugins and themes should be published on [NPM](https://www.npmjs.com/) so that PeerTube indexes