Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Added ticket release date, ticket available and action link to event #51

Merged
merged 10 commits into from
Jul 28, 2016

Conversation

AndrewBestbier
Copy link
Contributor

@AndrewBestbier AndrewBestbier commented Jul 27, 2016

Winning

Bonjour!

Add a ticketReleaseDate and a boolean: ticketAvailability, for the specified event. This gives all the required information to move the react.london client to different event states automatically.

},
ticketsAvailiable: {
type: GraphQLBoolean,
description: 'A boolean show whether tickets are availiable',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'A boolean to show...'

type: GraphQLBoolean,
description: 'A boolean to show whether tickets are availiable',
},
eventActionLink: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i feel like there's potentially some duplication going on with the externalLinks and internalLinks. One option I think would be to extend RelatedLinkType to be featured as a "main" event action link.

@@ -73,6 +74,14 @@ export const EventType = new GraphQLObjectType({
type: DateTimeType,
resolve: mapDateTime('endDateTime'),
},
ticketReleaseDate: {
type: DateTimeType,
resolve: mapDateTime('ticketReleaseDate'),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs description

description: 'The date when the event tickets are released.',
resolve: mapDateTime('ticketReleaseDate'),
},
ticketsAvailiable: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

@asavin asavin merged commit 287d07a into master Jul 28, 2016
@asavin asavin deleted the editable-event-status branch July 28, 2016 10:11
@bkspace bkspace restored the editable-event-status branch July 28, 2016 12:21
@asavin asavin deleted the editable-event-status branch September 5, 2016 09:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants