From 534f2e8195523ffae83ed85f4e9fddf2939929e3 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 28 Oct 2016 15:19:42 +0200 Subject: [PATCH] Basic statuses. --- .../friends_timeline/friends_timeline.js | 11 ++++ .../friends_timeline/friends_timeline.vue | 10 ++++ .../public_timeline/public_timeline.vue | 2 +- src/components/status/status.js | 6 +++ src/components/status/status.vue | 53 +++++++++++++++++++ src/components/timeline/timeline.js | 9 +++- src/components/timeline/timeline.vue | 3 +- src/main.js | 4 +- 8 files changed, 92 insertions(+), 6 deletions(-) create mode 100644 src/components/friends_timeline/friends_timeline.js create mode 100644 src/components/friends_timeline/friends_timeline.vue create mode 100644 src/components/status/status.js create mode 100644 src/components/status/status.vue diff --git a/src/components/friends_timeline/friends_timeline.js b/src/components/friends_timeline/friends_timeline.js new file mode 100644 index 00000000..948b23a4 --- /dev/null +++ b/src/components/friends_timeline/friends_timeline.js @@ -0,0 +1,11 @@ +import Timeline from '../timeline/timeline.vue' +const FriendsTimeline = { + components: { + Timeline + }, + computed: { + timeline () { return this.$store.state.statuses.timelines.friends } + } +} + +export default FriendsTimeline diff --git a/src/components/friends_timeline/friends_timeline.vue b/src/components/friends_timeline/friends_timeline.vue new file mode 100644 index 00000000..03e518c6 --- /dev/null +++ b/src/components/friends_timeline/friends_timeline.vue @@ -0,0 +1,10 @@ + + + diff --git a/src/components/public_timeline/public_timeline.vue b/src/components/public_timeline/public_timeline.vue index 0ed8baf8..4aab0943 100644 --- a/src/components/public_timeline/public_timeline.vue +++ b/src/components/public_timeline/public_timeline.vue @@ -1,5 +1,5 @@