-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TicketTailor integration + EventList block #81
Conversation
@@ -94,23 +95,7 @@ export default function Page({ | |||
|
|||
const form = useForm<FormInputs>({ | |||
defaultValues: { | |||
name: '', | |||
geographyColumnType: GeographyTypes.Postcode, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: we should keep these default variables to squash console error logs, but restrict them based on the externalDataSourceType.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I can revert these changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. Noticed a separate bug where postcode field doesn't get prefilled anymore by guesser.
51fa97a
to
e8bff64
Compare
9f93573
to
2fb83bf
Compare
1. Nested fields weren't being read in the import payload 2. Pagination was missing in fetch_all
I feel the URL and instruction should appear after connection. There are two instructions for sources that don't have automated webhooks:
Could also be a follow-on PR. |
Allows importing data from TicketTailor.
Description
TicketTailorSource
and connection boilerplateEventList
block in Puck to display event data. You can select a data source and filter out certain events.Motivation and Context
TicketTailor is used by the Climate Coalition to organise RSVPs for their training schedule and, alongside EventBrite, is one of the few big ticketing/events platforms.
Events are a common type of geographically mappable entities, given they generally a location and a time. But even if they are online, a public hub should route people to relevant events.
This PR makes it possible to advertise events from these third parties in curated, dynamic maps and timelines.
It also sets the scene for other read-only data sources like EventBrite, hosted CSVs, JSON APIs, SQL databases and much else.
How Can It Be Tested?
You can run the tests locally by adding
TEST_TICKET_TAILOR_API_KEY
to your .env.Bitwarden login for https://tickettailor.com/ is [email protected] — you can find the API key in
Box Office Settings
>API
How Will This Be Deployed?
N/A
Screenshots (if appropriate):
Types of changes