From c06af5012ecc925ca924e6e20db3a1d909b1148e Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Thu, 26 Dec 2019 11:52:46 +0100 Subject: [PATCH] Add playlist search option and search input for add-to-video-playlist dropdown fixes #2138 --- .../menu/avatar-notification.component.scss | 1 + .../video-add-to-playlist.component.html | 4 +++ .../video-add-to-playlist.component.scss | 10 +++++- .../video-add-to-playlist.component.ts | 20 ++++++++++-- .../video-playlist/video-playlist.service.ts | 10 ++++-- server/controllers/api/accounts.ts | 7 ++++- .../validators/videos/video-playlists.ts | 13 ++++++++ server/models/video/video-playlist.ts | 31 ++++++++++++++++--- 8 files changed, 85 insertions(+), 11 deletions(-) diff --git a/client/src/app/menu/avatar-notification.component.scss b/client/src/app/menu/avatar-notification.component.scss index 2ca7f24dc..ebb2a5424 100644 --- a/client/src/app/menu/avatar-notification.component.scss +++ b/client/src/app/menu/avatar-notification.component.scss @@ -34,6 +34,7 @@ & > my-user-notifications:nth-child(2) { overflow-y: auto; + flex-grow: 1; } } diff --git a/client/src/app/shared/video-playlist/video-add-to-playlist.component.html b/client/src/app/shared/video-playlist/video-add-to-playlist.component.html index 0cc8af345..ba30953b9 100644 --- a/client/src/app/shared/video-playlist/video-add-to-playlist.component.html +++ b/client/src/app/shared/video-playlist/video-add-to-playlist.component.html @@ -41,6 +41,10 @@ +
+ +
+