-
-
-
-
-
+
+
+
+
-
+
-
{{ $t('noNotifications') }}
+
{{ $t('noNotifications') }}
-
-
+
@@ -42,7 +40,7 @@ export default Vue.extend({
type: String,
required: false
},
- wide: {
+ page: {
type: Boolean,
required: false,
default: false
@@ -93,11 +91,15 @@ export default Vue.extend({
diff --git a/src/client/pages/notifications.vue b/src/client/pages/notifications.vue
new file mode 100644
index 0000000000..49e67bc8f7
--- /dev/null
+++ b/src/client/pages/notifications.vue
@@ -0,0 +1,42 @@
+
+
+
+
{{ $t('notifications') }}
+
+
+
+
+
diff --git a/src/client/pages/settings/index.vue b/src/client/pages/settings/index.vue
index 986ade8ffc..b3ef4d17b9 100644
--- a/src/client/pages/settings/index.vue
+++ b/src/client/pages/settings/index.vue
@@ -20,7 +20,8 @@
{{ $t('useOsNativeEmojis') }}
-
{{ $t('showFixedPostForm') }}
+
{{ $t('showFixedPostForm') }}
+
{{ $t('useNotificationsPopup') }}
@@ -111,6 +112,11 @@ export default Vue.extend({
get() { return this.$store.state.device.showFixedPostForm; },
set(value) { this.$store.commit('device/set', { key: 'showFixedPostForm', value }); }
},
+
+ useNotificationsPopup: {
+ get() { return this.$store.state.device.useNotificationsPopup; },
+ set(value) { this.$store.commit('device/set', { key: 'useNotificationsPopup', value }); }
+ },
},
watch: {
diff --git a/src/client/router.ts b/src/client/router.ts
index 0a856d580d..86ef4c7056 100644
--- a/src/client/router.ts
+++ b/src/client/router.ts
@@ -27,6 +27,7 @@ export const router = new VueRouter({
{ path: '/explore', component: page('explore') },
{ path: '/explore/tags/:tag', props: true, component: page('explore') },
{ path: '/search', component: page('search') },
+ { path: '/my/notifications', component: page('notifications') },
{ path: '/my/favorites', component: page('favorites') },
{ path: '/my/messages', component: page('messages') },
{ path: '/my/mentions', component: page('mentions') },
diff --git a/src/client/store.ts b/src/client/store.ts
index 28c995132e..2d84b7b318 100644
--- a/src/client/store.ts
+++ b/src/client/store.ts
@@ -40,6 +40,7 @@ const defaultDeviceSettings = {
animatedMfm: true,
imageNewTab: false,
showFixedPostForm: false,
+ useNotificationsPopup: true,
userData: {},
};