Coder Social home page Coder Social logo

openmaine / covid19-foodmap Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 4.0 7.33 MB

Mapping food pantry info and hours during covid-19 crisis

Home Page: https://pantries.openmaine.org

License: GNU Affero General Public License v3.0

CSS 11.67% JavaScript 54.73% HTML 30.32% Python 2.79% Dockerfile 0.49%
openmaine covid19 covid-19 codeforamerica resource-mapping

covid19-foodmap's People

Contributors

congdon avatar dependabot[bot] avatar dzwarg avatar elburnett avatar jonjanelle avatar justinsteele avatar mcbrown87 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

covid19-foodmap's Issues

Error: Attribute alt not allowed on element a at this point.

Error: Attribute alt not allowed on element a at this point.

From line 210, column 17; to line 210, column 130

      <a href="https://waysidemaine.org/community-resources" alt="Wayside Maine Website" target="_blank" rel="noopener">↩     

Attributes for element a:
Global attributes
href — Address of the hyperlink
target — Browsing context for hyperlink navigation
download — Whether to download the resource instead of navigating to it, and its file name if so
ping — URLs to ping
rel — Relationship between the location in the document containing the hyperlink and the destination resource
hreflang — Language of the linked resource
type — Hint for the type of the referenced resource
referrerpolicy — Referrer policy for fetches initiated by the element

Data cleaning and spreadsheet revisions

  • Add an "Is Active" column to the spreadsheet might deserve priority so we can filter out bad results. Whatever values used need to be consistent (perhaps 'yes'/'no'?). Data validation rules can be setup in the sheet to enforce this.

  • Remove the "Covid-19 Hours" column. I think this was confusing to volunteers because most only used 'Covid-19 Days of Week'. All hours entries have been moved into 'Covid-19 Days of Week' already, but the column should still be removed to prevent future issues.

  • Some operational/covid-19 notes say things like 'No changes as yet'. These were misused as internal notes and need to be updated to be user-facing. Some notes are also long narratives that should be made more succinct and clear.

Error: Attribute alt not allowed on element a at this point.

Error: Attribute alt not allowed on element a at this point.

From line 244, column 75; to line 244, column 162

a Brigade OpenMa

Attributes for element a:
Global attributes
href — Address of the hyperlink
target — Browsing context for hyperlink navigation
download — Whether to download the resource instead of navigating to it, and its file name if so
ping — URLs to ping
rel — Relationship between the location in the document containing the hyperlink and the destination resource
hreflang — Language of the linked resource
type — Hint for the type of the referenced resource
referrerpolicy — Referrer policy for fetches initiated by the element

Apply filters when zooming to device location

If the user zooms to the current device location on page load, then county and town filters should be automatically applied. This should occur only if there are no URL query parameters present.

We should be able to reverse geocode the device coordinates to accomplish this.

Mobile keyboard pushes zip entry out of view

The Android keyboard pushes the zip code text field out of view on the map page. This forces zip selection via the "locate me" button.

Find a way to ensure that the zip field is accessible for free entry on mobile devices.

Microsoft Edge javascript errors

Javascript errors occur in Edge that prevent the page from loading. The errors are not present in Chrome. The cause may be related to how promises are being handled.

Window resize handler does not reset inputs and listeners

Content is added to and removed from the DOM depending on screen width so that both mobile and desktop-friendly UIs can be formed. This destroys change listeners and the setup of select2 inputers.

When moving between the desktop-mobile boundary, a full reinitialization of inputs and handlers needs to be performed.

Error: An img element must have an alt attribute

Error: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

From line 173, column 11; to line 173, column 63

      <img class="img-thumbnail" src="images/produce.jpg"/>↩     

Error: An img element must have an alt attribute

Error: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

From line 150, column 11; to line 150, column 66

      <img class="img-thumbnail" src="images/apple_red.jfif"/>↩     

Do we need a legend?

The icons were confusing to me at first, partly because they are very cluttered in some views.

Data: poorly geocoded locations

These locations are geocoded incorrectly:

  • UVEC Food Pantry (ID 271) entry:
Category: "Food Pantry"
Name: "UVEC Food Pantry"
County: "Aroostook"
Town: "Sherman"
Address: "36 School Street, Suite #4↵Sherman ME 04776"
Phone: "(207)365-7631"
InitialsOfResearcher: "jg"
DateUpdated: "4-7-20"
VerificationMethod: "call"
Covid19DaysOfWeek: "2nd Tues of the month 9am-1pm"
Covid19Hours: ""
Covid19PickupNotes: "No forms will be needed and a pre-packed box will be brought out to cars to limit contact"
OtherNotes: "There is a website http://uvecfoodpantry.org/ where up to date info can be found  "
HoursOfOperationOldFromExistingData: "2nd Tuesday of the month from 9:00 AM - 1:00 PM. Available for emergencies."
OperationalNotesFromWebExistingData: "To be determined."
WebLink: "http://www.uvecfoodpantry.org/uvec_food_pantry.aspx"
AdditionalWebLink: ""
Latitude: "53.76865"
Longitude: "-2.41538"
  • Orient Food Pantry (ID: 163)
Category: "Food Pantry"
Name: "Orient Food Pantry"
County: "Aroostook"
Town: "Orient"
Address: "82 Schoolhouse Rd #25↵Orient ME 04471"
Phone: "(207)448-7729"
InitialsOfResearcher: "ERS"
DateUpdated: "4/10/20"
VerificationMethod: "Town of Orient answering machine, no updated info"
Covid19DaysOfWeek: ""
Covid19Hours: ""
Covid19PickupNotes: ""
OtherNotes: ""
HoursOfOperationOldFromExistingData: "1st Friday after the 1st Tuesday 10:00 AM - 1:00 PM."
OperationalNotesFromWebExistingData: "Preboxing with delivery to vehicles."
WebLink: ""
AdditionalWebLink: ""
Latitude: "12.58478"
Longitude: "-81.70513"

Both should be nominally in Aroostook county.

geocode-bug

Add zip code radius searching

Add a method for finding all results within a specified radius of a zip code. Search results should be subject to all other applied filters.

The first child option element of a select element with a required attribute

Error: The first child option element of a select element with a required attribute, and without a multiple attribute, and without a size attribute whose value is greater than 1, must have either an empty value attribute, or must have no text content. Consider either adding a placeholder option label, or adding a size attribute with a value equal to the number of option elements.

From line 88, column 21; to line 88, column 37

      <option value=10>10</op

Error: Element div not allowed as child of element button in this context.

Error: Element div not allowed as child of element button in this context. (Suppressing further errors from this subtree.)

From line 81, column 21; to line 81, column 46

      <div class="toggle-label">locate

Contexts in which element div may be used:
Where flow content is expected.
As a child of a dl element.
Content model for element button:
Phrasing content, but there must be no interactive content descendant.

Add SSL certificate to openmaine.org

Accessing a user's location is not possible in Chrome on in sites that do not have SSL encryption. The JS getCurrentPosition() and watchPosition() functions no longer work on insecure origins.

Investigate adding an SSL certificate (inMotion likely has a paid option. Possible to use Let's Encrypt as a free alternative?) so the site so the site can be accessed via https. Without this, features like 'locate me' cannot be used on openmaine.org

Error: Attribute alt not allowed on element a at this point.

Error: Attribute alt not allowed on element a at this point.

From line 223, column 17; to line 223, column 165

      <a href="https://www.maine.gov/dacf/ard/tefap/bytown.shtml" alt="Visit The Emergency Food Assistance Program website" target="_blank" rel="noopener">↩     

Attributes for element a:
Global attributes
href — Address of the hyperlink
target — Browsing context for hyperlink navigation
download — Whether to download the resource instead of navigating to it, and its file name if so
ping — URLs to ping
rel — Relationship between the location in the document containing the hyperlink and the destination resource
hreflang — Language of the linked resource
type — Hint for the type of the referenced resource
referrerpolicy — Referrer policy for fetches initiated by the element

Error: Attribute alt not allowed on element a at this point.

Error: Attribute alt not allowed on element a at this point.

From line 200, column 17; to line 200, column 105

      <a href="https://211maine.org/" alt="2-1-1 Maine Website" target="_blank" rel="noopener">↩     

Attributes for element a:
Global attributes
href — Address of the hyperlink
target — Browsing context for hyperlink navigation
download — Whether to download the resource instead of navigating to it, and its file name if so
ping — URLs to ping
rel — Relationship between the location in the document containing the hyperlink and the destination resource
hreflang — Language of the linked resource
type — Hint for the type of the referenced resource
referrerpolicy — Referrer policy for fetches initiated by the element

Ideally, all locations will also have info about where the info came from

In creating this resource, we have the responsibility to keep it correct and keep it updated.

It's not sufficient to make a list of places and times. We also need to keep track of the source of the info for those places and times, so that they can be confirmed -- people, newspaper articles, municipal offices, whatever is the original source of the info.

Add an 'About' page

Add an page with information about the purpose of the site, contact info for suggestions and improvements, and links to OpenMaine and Mainers Together

Usability/accessibility issues

I am concerned about:

  1. Colors and contrast -- e.g., the teal pantry icons don't show up well on the blue-heavy map

  2. The font size of the displayed information is super tiny; kind of worse on a phone

Development: Misconfigured vendor scripts

The scripts for select2 and jquery-easing are wiped out when running npm run start or yarn run start.

They need to be added to the package.json and gulp pipeline.

Investigate templating engine options

A templating engine will be necessary as the site expands to improve maintainability by reducing code duplication. As a proof of concept, we should attempt to separate the site header and footer into partials

Jekyll (https://jekyllrb.com/) could be a good option, but it is likely worthwhile to investigate alternatives. Any solution should be open source.

Zip code/find me form becomes unresponsive

During testing MPA reported the following behavior:
"I accidentally clicked the “find me” button instead of the “search” button after typing in my ZIP code, and then (even after correcting myself) I couldn’t get it to display any data. I had to close the tab and reload the site."

Big Typo on Map Page

I'm not sure what it means to "Seach", but I think our users will know what "Search" means.

Screen Shot 2020-04-25 at 11 41 29 PM

Add a footer

Investigate which information would be helpful to include a static page footer in collaboration with other group members.

When planning is complete the footer can be added index.html. if a templating engine is already in-place, then the footer should be in its own file and imported where needed.

Are we putting too much on one map?

Possibly, for this stage of the data we have available. E.g., Shelters, Youth Programs, and Other in the current instantiation are not helpful.

Click-to-call

Enable click-to-call on telephone numbers, both on the map and the list view.

This will assist users who may have trouble reading the numbers from a small dialog, or who want to save the number or share it from a mobile device. Clicking on the desktop version can also "send" the number to a mobile device.

Error: Attribute alt not allowed on element a at this point.

Error: Attribute alt not allowed on element a at this point.

From line 190, column 17; to line 190, column 117

      <a href="https://www.gsfb.org/" alt="Good Shepherd Food Bank Website" target="_blank" rel="noopener">↩     

Attributes for element a:
Global attributes
href — Address of the hyperlink
target — Browsing context for hyperlink navigation
download — Whether to download the resource instead of navigating to it, and its file name if so
ping — URLs to ping
rel — Relationship between the location in the document containing the hyperlink and the destination resource
hreflang — Language of the linked resource
type — Hint for the type of the referenced resource
referrerpolicy — Referrer policy for fetches initiated by the element

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.