trumptracker / trumptracker.github.io Goto Github PK
View Code? Open in Web Editor NEWOpen source for http://trumptracker.github.io/
License: MIT License
Open source for http://trumptracker.github.io/
License: MIT License
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.
And as always, thank you for your contribution.
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:
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.
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.
Thoughts? might be too far-fetched.
to test - change status
in _data.json to one of the following options and then search for it using main-nav
.
broken
=> danger
class
achieved
=> success
class
paging @MattSandy
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.
A Spanish Version of the _data/data.yaml file
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
And as always, thank you for your contribution.
Here are a few more resources which could help in the fact-checking process below:
Resources:
Some commit broke the search function, the headers say 'undefined'.
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!
Each policy should have a video clip of the promise
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.
@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?
Several items (particularly on the 'International' tab) are statements of Trumps' beliefs, rather than promises about what he will do. For example,
Add Comment section linking to /r/trumptracker on each policy on the right-hand side. Keep comments off the site to avoid toxicity + speed of the site.
We should add information like available status codes to the readme to help people more easily contribute.
282 promises in one list:
‘I will give you everything.’ Here are 282 of Donald Trump’s campaign promises.
I'd like to hear back on the data structure from #66 before making a PR to integrate all these. Note, use this article as one source, but also ensure the linked sources are also included (PR #66 handles multiple sources per promise). I'd recommend using an archive.org link, especially on sites that are prone to change.
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'.
(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.
Can we have a feature to sort by what status the promise is? Thanks.
To Do
From Google : Trump issues
An RSS feed would be excellent for updates.
Can you make labels like In Progress/Achieved/Broken clickable and therefore acting as filters? Like the TrudeauMetre does?
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! 👍
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...
Whath about to create a more generic repo to make monitoring in every country?
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.
This probably the most thorough tracker out there, but it hasn't been updated to reflect Trump's changes.
Trump has "in progress" two of his goals (funding the construction of the wall on the Southern border and repealing/replacing? the Affordable Care Act.
Trump has achieved his withdrawal from the TPP (http://asia.nikkei.com/Spotlight/Trump-era-begins/US-announces-withdrawal-from-TPP).
Thank you
From /u/TheCopyPasteLife
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 :)
hasn't updated yet, will need to review code in the morning.
Formatting errors examples on site:
Against the H-1B visa program.
Pick Supreme Court justices who are "really great legal scholars."
It's unclear where Trump stands on "first use," or if he'd be willing to strike first.
Overturn Roe v. Wade, then let states decide it.
Defund Planned Parenthood.
It doesn't matter, people make mistakes.
It's OK that Trump's running mate voted for the Iraq war, but it's not OK that Clinton did.
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.
Hey, I personally disagree with marking "Suspend immigration from terror-prone regions where vetting cannot safely occur. All vetting of people coming into our country will be considered extreme vetting." as completed, I feel that it should be in-progress. What is your reasoning behind this?
See the following:
https://www.cato.org/blog/guide-trumps-executive-order-limit-migration-national-security-reasons
Thanks!
submitted by /u/WltsMXaBSd1024
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?
I promise that within weeks of my Administration being sworn into office, I will see to the approval of Poland in the Visa Waiver Program.
http://abc7chicago.com/politics/donald-trump-campaigns-in-chicago/1530093/
Referencing https://www.trudeaumetre.ca/analytics
Great idea, fantastic implementation. Would definitely like to implement this for the first 100 days at least.
Thoughts?
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 :)
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)
Below are a few policies submitted by users which could potentially be added to the site.
Will need further dicussion though.
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 (?)
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
Sources:
Status: Broken
Sources:
There is already a pre-existing promise of the Obamacare repeal so I'm not sure if this fits in.
Status: Broken
Sources:
Status: Not started
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
See https://github.com/TrumpTracker/trumptracker.github.io/blob/master/_layouts/page.html#L211, it just outputs <a href>
for some reason. You can test it by searching something in the upper bar, and clicking one of the categories.
So there can be some kind of fact check
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
And as always, thank you for your contribution.
We removed a few sources, changed a few words around and need a little bit of help migrating to the new format structure.
help needed! v3 awaits!
Please note this archive of videos http://archive.org/details/trumparchive&tab=about
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.
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.