codeforamerica / cityvoice Goto Github PK
View Code? Open in Web Editor NEWA place-based call-in system for gathering and sharing community feedback
License: MIT License
A place-based call-in system for gathering and sharing community feedback
License: MIT License
Will be a string in property_info_set
e.g. one color (orange?) could be used for those properties with an affirmed demo and another (current blue?) could be used for all others
Courtesy of @ttmp
If you close the modal the problem disappears. Also if you start manipulating the map before the whole page loads you can continue to edit it with the modal open.
We might fix by changing how the js loads.
The attribute will be called demo_order, for example
@subject.property_info_set.demo_order
a string, with potential values of:
"Expired", "Affirmed", blank
...but works in latest versions (22, 23)
Has something to do with the document.location.origin property being undefined in that version of FF.
(Low-priority bug)
@mholubowski is checking it out
Currently the session doesn't take into account if you're giving feedback on a different property code; change that so that 1 phone number can provide feedback on multiple properties.
To download and refresh data; may want to use a modified version of windy or the (alpha) SODA API wrapper
Proposed Approach:
Potential issues:
Other ideas:
Currently the two key pieces of information are status and demolition order. Perhaps the icons for these could be in color, ideally reflecting the level of urgency (V&A more urgent than occupied; Demo order affirmed more urgent than no demo order).
(or whichever neighborhood we want to test)
Right now, the "click to move" functionality doesn't work on areas of the map horizontal to the explanatory overlay.
Potentially related to #12
This is true for the landing page and subjects pages
It'd be good to provide a page that explains the different categories of data (ie, where "Moderate Repairs Needed" is on the spectrum), and maybe provide some more contextual data (eg, this is in the top 30% of values)
Maybe this is a modal that opens if you click on something in the the property data area of the page? ("explain" or "learn about this" or whatever)
Per @rduecyg: Can we change the question_text wording to: "How important is improving public safety in your neighborhood? (1-5 scale)" "How important is improving property values in your neighborhood? (1-5 scale)"
For the property view, we want to modify the map to basically map the name attribute (the name will be the address).
So, for example, in the view, it will go something like this:
@subject.name
# => "1234 LaSalle Avenue"
# Below is a fake Leaflet call to express the logic
LeafletMap.place_marker_at_address(@subject.name)
Submission B:
Thanks! We recorded your response “Demolish” for property 1234 Lincoln Way West. You can also text comments to this number. Learn more: 1000in1000.com/1234
Comment:
Thanks for your comments! Your feedback will be reviewed by city staff. Please tell your neighbors about this program. Visit 1000in1000.com/1234.
To avoid spin-up time
Requires both:
Attach a visual tag to voice messages indicating how that person voted. (e.g. repair or remove in V&A deploy)
Aaron Perri brought this up for the IWTW deploy and I'm sure once Code Enforcement starts playing with the feedback will want this bit of information as well.
Will be 5-digit codes, with the "duplicate indexing" occurring in the last digit.
1234 Main St => "12340"
1234 Lasalle St => "12341"
For 3-digit street numbers, here's a question:
987 Main
"98700" or "09870"
audio player play button shows on local version of site but not on heroku deployment
Create records in the database to distinguish feedback based on how people got the property code, namely:
Ideally done at point of input, with "invalid" response, but could be hacked for now to simply exclude presentation of bad input in view.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.