From 6814182ea24f5d569bdced661444a984f91deaaa Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 21 Mar 2019 20:23:42 +0100 Subject: [PATCH] Add timeline events you're going to Mix format Fix chocobozzz feedback Only show upcoming events on feed Remove console log calls Signed-off-by: Thomas Citharel --- js/src/components/Event/Date.vue | 54 +++++ js/src/components/Event/EventCard.vue | 27 ++- js/src/components/NavBar.vue | 4 +- js/src/graphql/actor.ts | 27 ++- js/src/graphql/feed_tokens.ts | 49 +++++ js/src/types/actor.model.ts | 17 +- js/src/types/config.model.ts | 4 +- js/src/views/Account/Profile.vue | 194 ++++++++++++------ js/src/views/Account/Register.vue | 2 + js/src/views/Event/Event.vue | 23 +-- js/src/views/Group/Group.vue | 2 +- js/src/views/Home.vue | 106 ++++++++-- lib/mobilizon_web/resolvers/person.ex | 31 +++ lib/mobilizon_web/schema/actors/person.ex | 5 + lib/service/export/feed.ex | 4 +- .../resolvers/person_resolver_test.exs | 82 ++++++++ 16 files changed, 522 insertions(+), 109 deletions(-) create mode 100644 js/src/components/Event/Date.vue create mode 100644 js/src/graphql/feed_tokens.ts diff --git a/js/src/components/Event/Date.vue b/js/src/components/Event/Date.vue new file mode 100644 index 000000000..c8ae190c6 --- /dev/null +++ b/js/src/components/Event/Date.vue @@ -0,0 +1,54 @@ + + + + diff --git a/js/src/components/Event/EventCard.vue b/js/src/components/Event/EventCard.vue index 9023e1679..d1bfd38f4 100644 --- a/js/src/components/Event/EventCard.vue +++ b/js/src/components/Event/EventCard.vue @@ -1,8 +1,8 @@