Giter Club home page Giter Club logo

dedline-io's Introduction

πŸ‡ΊπŸ‡ΈπŸ—³ Dedline.io πŸ‡ΊπŸ‡ΈπŸ—³

This repo is for Dedline.io, an open source application for tracking and sharing US voter registration information and deadlines.

dedline-io screenshot

All this code/info, including the JSON file that has all the 2022 voter registration deadlines (to my knowledge) is available for open source. My hope is that at least this data is helpful in getting the word out to get people registered to vote.

To run:

You should have Node and npm installed on your machine!

npm install
npm start
// The project should then be running on port 3000.

This project was bootstrapped with Create React App, is built on React, and the routing's done with React Router v6.

Issues

Feel free to open any issues or updates in the issue section. Doesn't have to be just code related (although that's appreciated!), can be copy/design/product related, anything that you think might help make this project more helpful to others.

Contributing

Contributions are appreciated and welcome! Thank you for considering contributing to this project.

  1. Fork this repo and create your branch from main.
  2. Feel free to create whatever changes that you think will benefit the project (and/or address any issues that are open!), please make sure that your code is formatted to pass any linting tests and that it runs!
  3. Go ahead and open a PR!

Contribution Guidelines

Be nice!

Contact

[email protected]

dedline-io's People

Contributors

dependabot[bot] avatar jessicaonly avatar valfaro123 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

dedline-io's Issues

Support different languages

Is your feature request related to a problem? Please describe.
Dedline.io would be more accessible if it supported different languages!

Describe the solution you'd like
We could localize the app using a library like React-i18Next or FormatJS.

Additional context
We'd just need someone to translate the text!

User continues to get redirected to state-specific page if they've given access to their location after renavigating to main page

Describe the bug
Once the user's entered in their location, if they hit the website again, it loads for a minute and then automatically redirects to the state they entered it to begin with.

To Reproduce

  1. Open dedline.io in a new incognito window.
  2. Allow access to your location; the website should redirect to your state.
  3. Close that tab, then open dedline.io in a new tab (in the same incognito browser)
  4. You'll see the website load for a minute, then redirect to the state's voter registration info.

Expected behavior
Either, we should give the user some sort of reminder that we've grabbed their location, or maybe only do the location-based redirect once (or maybe we should get rid of this feature altogether?) and store that as a boolean in localstorage -- the next time the user hits dedline.io, we can make it so that they have to actually go through the flow to pick the type of election and state (since, if they're just hitting the base URL, maybe they don't want to be redirected to their state every time?)

Add link to bottom of site to contribute to Dedline.io project

Is your feature request related to a problem? Please describe.
Would be cool to have some sort of link at the bottom of the page, inviting members to contribute to this project!

Describe the solution you'd like
A link that links back to this repo.

Additional context
Any other suggestions are welcome, to get some more engagement!

Remove defaulting to 'primary' election after user uses geolocation

Describe the bug
If the user uses geolocation, the app defaults to the 'primary' info (instead of letting them choose themselves). This was useful when it was in the middle of primary season, but since the general elections are coming up, we might want to remove this (or remove the geolocation feature all together).

To Reproduce
Open dedline.io in a new incognito tab
Allow geolocation
Observe that the primary information is automatically rendered.

Expected behavior
I guess we should still allow users to pick primary or general? Or maybe, once all the primaries are over, default to the general to be automatically selected?

Keyboard pops up when user tries to change state on iPhone

Describe the bug
Once the user tries to change their state (via the select dropdown), the keyboard pops up (on an iPhone)

To Reproduce
Steps to reproduce the behavior:

  1. Hit dedline.io on an iphone
  2. Try to select a state with the dropdown
  3. See that the keyboard pops up (and kinda blocks your view!)

Expected behavior
I think the keyboard shouldn't show up!

Build an API of states' registration info

Is your feature request related to a problem? Please describe.
If we make an API of the states' registration info, then other people/projects can use it!

Describe the solution you'd like
An easily accessible RESTful API of states' voter registration deadlines/voting dates.

Additional context
Doesn't even have to be in this repo - would just be nice if it existed!

Create a Reddit bot for this project

Is your feature request related to a problem? Please describe.
This info is the kinda thing that's shared via Reddit bots quite a bit! Would be cool to create a Reddit bot that links to dedline.io!

Describe the solution you'd like
Maybe could program the bot to post when people talk about registering to vote or vote (in the US)?

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.