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

Update summary banner at the top of page & link summaries to user-selected need #26

Closed
KM-Hanson opened this issue Mar 28, 2020 · 2 comments
Assignees
Milestone

Comments

@KM-Hanson
Copy link
Contributor

KM-Hanson commented Mar 28, 2020

**Need work on an existing feature? **
(a) Describe the outcome needed/goal of the feature.

The banner at the top of the page is composed of four panels that summarize various aspects of the resources within the database.

Currently, the text of the banners and the icons used are fixed.

(b) What do we need to code next?
We want the banner to change as the user selects different options from the "What do you need?" drop-down menu. The t items in the list below indicate how the content of the 4 panels should change as the user selects different options from the drop-down menu.

Groceries
order & pay online
curbside pick-up
senior shopping hours
discounts for medical workers

Restaurants
order & pay online
curbside pick-up
delivery
discounts for medical workers

Family Meal Kits
order & pay online
curbside pick-up
delivery
discounts for medical workers

Free Meals
meals open to the public
meals for students
free grocery locations
free produce locations

Pharmacy
order & pay online
curbside pick-up
delivery
senior shopping hours

Pet Supplies
order & pay online
curbside pick-up
delivery
discounts for medical workers

Entertainment
movie theaters
virtual lessons
virtual workouts
curbside pick-up

Describe alternatives you've considered
N/A

Additional context
The banner summaries pull from the database. In order to support new banner summaries (e.g., "order & pay online"), that information needs to be coded into the database. Coordinate with our data manager (Allison Kittinger) on the necessary changes.

Screen Shot 2020-03-28 at 12 07 57 AM

@KM-Hanson KM-Hanson added the Up for grabs Anyone can offer to take on these tickets label Mar 28, 2020
@readingdancer readingdancer self-assigned this Mar 28, 2020
@readingdancer readingdancer removed the Up for grabs Anyone can offer to take on these tickets label Mar 28, 2020
@readingdancer
Copy link
Contributor

I have just released a new version of the code where the majority of the above is now working with the appropriate translatable text and calculating all the correct figures from our data.

I have added some additional columns to the spreadsheet and populated them where possible from the data we already had in the information column. There are also additional columns for the extra data required to make the above counters work :)

https://github.com/code-for-chapel-hill/COVID-Support-For-CH/releases/tag/v0.0.10-alpha

@KM-Hanson KM-Hanson added this to the Version 1.0 milestone Mar 29, 2020
@readingdancer readingdancer modified the milestones: Version 1.0, Version 1.1 Apr 3, 2020
@readingdancer
Copy link
Contributor

This has been completed other than the entertainment section, @KM-Hanson if we get anything in that category I suggest we raise a new ticket to add it.

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

No branches or pull requests

2 participants