-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
feature: ask organizers to setup the reply to email when they create the event #13621
Conversation
@@ -1,7 +1,7 @@ | |||
import { RequestHandler } from 'express' | |||
import { | |||
getEventBySlug, | |||
getEventDataForLock, |
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.
renamed for clarity!
@@ -36,7 +37,31 @@ const getEventDate = ( | |||
return null | |||
} | |||
|
|||
export const getEventDataForLock = async ( | |||
export const getEventForLock = async ( |
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.
This is extracted so we can re-use.
const res = settings || DEFAULT_LOCK_SETTINGS | ||
const lockSettings = settings || DEFAULT_LOCK_SETTINGS | ||
|
||
const eventDetails = await getEventForLock(lockAddress, network) |
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.
Getting the event's settings for replyTo
and emailSender
and prioritizing these.
@@ -363,30 +357,6 @@ export const EventDetails = ({ | |||
Tools for you, the event organizer | |||
</span> | |||
<div className="grid gap-4"> | |||
<Card className="grid grid-cols-1 gap-2 md:items-center md:grid-cols-3"> |
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.
We moved this to the settings.
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.
Looks good
Description
We now require organizers to submit their email address and name when they are preparing a new event.
Issues
Fixes #13188
Checklist:
Release Note Draft Snippet