From 10f1e440acfbe96a1922ccac713440fa4da5a90e Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Thu, 30 Aug 2018 13:16:34 +0930 Subject: [PATCH 01/21] vueify start of showheader Signed-off-by: Alexis Tyler --- themes-default/slim/package.json | 2 + .../slim/src/components/display-show.vue | 119 ++-- .../slim/src/components/snatch-selection.vue | 3 + .../slim/views/partials/showheader.mako | 140 ++--- themes-default/slim/yarn.lock | 29 + themes/dark/assets/js/app.js | 6 +- themes/dark/assets/js/index.js | 6 +- themes/dark/assets/js/vendors.js | 543 ++++++++++-------- .../dark/templates/partials/showheader.mako | 140 ++--- themes/light/assets/js/app.js | 6 +- themes/light/assets/js/index.js | 6 +- themes/light/assets/js/vendors.js | 543 ++++++++++-------- .../light/templates/partials/showheader.mako | 140 ++--- 13 files changed, 916 insertions(+), 767 deletions(-) diff --git a/themes-default/slim/package.json b/themes-default/slim/package.json index 982b3cbce7..c5319b14e6 100644 --- a/themes-default/slim/package.json +++ b/themes-default/slim/package.json @@ -57,6 +57,7 @@ "gulp-changed": "3.2.0", "gulp-imagemin": "4.1.0", "imagemin-pngquant": "6.0.0", + "is-visible": "2.2.0", "jquery": "3.3.1", "lodash": "4.17.10", "mini-css-extract-plugin": "0.4.2", @@ -74,6 +75,7 @@ "vue-meta": "1.5.3", "vue-native-websocket": "2.0.8", "vue-router": "3.0.1", + "vue-scrollto": "2.11.0", "vue-snotify": "3.2.1", "vue-template-compiler": "2.5.17", "vue-truncate-collapsed": "2.1.0", diff --git a/themes-default/slim/src/components/display-show.vue b/themes-default/slim/src/components/display-show.vue index ab475cd360..5ab2b3c257 100644 --- a/themes-default/slim/src/components/display-show.vue +++ b/themes-default/slim/src/components/display-show.vue @@ -1,4 +1,6 @@ diff --git a/themes-default/slim/src/store/modules/defaults.js b/themes-default/slim/src/store/modules/defaults.js index 7c7f854c6f..6ee544782b 100644 --- a/themes-default/slim/src/store/modules/defaults.js +++ b/themes-default/slim/src/store/modules/defaults.js @@ -42,7 +42,7 @@ const state = { status: null, title: null, type: null, - year: null + year: {} } }; diff --git a/themes-default/slim/views/partials/showheader.mako b/themes-default/slim/views/partials/showheader.mako index c4335cc892..8d79f50eab 100644 --- a/themes-default/slim/views/partials/showheader.mako +++ b/themes-default/slim/views/partials/showheader.mako @@ -10,9 +10,11 @@ <%namespace file="/inc_defs.mako" import="renderQualityPill"/>
+ ## @TODO: Remove data attributes + ## @SEE: https://github.com/pymedusa/Medusa/pull/5087#discussion_r214074436
- ## @TODO: Remove extra attributes. + ## @TODO: Remove data attributes ## @SEE: https://github.com/pymedusa/Medusa/pull/5087#discussion_r214077142

{{ show.title }} @@ -32,10 +34,12 @@
- -