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

Create Event Form for Catalog #4

Closed
michellelin1 opened this issue Nov 27, 2023 · 0 comments · Fixed by #6
Closed

Create Event Form for Catalog #4

michellelin1 opened this issue Nov 27, 2023 · 0 comments · Fixed by #6
Assignees
Labels

Comments

@michellelin1
Copy link
Member

Instructions

Events are a core component of AISS’s event management system. You are going to jumpstart this project by making a form to create an event. For this task you’re going to…

  • Set-up the basic skeleton for a form to create new events in the catalog using Chakra UI components
  • Add validation using Yup

Notes

  • Refer to DB Model for which fields to include
    • For any fields with ENUM values, use dropdowns
    • For any fields marked NOT NULL, make the fields required
  • Refer to PNP code example for how to implement Yup into a form
  • The design for the event creation form hasn’t been finalized yet, so don’t worry too much about it yet
  • Make your best approximation for validation

Acceptance Criteria

  • Place the form in a new file located in src/components/CreateEventForm/CreateEventForm.jsx
  • All fields of the Catalog table in the DB model should be included
  • Input validation should exist for all fields as needed
  • The user cannot submit the form if violating any input validation
    After submitting the form, the form data should be console logged (we’ll send it to the backend later)

Resources

As always, feel free to message Michael and Michelle if you have any questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants