GithubHelp home page GithubHelp logo

trumptracker / trumptracker.github.io Goto Github PK

View Code? Open in Web Editor NEW
341.0 24.0 123.0 1.29 MB

Open source for http://trumptracker.github.io/

License: MIT License

HTML 95.76% Ruby 1.98% CSS 0.59% JavaScript 1.67%
politics policy open-source open-data jekyll

trumptracker.github.io's People

Contributors

alanfriedman avatar bardiharborow avatar benapetr avatar coliff avatar dannguyen avatar evanlovely avatar gitter-badger avatar gjtorikian avatar hysmagus avatar illepic avatar iprodigy avatar jayrav13 avatar mattsandy avatar mhenry avatar mhumesf avatar mrluit avatar octos avatar scottdj92 avatar timcason avatar trumptracker avatar unitof avatar virenmohindra avatar wqrld avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

trumptracker.github.io's Issues

Fact Checking UI

Hey! I think the general UI implications for your fact checking could use work.

Each topic begins with a header that links to the source of the issues. This is problematic because it implies that each issue set may be associated with at most 1 source. In the event I want to pull policies from more than one article, there is no mechanism for doing this.

I recommend a more wikipedia-style citation structure. That way each entry or issue can be associated with one or many sources.

Cheers!

Consider using prose.io for managing/editing data

Prose.io is a platform that was designed to offer a nice non-technical UI on top of the GitHub pull-request system, so that non-technical end-users could modify jekyll-based websites.

https://developmentseed.org/blog/2012/june/25/prose-a-content-editor-for-github/

It tries to run so that the client code interacts as closely as possible with the github api, and uses only the slimmest of gateways to coordinate user authorization.

There are two approaches to using Prose:

  1. If you want to use it in it's stock form for content management, just add edit/submit links that point to the proper prose.io url, and users will get a nice form instead of needing to submit PRs or custom webforms. You can customize the prose form with metadata in the project root. This approach uses the existing authorization gateway hosted by the devs.

  2. If you want the edit/create forms to be on your own jekyll site (ie. no links to prose.io urls for content management). This approach requires self-hosting your own "authorization gateway". A sample of this approach would be the JKAN project.

Help for mobile responsiveness

Description of your issue, suggested solution and other information

Mobile site of TrumpTracker looks terrible, mainly because of the category and status columns taking up unnecessary space.

One option would be to remove both of these with CSS breakpoints or remove them altogether from the site, even the desktop version.


Make sure you are using the latest version: pull latest commits before reporting any issues.

  • I've verified and I assure that I'm looking at the latest version of Trump Tracker.

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably the To Do List section.
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with the trumptracker website)
  • Site support request (request for adding support)
  • Feature request (request for a new functionality)
  • Question
  • Other

And as always, thank you for your contribution.

Several items are not promises

Several items (particularly on the 'International' tab) are statements of Trumps' beliefs, rather than promises about what he will do. For example,

  • "Israel is the state of the Jewish people, who have lived in that land for 3,500 years. The State of Israel was founded with courage and determination by great men and women against enormous odds and is an inspiration to people everywhere who value freedom and human dignity."
  • "Clinton voted for the war, so she has bad judgment."

"Submit a new policy" button is not working

I don't know if this came up before... Sorry if that's the case! The typeform window didn't pop up on my Chrome, IE or my phone. I can try fixing it tonight or tomorrow if no one wants it. (The actual form seems to be working tho)

Formatting Errors of Table

Formatting errors examples on site:

  1. Against the H-1B visa program.

  2. Pick Supreme Court justices who are "really great legal scholars."

  3. It's unclear where Trump stands on "first use," or if he'd be willing to strike first.

  4. Overturn Roe v. Wade, then let states decide it.

  5. Defund Planned Parenthood.

  6. It doesn't matter, people make mistakes.

  7. It's OK that Trump's running mate voted for the Iraq war, but it's not OK that Clinton did.

  8. Get rid of Common Core because it's "a disaster" and a "very bad thing." Trump says he wants to give local school districts more control and might even eliminate the Department of Education.

Open site up to all actions, not just limited to promises

Hi, I think this is a great project and thank you for developing it. I wonder if expanding it to track all of this actions, not just his promises would add value. It could track his executive actions, legislation, deals etc and the promises list could still be maintained and cross referenced with that "feed". A centralized, chronological and annotated list would be highly valuable in this noisy media landscape! 👍

Navbar on mobile still has line separators -- check deprecated version for fix

Description of your issue, suggested solution and other information

Mobile navbar needs to be cleaned up.

Make sure you are using the latest version: pull latest commits before reporting any issues.

  • I've verified and I assure that I'm looking at the latest version of Trump Tracker.

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably the To Do List section.
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with the trumptracker website)
  • Site support request (request for adding support)
  • Feature request (request for a new functionality)
  • Question
  • Other

And as always, thank you for your contribution.

Better visibility for colors + better filtering

  • Feature request (request for a new functionality)

Description of your issue, suggested solution and other information

(Emailed Request)

a) Could you make the red and green colors a bit stronger so they would be better visible?

b) also, it would be great if you could add an additional number or letter code for your 4 categories in a separate column to the right of each promise, so one could filter or sort them by that?

Serial Number ID could work, or revamp.

Use placeholder when loading dynamic data

Sometimes the page can take awhile to load. My first load (admittedly when my computer was chugging along) took 10 seconds. This was what I saw during that time: https://imgur.com/OmQ5Xbx.png

Would be great if the placeholder text was something more indicative of the loading process :)

Just thinking dimmed text saying something like "loading..." or whatever

Consider adding "Partially Achieved".

Trump never got rid of gun-free zones in schools on his first day. His promise is never going to be completely fulfilled. However, he could still accomplish it a few days from now.

I propose adding the category "Partially Achieved" for promises he never completely fulfilled, but never completely broken.

Labels clickable?

Can you make labels like In Progress/Achieved/Broken clickable and therefore acting as filters? Like the TrudeauMetre does?

Make it dynamic

This is great but like you said, would benefit from not having everything hard-coded. I'd suggest a simple static site generator like Jekyll with the "promises" being pulled from a JSON list.

I'm happy to submit a PR if you're interested in taking that route.

Search broken

Some commit broke the search function, the headers say 'undefined'.

Sub-heading search, uppercase word issues

@MattSandy the sub-heading search has the same persistent issue which was present in the global headings, i.e, the fact that users cannot search with auto-capitalized words. Repeal doesn't work while repeal does. Maybe we can refactor the JS code so it's DRY?

Make it so users can sort by date achieved?

Description of your issue, suggested solution and other information

This could be useful. It would make it easier to track changes from day to day, as many times I go on the page only to realize I don't know what is new and what was already there.
Just a suggestion, not sure how easy/hard it would be to implement, if possible at all.

by /u/Onlyusemeusername from /r/trumptracker


Make sure you are using the latest version: pull latest commits before reporting any issues.

  • I've verified and I assure that I'm looking at the latest version of Trump Tracker.

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably the To Do List section.
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with the trumptracker website)
  • Site support request (request for adding support)
  • Feature request (request for a new functionality)
  • Question
  • Other

What's the current planned way to manage Promises?

I'd like to contribute as this seems like an interesting project - were you planning to include some sort of CMS to manage the promises? I think a flat-file CMS might be good here - simple and easy to manage.

Add a delayed section

Description of your issue, suggested solution and other information

I would like a way to show if the goal was still accomplished, despite that it wasn't on the first day in office. For example, #86 is under progress currently, but was not accomplished on the first day in office. If it is accomplished, adding a way to show #86 as not broken, but delayed would be helpful

Make sure you are using the latest version: pull latest commits before reporting any issues.

  • I've verified and I assure that I'm looking at the latest version of Trump Tracker.

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably the To Do List section.
    -[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with the trumptracker website)
  • Site support request (request for adding support)
  • Feature request (request for a new functionality)
  • Question
  • Other

And as always, thank you for your contribution.

Filter by completion status

It would be nice to be able to filter on completion status, e.g. 'show me all broken promises' or 'show me all achieved promises'.

Continuous integration/deployment via TravisCI or CircleCI

Although master is always "live" on Github Pages, CI/CD integration would let us incorporate automated tests and would be a good time to run the bot script to create Reddit threads when new promises are added.

I'll submit a PR shortly...

RSS Feed?

An RSS feed would be excellent for updates.

Policies and Promises which haven't been added yet (User Submitted)

Description of your issue, suggested solution and other information

Below are a few policies submitted by users which could potentially be added to the site.
Will need further dicussion though.


What is the purpose of your issue?

  • Bug report (encountered problems with the trumptracker website)
  • Site support request (request for adding support)
  • Feature request (request for a new functionality)
  • Question
  • Other

1. Promised To Save Carrier Plant In Indiana eff4776

Sources:
- http://www.theindychannel.com/news/call-6-investigators/trump-if-im-president-carrier-wont-move-to-mexico
- http://www.politifact.com/truth-o-meter/promises/trumpometer/promise/1415/save-carrier-plant-indiana/

Status: Achieved (?)


  1. Releasing Tax Returns

Sources:

TRANSCRIPT from: https://www.nytimes.com/2016/09/27/us/politics/transcript-debate.html

HOLT: Mr. Trump, we’re talking about the burden that Americans have to pay, yet you have not released your tax returns. And the reason nominees have released their returns for decades is so that voters will know if their potential president owes money to — who he owes it to and any business conflicts. Don’t Americans have a right to know if there are any conflicts of interest?

TRUMP: I don’t mind releasing — I’m under a routine audit. And it’ll be released. And — as soon as the audit’s finished, it will be released.

Shaky at best though, he said he doesn't mind releasing.

Status: Broken


  1. Declare China a currency manipulator on his first day in office

Sources:

Status: Broken


  1. Negotiate for lower drug prices for Medicare -- During the campaign, Donald Trump promised to let Medicare negotiate bulk pricing discounts for prescription drugs. Today, after meeting with pharmaceutical industry lobbyists and executives, he has backed down from that promise.

Sources:

There is already a pre-existing promise of the Obamacare repeal so I'm not sure if this fits in.

Status: Broken


  1. Open up libel laws to better target the 'dishonest media'

Sources:

Status: Not started

Use a more "dignified" photo of Trump

Not sure your politics, but I would think it might be worth using a Trump photo on the front page that is a little more neutral. The current photo seems to want to convey him as "unpresidential", and will likely make anyone who sympathizes with him (ie. 48% of voters) assume the site is biased against him.

Let's make a small change that will make those folks a little bit more likely to stay on the the website :)

Technicalities involving time constraints

How technical will Trump Tracker be on the president's promises? Will promises involving time constraints which are directly mentioned like on the "first day" be held to that time in terms of completion status?
I really like this project idea! Will future promises made be added on or is it just campaign promises?

Other Significant Resources

Font Size is too small

Hi.
Just a request. Since most of the site is going to be text-based, can you re-style the jekyll files to blow up the font-size to at least 16 or 18 on tablets and computers?
14px is just ridiculous to have for body text in 2016. A bigger font size will make the viewer's eyes more relaxed while reading :)

Opendata Production

If is possible link all raw data of promises on the website in order to make them open. Should be nice to have also Creative Commons licence to define the term of reuse.

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.