Skip to content
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

1045 Dynamically name recurring events #1092

Closed
wants to merge 4 commits into from

Conversation

evanyang1
Copy link
Member

maybe i need to work on the css but from the logic point of view, fixes #1045

@evanyang1 evanyang1 self-assigned this Mar 28, 2022
@FoxShaunR FoxShaunR changed the title create new event works for 1045 1045 Dynamically name recurring events Apr 12, 2022
@FoxShaunR
Copy link
Member

Evan will make css changes in a few PR. This is ready for review.

Copy link
Member

@FoxShaunR FoxShaunR left a comment

Choose a reason for hiding this comment

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

Looking great so far. Just a couple small changes.

@@ -116,7 +116,7 @@ const CreateNewEvent = ({
className="create-form-button"
onClick={() => {
if (formValues.eventType == null) {
alert("Please select an event type.");
setFormErrors("Event type is blank. Select an event type.")
Copy link
Member

Choose a reason for hiding this comment

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

This should be setting errors to an object with the key being the field name and the value being the error message:

setFormErrors({ eventType: "Event type is blank. Select an event type." })

Copy link
Member

Choose a reason for hiding this comment

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

This is still not fixed.

@jbubar
Copy link
Member

jbubar commented Jan 31, 2023

@evanyang1 did you want to finish this or do we want to close this pr?

@jbubar
Copy link
Member

jbubar commented Feb 22, 2023

Closing this because it still needs work and is not super relevant

@jbubar jbubar closed this Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamically name recurring events
3 participants