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 <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-03-21 20:23:42 +01:00
parent 53458b16a2
commit ccd705bc4f
16 changed files with 522 additions and 109 deletions

View File

@@ -3,6 +3,7 @@ import gql from 'graphql-tag';
export const FETCH_PERSON = gql`
query($name:String!) {
person(preferredUsername: $name) {
id,
url,
name,
domain,
@@ -11,9 +12,13 @@ query($name:String!) {
suspended,
avatarUrl,
bannerUrl,
feedTokens {
token
},
organizedEvents {
uuid,
title
title,
beginsOn
},
}
}
@@ -28,6 +33,26 @@ query {
}
}`;
export const LOGGED_PERSON_WITH_GOING_TO_EVENTS = gql`
query {
loggedPerson {
id,
avatarUrl,
preferredUsername,
goingToEvents {
uuid,
title,
beginsOn,
participants {
actor {
id,
preferredUsername
}
}
},
}
}`;
export const IDENTITIES = gql`
query {
identities {