diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-11-22 15:42:10 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-11-22 16:14:36 +0100 |
commit | 9375d246b9b72942b22ae89fc0f09234e6a1e287 (patch) | |
tree | cae348c2871096bf7181581af5eb6d99237ef223 /src/App.vue | |
parent | f3a36449e086c662c3c84169172e63d1fbb20ac7 (diff) |
Load different timeline streams
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 40 |
1 files changed, 30 insertions, 10 deletions
diff --git a/src/App.vue b/src/App.vue index efe135dc..e28879c0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -89,13 +89,23 @@ 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: [], icon: 'icon-user', @@ -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 { |