From 2a0c0629150d4e078ebab7076b1edca54b64bd4c Mon Sep 17 00:00:00 2001 From: Preston Date: Tue, 15 Sep 2020 22:07:54 -0400 Subject: [PATCH] Add subscription manager within profile settings. Add Upcoming video information. Other changes --- appveyor.yml | 20 -- .../ft-channel-bubble/ft-channel-bubble.css | 15 ++ .../ft-channel-bubble/ft-channel-bubble.js | 20 +- .../ft-channel-bubble/ft-channel-bubble.vue | 11 +- src/renderer/components/ft-input/ft-input.css | 6 +- .../ft-profile-all-channels-list.css | 5 + .../ft-profile-all-channels-list.js | 155 +++++++++++++ .../ft-profile-all-channels-list.vue | 42 ++++ .../ft-profile-channel-list.css | 5 + .../ft-profile-channel-list.js | 204 ++++++++++++++++++ .../ft-profile-channel-list.vue | 49 +++++ .../ft-profile-edit/ft-profile-edit.css | 45 ++++ .../ft-profile-edit/ft-profile-edit.js | 163 ++++++++++++++ .../ft-profile-edit/ft-profile-edit.vue | 99 +++++++++ .../watch-video-info/watch-video-info.js | 4 + .../watch-video-info/watch-video-info.vue | 1 + src/renderer/views/Channel/Channel.js | 5 + src/renderer/views/Channel/Channel.vue | 1 + .../views/ProfileEdit/ProfileEdit.css | 45 ---- src/renderer/views/ProfileEdit/ProfileEdit.js | 164 ++++---------- .../views/ProfileEdit/ProfileEdit.vue | 105 ++------- src/renderer/views/Watch/Watch.js | 62 ++++-- src/renderer/views/Watch/Watch.sass | 24 +++ src/renderer/views/Watch/Watch.vue | 27 ++- static/locales/en-US.yaml | 12 ++ 25 files changed, 977 insertions(+), 312 deletions(-) delete mode 100644 appveyor.yml create mode 100644 src/renderer/components/ft-profile-all-channels-list/ft-profile-all-channels-list.css create mode 100644 src/renderer/components/ft-profile-all-channels-list/ft-profile-all-channels-list.js create mode 100644 src/renderer/components/ft-profile-all-channels-list/ft-profile-all-channels-list.vue create mode 100644 src/renderer/components/ft-profile-channel-list/ft-profile-channel-list.css create mode 100644 src/renderer/components/ft-profile-channel-list/ft-profile-channel-list.js create mode 100644 src/renderer/components/ft-profile-channel-list/ft-profile-channel-list.vue create mode 100644 src/renderer/components/ft-profile-edit/ft-profile-edit.css create mode 100644 src/renderer/components/ft-profile-edit/ft-profile-edit.js create mode 100644 src/renderer/components/ft-profile-edit/ft-profile-edit.vue diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 082590ac..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,20 +0,0 @@ -image: Visual Studio 2017 - -platform: - - x64 - -cache: - - node_modules - - '%USERPROFILE%\.electron' - -init: - - git config --global core.autocrlf input - -install: - - ps: Install-Product node 12 x64 - - npm install - -build_script: - - npm run build - -test: off diff --git a/src/renderer/components/ft-channel-bubble/ft-channel-bubble.css b/src/renderer/components/ft-channel-bubble/ft-channel-bubble.css index 13f1c1a1..fc4e51d7 100644 --- a/src/renderer/components/ft-channel-bubble/ft-channel-bubble.css +++ b/src/renderer/components/ft-channel-bubble/ft-channel-bubble.css @@ -1,4 +1,5 @@ .bubblePadding { + position: relative; width: 100px; height: 115px; padding: 10px; @@ -25,6 +26,20 @@ -webkit-border-radius: 200px 200px 200px 200px; } +.selected { + position: absolute; + top: 10px; + background-color: rgba(0, 0, 0, 0.5); +} + +.icon { + color: #EEEEEE; + font-size: 25px; + position: absolute; + top: 12px; + left: 12px; +} + .channelName { font-size: 13px; height: 60px; diff --git a/src/renderer/components/ft-channel-bubble/ft-channel-bubble.js b/src/renderer/components/ft-channel-bubble/ft-channel-bubble.js index c5d16625..d9752676 100644 --- a/src/renderer/components/ft-channel-bubble/ft-channel-bubble.js +++ b/src/renderer/components/ft-channel-bubble/ft-channel-bubble.js @@ -7,18 +7,26 @@ export default Vue.extend({ type: String, required: true }, - channelId: { - type: String, - required: true - }, channelThumbnail: { type: String, required: true + }, + showSelected: { + type: Boolean, + default: false + } + }, + data: function () { + return { + selected: false } }, methods: { - goToChannel: function () { - console.log('Go to channel') + handleClick: function () { + if (this.showSelected) { + this.selected = !this.selected + } + this.$emit('click') } } }) diff --git a/src/renderer/components/ft-channel-bubble/ft-channel-bubble.vue b/src/renderer/components/ft-channel-bubble/ft-channel-bubble.vue index d845037f..ed60bc77 100644 --- a/src/renderer/components/ft-channel-bubble/ft-channel-bubble.vue +++ b/src/renderer/components/ft-channel-bubble/ft-channel-bubble.vue @@ -1,12 +1,21 @@