From 7dca45f99db58d9bb3423a3765aaee68c69bc9f2 Mon Sep 17 00:00:00 2001 From: Ms Kimsible <1877318+kimsible@users.noreply.github.com> Date: Thu, 26 Aug 2021 08:22:33 +0200 Subject: Inform user to fill account profile and channels (#4352) * Add account-setup modal when login * Add channels-setup alert into my-channels, my-playlists and upload page Co-authored-by: Ms Kimsible --- .../my-video-channels.component.html | 2 + .../my-video-playlists.component.html | 2 + .../+videos/+video-edit/video-add.component.html | 2 + client/src/app/app.component.html | 5 +- client/src/app/app.component.ts | 2 + client/src/app/app.module.ts | 2 + .../app/modal/account-setup-modal.component.html | 33 ++++++++++ .../app/modal/account-setup-modal.component.scss | 31 ++++++++++ .../src/app/modal/account-setup-modal.component.ts | 70 ++++++++++++++++++++++ .../shared/shared-icons/global-icon.component.ts | 1 + .../misc/channels-setup-message.component.html | 8 +++ .../misc/channels-setup-message.component.scss | 32 ++++++++++ .../misc/channels-setup-message.component.ts | 32 ++++++++++ client/src/app/shared/shared-main/misc/index.ts | 1 + .../app/shared/shared-main/shared-main.module.ts | 10 +++- client/src/assets/images/misc/tip.svg | 1 + 16 files changed, 231 insertions(+), 3 deletions(-) create mode 100644 client/src/app/modal/account-setup-modal.component.html create mode 100644 client/src/app/modal/account-setup-modal.component.scss create mode 100644 client/src/app/modal/account-setup-modal.component.ts create mode 100644 client/src/app/shared/shared-main/misc/channels-setup-message.component.html create mode 100644 client/src/app/shared/shared-main/misc/channels-setup-message.component.scss create mode 100644 client/src/app/shared/shared-main/misc/channels-setup-message.component.ts create mode 100644 client/src/assets/images/misc/tip.svg (limited to 'client/src') diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html index 9f139b4f2..4c5b46d5b 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html @@ -4,6 +4,8 @@ {{ totalItems }} + +
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html index 7f5b8bbf4..25b742bff 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html @@ -3,6 +3,8 @@ My playlists {{ pagination.totalItems }} + +
diff --git a/client/src/app/+videos/+video-edit/video-add.component.html b/client/src/app/+videos/+video-edit/video-add.component.html index b056c6e7a..62b42ae10 100644 --- a/client/src/app/+videos/+video-edit/video-add.component.html +++ b/client/src/app/+videos/+video-edit/video-add.component.html @@ -45,6 +45,8 @@ Upload {{ videoName }}
+ +