+
{{ $t('settings.style.themes3.editor.invalid') }}
@@ -104,8 +107,8 @@
diff --git a/src/components/contrast_ratio/contrast_ratio.vue b/src/components/contrast_ratio/contrast_ratio.vue
index 2d3c5c834..93799e4c2 100644
--- a/src/components/contrast_ratio/contrast_ratio.vue
+++ b/src/components/contrast_ratio/contrast_ratio.vue
@@ -11,13 +11,22 @@
class="rating"
>
-
+
-
+
-
+
-
+
-
+
-
+
@@ -55,6 +73,9 @@ library.add(
)
export default {
+ components: {
+ Tooltip
+ },
props: {
large: {
required: false,
@@ -74,9 +95,6 @@ export default {
default: false
}
},
- components: {
- Tooltip
- },
computed: {
hint () {
const levelVal = this.contrast.aaa ? 'aaa' : (this.contrast.aa ? 'aa' : 'bad')
diff --git a/src/components/emoji_picker/emoji_picker.js b/src/components/emoji_picker/emoji_picker.js
index d3d6563ab..ae48139a3 100644
--- a/src/components/emoji_picker/emoji_picker.js
+++ b/src/components/emoji_picker/emoji_picker.js
@@ -97,7 +97,7 @@ const EmojiPicker = {
enableStickerPicker: {
required: false,
type: Boolean,
- default: false
+ default: true
},
hideCustomEmoji: {
required: false,
@@ -105,7 +105,11 @@ const EmojiPicker = {
default: false
}
},
- inject: ['popoversZLayer'],
+ inject: {
+ popoversZLayer: {
+ default: ''
+ }
+ },
data () {
return {
keyword: '',
diff --git a/src/components/extra_notifications/extra_notifications.vue b/src/components/extra_notifications/extra_notifications.vue
index 600c99bbb..ffbb43eb3 100644
--- a/src/components/extra_notifications/extra_notifications.vue
+++ b/src/components/extra_notifications/extra_notifications.vue
@@ -56,6 +56,7 @@
tag="span"
class="notification tip extra-notification"
keypath="notifications.configuration_tip"
+ scope="global"
>
diff --git a/src/components/login_form/login_form.vue b/src/components/login_form/login_form.vue
index 3c152b2e4..25392742f 100644
--- a/src/components/login_form/login_form.vue
+++ b/src/components/login_form/login_form.vue
@@ -3,7 +3,9 @@
diff --git a/src/components/mention_link/mention_link.js b/src/components/mention_link/mention_link.js
index 6515bd116..4e1ec23d6 100644
--- a/src/components/mention_link/mention_link.js
+++ b/src/components/mention_link/mention_link.js
@@ -53,7 +53,9 @@ const MentionLink = {
this.$router.push(link)
},
handleSelection () {
- this.hasSelection = document.getSelection().containsNode(this.$refs.full, true)
+ if (this.$refs.full) {
+ this.hasSelection = document.getSelection().containsNode(this.$refs.full, true)
+ }
}
},
mounted () {
diff --git a/src/components/nav_panel/nav_panel.vue b/src/components/nav_panel/nav_panel.vue
index a19e9ba55..876e97726 100644
--- a/src/components/nav_panel/nav_panel.vue
+++ b/src/components/nav_panel/nav_panel.vue
@@ -125,7 +125,7 @@
diff --git a/src/components/navigation/navigation.js b/src/components/navigation/navigation.js
index 9fc264baa..156cd8cb3 100644
--- a/src/components/navigation/navigation.js
+++ b/src/components/navigation/navigation.js
@@ -1,11 +1,16 @@
+// routes that take :username property
export const USERNAME_ROUTES = new Set([
- 'bookmarks',
'dms',
'interactions',
'notifications',
'chat',
- 'chats',
- 'user-profile'
+ 'chats'
+])
+
+// routes that take :name property
+export const NAME_ROUTES = new Set([
+ 'user-profile',
+ 'legacy-user-profile'
])
export const TIMELINES = {
@@ -94,7 +99,9 @@ export function routeTo (item, currentUser) {
}
if (USERNAME_ROUTES.has(route.name)) {
- route.params = { username: currentUser.screen_name, name: currentUser.screen_name }
+ route.params = { username: currentUser.screen_name }
+ } else if (NAME_ROUTES.has(route.name)) {
+ route.params = { name: currentUser.screen_name }
}
return route
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue
index f84b75de3..044d43dbc 100644
--- a/src/components/notification/notification.vue
+++ b/src/components/notification/notification.vue
@@ -47,7 +47,6 @@
>
- {{ label }}
+ {{ label }}
diff --git a/src/components/settings_modal/helpers/emoji_editing_popover.vue b/src/components/settings_modal/helpers/emoji_editing_popover.vue
index f0465dd5d..1cca45fbf 100644
--- a/src/components/settings_modal/helpers/emoji_editing_popover.vue
+++ b/src/components/settings_modal/helpers/emoji_editing_popover.vue
@@ -112,7 +112,10 @@ export default {
components: { Popover, ConfirmModal, StillImage },
inject: ['emojiAddr'],
props: {
- placement: String,
+ placement: {
+ type: String,
+ required: true
+ },
disabled: {
type: Boolean,
default: false
@@ -120,8 +123,14 @@ export default {
newUpload: Boolean,
- title: String,
- packName: String,
+ title: {
+ type: String,
+ required: true
+ },
+ packName: {
+ type: String,
+ required: true
+ },
shortcode: {
type: String,
// Only exists when this is not a new upload
diff --git a/src/components/settings_modal/helpers/integer_setting.vue b/src/components/settings_modal/helpers/integer_setting.vue
index 43fa7e1a9..8206c0c45 100644
--- a/src/components/settings_modal/helpers/integer_setting.vue
+++ b/src/components/settings_modal/helpers/integer_setting.vue
@@ -1,7 +1,7 @@