Git Product home page Git Product logo

townhallproject's Introduction

Town Hall Project

Goals:

We are a citizen-powered effort that empowers constituents across the country to have face-to-face conversations with their elected representatives. We are campaign veterans and first time volunteers. We come from a diversity of backgrounds and live across the country. We share progressive values and believe strongly in civic engagement. We research every district and state for public events with members of Congress and then share our findings far and wide to promote participation in the democratic process and make it as accessible as possible for everyone. We have a team of organizers that works with local groups on the ground to coordinate efforts and encourage citizens to amplify their voices.

The Town Hall Project offers our town hall event list to everyone, across the entire political spectrum. Our founders are dedicated to progressive values and actively encourage progressive allies to use our town hall data, but we are independent of any political party or organization.

This movement is diverse, open source, and powered by citizens. We are proud to be a part of it.

Using our data:

The published event list on our site is open for citizens, activists, and researchers to use. We ask that those re-posting or re-publishing events attribute Town Hall Project and provide a link to townhallproject.com. Use of our REST API is available to partners on a case-by-case basis—to discuss please email [email protected]

User Features:

  • Look up by location
  • Filter/sort by other features (date/rep is going to be present or not)
  • Add to personal calendar
  • Sign up for email alerts
  • Submit an event for review by researchers

Contribution guidelines for this project

townhallproject's People

Contributors

adamgrunke avatar adriennelim avatar alan-mag avatar annaboyatyuk avatar carolinekig avatar crashley1992 avatar cwshevlin avatar dependabot[bot] avatar desdemonhu avatar dylanmoriarty avatar elisalevinson avatar garrettomoore avatar haleyliz15 avatar kel29 avatar lidia-saf avatar lmamaril avatar meganrm avatar merrybypractice avatar michaeljahns avatar nathanmwilliams avatar pdvorchik avatar sarahmbeecroft avatar serengetisunset avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

townhallproject's Issues

Streamlined "About" copy

Can we change the main About copy at top to the more streamlined copy here:

Town Hall Project empowers constituents across the country to have face-to-face conversations with their elected representatives. We are campaign veterans and first time volunteers. We come from a diversity of backgrounds and live across the country. We share progressive values and believe strongly in civic engagement. We research every district and state for public events with members of Congress. Then we share our findings to promote participation in the democratic process.

This movement is diverse, open source, and powered by citizens. We are proud to be a part of it.

Store zipcode and indiviual events searches as query param

It'd be nice to let people link to searches, so if friends are talking about going to an even together they cna share the link. Or you can bookmark the view for events in your area.

  • On search store the zip as a query param
  • Run the search on load if query param is present
  • query param for individual events

Change office locations in Your Rep cards

On the whole DC offices will be irrelevant to most users. Much better is a district office. (Some have multiple offices--and nearly all senators do, so is there a way to do "district office nearest you?)

Edit failed zip search copy

Can we alter the "That's not a real zip code" error message to "We couldn't find your zip code! Right now we are only able to search by 5-digit zip so please try yours again." Or something along those lines.

Correct "next election" dates

Years appear to be one year off. (All federal elections are even-years, apart from the rare special election to fill an empty seat).

Remove timezones

@nathanmwilliams

Also, with the looming changeover from Standard Time to Daylight Time, we've made the decision to eliminate time zone entirely. It's gone from the google doc. Is there a way to mass refresh everything on the site so that these go away? And lastly: can we add a note to the glossary: "All events in local time."

User calendar date error

From user:

Just wanted to let you know that there seems to be a bug in your "Add to Calendar' functionality. Danny Davis (IL-7 D) is holding a town hall on 2/23/17 (next Thursday); however, when I click "Add to Calendar" and select "Google Calendar", it attempts to create a calendar event on 2/5/17 instead.

Add horizontal scroll bar

It's a frequent complaint of users that they can't understand how to scroll right to find addresses, etc.

Map District Interactions

To be Determined

  • District choropleth coloring
  • Styling

Currently have these added in. When you click on a district it highlights and the map pan & zooms over to it.

district-click

We'd previously discussed basing the fill colors based on:

  • no events
  • telephone only
  • in-person

but after looking at the above map, I think it might make more sense to use the fill color to indicate whether a district has a Town Hall opportunity for a local rep or a senate rep. That way it's more clear from looking at the map why places like Texas are all filled in. Discriminating between telephone & in-person might be better handled in the icons themselves imo.

To do

  • Create a makefile to allow easy repliaction of the mbtiles used to make the district layer from a Shape File
  • Filter the fill color based on Senate vs. District
  • Tweak the style to match the Town Hall style guide

Hookup Zip Lookup to new map

With the new map, we'll need to re-work the address lookup.

Essientially, any query made there should be able to pop out with that addresses state &/or district. With those two parameters we can populate the sidebar based on the data and pan/zoom accordingly.

For the interaction I'm thinking it doesn't make much sense to zoom directly to the address, but rather just highlight the locations district. That way we stay on message of "these are the town halls by YOUR represenatives".

To-Do

At least initially, we can keep this strictly using zip codes and use Sunlight's csv here to make the match h/t @pdvorchik.

To open up to more detailed addresses, I'm aware of a few geocoding options: Mapbox, Google Maps, Mapzen, but haven't used any before myself.

add "last updated" to site

It's currently being stored as a date object value, so it just needs to be converted back to human readable and rendered on the page

Please add legal disclaimer language to About page

Our lawyer requested this fuller disclaimer added to the About page:

The information available on or from this website is compiled by Town Hall Project volunteers and provided for general informational purposes only. While all efforts are made to verify accuracy of events, event details can change at short notice and are not guaranteed to be complete or up-to-date. Please contact your representative’s office to confirm. Town Hall Project shall not be liable for any special or consequential damages that result from the direct or indirect use of, or the inability to use, the information on this site.

add calendar view

button at the top of the table that toggles between View as table and View as calendar. Show the current context in the calendar

institute build processes?

Can we, at some point, institute a build process for the frontend code? A few benefits:

  • JS build
    • concat and minify files into one
    • use ES6 etc
    • separate env. keys / urls to use different firebase DB's locally vs in prod vs staging etc
  • CSS build
    • concat and minify files into one
    • use SCSS etc

It's a bit of hassle but I think well worth it. I've setup similar stuff before and can manage everything w/n the package.json file. Working on sheets import now but can do this later / for the next version.

Clarify radius zip search.

Please add language to search results: "This search is by proximity, not congressional district. To find your representatives, go to whoismyrepresentative.com."

Town Hall Markers

To Be Determined:

  • What do we want popups over individual town halls to show?
  • Do we like having two icons, one for tele-halls & one for in-person?

On my map branch, I currently have a drawn layer for markers with popups that show the District value.

screenshot 2017-02-26 11 01 26

screenshot 2017-02-26 11 02 26

We talked about discriminating between tele-halls & in-person ones, and I'm leaning towards the notion that this might be better shown on the TH points themselves than the districts. I'll go more into detail on this in a separate thread on the district fill styles.

We can fill the popup with pretty much any value from the Townhall event. Obviously, we should keep this sparse, let people click into it for more info. Clicking on the icon itself should pop open details for that event, and could zoom all the way down to a street level for the event.

My idea for interaction would be that the popup could show:

  • The rep holding the town hall
  • Date
  • 'More info' button' that would do the same thing as if you clicked on the icon itself.

That should keep it brief and let people move onto the place with more info.

Bug fixes on popovers

Basic maintenance work on the popovers:

  • Close existing googlemaps popover when opening a new one, to prevent overlaps that make it unreadable.
  • Upcoming Events popover should say "There are no notes for this event." instead of being blank if the notes field is empty.
  • Upcoming Events popover should behave consistently. When toggling between rows there's different behavior depending on if you click the text, the td, or the padding. All three should behave the same way.
  • Clicking out side of the upcoming events table should dismiss any open upcoming events popover. Going with close buttons instead, as that's how the map popovers work and I'd like to keep things from getting more divergent.
  • Standardize min width so they look more consistent.

Synchronize 'Tele-Hall' Value

There's currently a discrepancy in the dataset for meeting types between values for tele townhalls. They are either shown as Tele-Town Hall & Teletown Hall. We should pick one or the other and just use that.

sort by state search by rep

For these longer options I think we should dynamically create the list of what is currently represented in the database. For the reps, I think it makes more sense to do an autocomplete search field rather than a dropdown since it's going to be a longer list. Probably same for states.

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.