hack4impact-calpoly/general-vms

[Frontend] Design and Partial Implementation of "See Forms" Page for Admins

Closed this issue · 0 comments

This task is to create a new "See Forms" page on /forms/view. This page should pull from the backend as a GET for all the forms (/api/forms) that have been made. This is not for the filled out forms yet. This is just to get the forms the admins/staff have created that volunteers can/have filled out. The page should show some sort of list of forms in some way that show each form's:

  • Title
  • Date Published
  • Who published it (let's say this is just a string for now)
  • Form type (for now this can only be "waiver")

If some of these fields are annoying or don't fit well, we can talk about how to reorganize it or what needs to be removed.

Gracefully handle (and display) when there are no submitted forms.

  • Make GET call
  • Create mock data for this (ignore result of GET call and immediately return mock data)
  • Design page
  • Implement page design to show the form data mentioned in some way
  • Create some unit tests for the page