From 9375d246b9b72942b22ae89fc0f09234e6a1e287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 22 Nov 2018 15:42:10 +0100 Subject: Load different timeline streams MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/App.vue | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) (limited to 'src/App.vue') diff --git a/src/App.vue b/src/App.vue index efe135dc..e28879c0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -89,12 +89,22 @@ export default { { id: 'social-timeline', classes: [], - icon: 'icon-category-monitoring', - text: t('social', 'Timeline'), + icon: 'icon-home', + text: t('social', 'Home'), router: { name: 'timeline' } }, + { + id: 'social-direct-messages', + classes: [], + router: { + name: 'timeline', + params: { type: 'direct' } + }, + icon: 'icon-comment', + text: t('social', 'Direct messages') + }, { id: 'social-account', classes: [], @@ -106,18 +116,28 @@ export default { } }, { - id: 'social-favorites', + id: 'social-spacer', + classes: [] + }, + { + id: 'social-timeline', classes: [], - href: '#', - icon: 'icon-favorite', - text: t('social', 'Favorites') + icon: 'icon-category-monitoring', + text: t('social', 'Local timeline'), + router: { + name: 'timeline', + params: { type: 'local' } + } }, { - id: 'social-direct-messages', + id: 'social-timeline', classes: [], - href: '#', - icon: 'icon-comment', - text: t('social', 'Direct messages') + icon: 'icon-link', + text: t('social', 'Global timeline'), + router: { + name: 'timeline', + params: { type: 'global' } + } } ] return { -- cgit v1.2.3