ucsb-cs156-f23 / proj-organic-f23-6pm-1

https://ucsb-cs156-f23.github.io/proj-organic-f23-6pm-1/
0 stars 0 forks source link

Added Create Page for Courses with storybook and tests #37

Closed Joseph-Foster closed 10 months ago

Joseph-Foster commented 10 months ago

Added Create Page for Courses with storybook and tests

Screenshot: image

Storybook link: https://ucsb-cs156-f23.github.io/proj-organic-f23-6pm-1/prs/37/storybook/?path=/story/pages-courses-coursescreatepage--default

Closes #14

pconrad commented 10 months ago

Might want to add some validation for the school term - but I guess this varies by school as well, otherwise LGTM!

I'm not sure we can make any validation other than "required". But that sparks an idea for a feature to add:

pconrad commented 10 months ago

Might want to add some validation for the school term - but I guess this varies by school as well, otherwise LGTM!

I'm not sure we can make any validation other than "required". But that sparks an idea for a feature to add:

* Admin can do CRUD operations on a table of schools

* Admin can optionally enter:

  * a regular expression for term to be matched against
  * text with explanation/examples of term format
  * text to be used for error message if/when term doesn't match the regular expression

I added a new Epic for this