rubyforgood / inkind-admin

A project serving Community Education Partnerships - https://www.cep.ngo/ . This Rails application presents an admin interface for CEP to manage their volunteers and students. And provides a GraphQL backend for https://github.com/rubyforgood/inkind-volunteer .
MIT License
9 stars 27 forks source link

# 127 Create Survey Index Page #130

Closed kellyeryan closed 2 years ago

kellyeryan commented 2 years ago

Resolves #127

Checklist

Description

This adds a survey index page with a table and the following columns:

Name (value not clickable yet) Date Created Responses (not respondents) - Displays number of COMPLETED survey_responses attached to the survey Created By (add creator_id to surveys. Update seed to point at sole admin user for now.) Status (add status enum to surveys. Follow convention on survey_responses.) Actions (but no actions yet)

n.b.: I had the status default to active for the survey because that made sense to me.

Also, I formatted the date like it is in the mock up but we have two other ways of doing dates in the system. We should probably standardize.

Type of change

Screenshots

Screen Shot 2021-10-27 at 3 30 53 PM