hackforla / 311-data

Empowering Neighborhood Associations to improve the analysis of their initiatives using 311 data
https://hackforla.github.io/311-data/
GNU General Public License v3.0
62 stars 63 forks source link

[Map] Show service request details in popup #947

Closed adamkendis closed 3 years ago

adamkendis commented 3 years ago

Description

We need a popup displaying service request information when a map dot is clicked. We could show more information as well as some actions that the user could do (like link out to various places or share or bookmark the item).

Action Items

mattyweb commented 3 years ago

This is the currently favored design: Iteration_5

mattyweb commented 3 years ago

Here is the data we have for the SR: { "requestId": 1174673, "srnumber": "1-1584096961", "councilId": 58, "councilName": "Mid City West", "typeId": 6, "typeName": "Illegal Dumping", "agencyId": 2, "agencyName": "Sanitation Bureau", "createdDate": "2020-03-25", "closedDate": null, "address": "8670 W BURTON WAY, 90048", "latitude": 34.0720201513, "longitude": -118.381076886 }

We could easily show this as well as any useful metadata about the types, councils, or agencies. For instance, how long it typically takes to close an issue of this type, the link to the council website or twitter, the links to the agency website or twitter.

mattyweb commented 3 years ago
mattyweb commented 3 years ago

@adamkendis the work looks great, but there were a few things from the discussion thread that were not resolved so I'm reopening. @kevindperez, can you help us out?

Here's a current example (from https://dev.311-data.org/map): image

The fields we are missing are:

  1. Agency name: the city agency handling the request (e.g. Sanitation Bureau)
  2. Source name: the way the request was made (e.g. Phone Call)

(My apologies that we didn't discuss source at the previous meeting. That was my oversight.)

A couple other thoughts:

Something like:

Status: Open (3 days)

It's really coming together. Would be great to clean these things up so we can show it to the team next week!

adamkendis commented 3 years ago

@mattyweb

Added agency (w/ link) and source to popup in #1049. Good ideas on tweaking the council styling and day count. I'll drop these quick changes in.