sunlightlabs / congress
- Source
- Commits
- Network (3)
- Issues (14)
- Graphs
-
Branch:
master
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Mobile app for tracking members of Congress through the news and their various feeds. — Read more
-
Using GovTrack's voting record API, add a 5th tab to the Legislator page that shows their last 20 votes from the current year. (The this-year restriction is because of GovTrack's per-year vote record API. When we switch this to RTC, this will hopefully vanish.)
Comments
-
For a state that's not in the list. No appropriate fallback state, I think.
Comments
-
I would like to see a feature where I could look up similar information about my state representative and senator, not just federal.
Comments
Me too. Sunlight has another project (also on Github) called the Fifty States project:
http://github.com/sunlightlabs/fiftystatesThe goal there is to write 50 parsers for the states, to get at legislators and bills at the state level. So, this feature is going to really only be possible once Sunlight has a good dataset and a hosted service, which is part of the project's plan. The Fifty States Project is a high priority Sunlight project and so this will definitely happen.
I'm going to leave this ticket open for a little while so more people can see and comment on it.
Great work on this -
Ideally, I'd like to see all levels of government. And my primary interest is in county & city levels. My overall sense of using this app is that there is lots of information. It seems that Issues become an alternative focus (but maybe that's another app). To be more clear, it might be effective to navigate by Issue.
In terms of more local data--- I found a .pdf from Cal's website (ca.gov) with the information about Elected Positions and City Officials; down to the city level, and it needs parsing. An alternative approach to get the info may be to crowd-source local government information (city and county officials) or approach it by Voting records.
When I put on my user/citizen's cap, I think of:
Social participation, feedback (moderated forums that have "an issue: pro/con"), search by "issue", and real-time "unofficial" voting.
Rather than one app encompassing federal, state, and local levels of government, I think the better thing, from both a development and user perspective, is to have separate apps. For example, you could fork the Congress codebase and do a California app that focuses on local issues and politicians.
For social interaction and voting and the like, that stuff requires a hosted web service - so I'm thinking about linking it up to OpenCongress, instead of duplicating all that work. But that's a ways down the road yet.
-
This'll be 1.1 - what's under 1.1 on the right will be 1.5.
Comments
-
Allow for local legislative bodies to be added.
Comments
-
Need a 72x72 icon.
Comments
-
Add in_reply_to flag on Twitter replies
0 comments Created about 1 month ago by klondikeReplies should be known to Twitter as replies.
Comments
-
Declare QVGA-friendliness and HVGA friendliness in manifest
0 comments Created about 1 month ago by klondikeI'm not sure it's showing up in the Market for the both of them.
Comments
-
Handle background tasks and dialogs properly on screen flip
0 comments Created about 1 month ago by klondikeNow that I know how to do this correctly, it's got to be done. Right now, if the screen is flipped during a network operation in a background thread, two background threads get spawned, and the network operation is done twice. Fortunately for this app, our network threads are all non-destructive GETs, but it's still wrong.
In addition, it means the post-execute handler of a thread gets called twice, and in the case of loading a legislator, this means that startActivity() gets called twice on LegislatorTabs, meaning that the user has to hit back twice (through a clone of the activity) to get out -- and if the user has window loading animations enabled, they'll visually see the LegislatorTabs activity zoom in (or whatever) twice.
Comments
-
Add "Extended Info" menu option/dialog on profile
1 comment Created about 1 month ago by klondikeIf the user wants more info, it'll appear in a dialog. Should be in the context menu on the profile page.
Alternatively, if this isn't discoverable enough, we can have it be "beneath the fold".
Comments
-
Move image downloads on shortcut creation out of UI thread
0 comments Created about 1 month ago by klondikeOn shortcut creation only, if we have to download the images from the network, the download happens on the UI thread. This should happen in the background, while a spinner spins.
Comments
-
Before market release.
Comments
-
AsyncTasks may not be destroying themselves correctly
0 comments Created about 1 month ago by klondikeThe debugger indicates they stay even after the LegislatorTabs activity has loaded.
Comments
-
App crashes when launched in trackball mode
1 comment Created about 1 month ago by klondike -
Shortcut popup duplicates on screen flip
0 comments Created about 1 month ago by klondikeTwo popup boxes appear, only the second one works.
Comments
-
Accept full state names, not just two letter codes
0 comments Created about 1 month ago by klondikeIn case somebody doesn't know the state code.
Comments
-
Prior to launch.
Comments
-
Show just URL domain, but link to full URL
0 comments Created about 1 month ago by klondikeInstead of removing the http:// and still trusting the autolink, have an actual link where the text is the domain, but the linked-to URL is the full thing.
Comments
-
It's out now.
Comments
-
Move avatars into the app's private cache directory
0 comments Created 2 months ago by klondikeThe images should be clearable from the cache for the app, and shouldn't show up in the regular photo gallery.
Comments
-
Test across small and large screen resolutions
1 comment Created 2 months ago by klondike -
Simpler, more robust, don't have to maintain my own.
Comments
-
Make custom BaseAdapters into custom ArrayAdapters
1 comment Created 2 months ago by klondike -
As displayed on the top of profiles, and on search results. e.g. "Jesse Jackson Jr."
Comments
-
Use the onRetainNonConfigurationInstance callbacks to store the array during a flip.
Comments
-
Add Twitter Settings to menu on Twitter activity
0 comments Created 2 months ago by klondikeThe Twitter Settings should be accessible from the menu from the Twitter screen.
Comments
-
Try:
BitmapFactory.decodeStream(bis)where bis is a BufferedInputStream over an InputStream from a URLConnection's getInputStream().
Comments
-
Menu option should read "Add To Contacts", and prepopulate a contact activity with the info we know about.
Comments
-
Show district and state on the list of search results
0 comments Created 2 months ago by klondikee.g.
MA-5
MA-Senior
MA-JuniorComments
-
Instead of hiding missing YouTube/Twitter tabs, show them with a message
1 comment Created 2 months ago by klondikeSo that people don't check out a legislator for whom we have nothing and conclude we only do news mentions.
Comments
-
Make the search result list a dialog themed activity
1 comment Created 2 months ago by klondike -
If there's only one search result, go right to the profile
0 comments Created 2 months ago by klondikeFor any type of search, don't show the user a list of one result.
Comments
-
I used the location feature in DC and Eleanor Holmes Norton came up. Success! However, when I went home in MD and used the location feature, Eleanor repeatedly showed up instead of my members of Congress.
Comments
-
The app right now will cache these missing photos and then never look for the replacements. However, there's no way for the phone to tell when it got a "No Photo" and when it got an actual photo.
To solve this, we'll expire our cache after a month. If photo's last modified time was more than a month ago, re-download it.
Comments
-
If the user has location detection entirely off, we don't want the button to just stay disabled without any idea of why. Provide a way for the user to request searching by location, and to take the user to the GPS settings screen if it's off.
Comments
-
Using the GPS, instead of just network activity, may disable the location button
Comments
-
This should open up the Gmail compose screen with the subject filled in, and the To address being an alias we create in-house to receive feedback.
Comments
-
On LegislatorTabs, make the window title the name of the legislator
1 comment Created 2 months ago by klondike -
Make LegislatorTabs fail more gracefully with no network connection
1 comment Created 2 months ago by klondike -
Store legislator info in savedInstanceState on LegislatorTabs
1 comment Created 2 months ago by klondike -
Flipping twice when Twitter Reply popup is open causes force close
1 comment Created 2 months ago by klondike -
You can fit all the info in one screen if you have a different layout for landscape mode.
Comments
-
Rotating the screen while a dialog is active is not handled properly
1 comment Created 2 months ago by klondike -
Once you open a legislator's tab activity, set the window's title to their name.
Comments
-
Shortcut choosing interface should be small, dialog, quicker
0 comments Created 2 months ago by klondikeMake a quicker and smaller shortcut choosing process.
Comments
-
Main Menu:
- Preferences - AboutProfile and other tabbed activities:
- Call - Visit WebsiteComments
-
Something a little nicer, clearer, and with icons.
Comments
-
Take the legislators for whom we have no twitter account, and get to Googling for them.
Comments
I'm in-progress on this, after writing a basic Google-search-and-scrape-for-leads script.
Need to email one person, and call back 3. Have anywhere between 42 and 46 new names collected so far, and confirmed.
-
Use the Senate Hub and House Hub to increase our data stores on legislator YouTube accounts.
Comments
-
Charlie Rangel's tweet list becomes gradually unresponsive to clicking. This is extremely alarming.
Comments
-
Tweet timestamp for more than a couple weeks ago should use mm/dd
0 comments Created 2 months ago by klondikeThe format of timestamps on old tweets should drop the "days ago" syntax.
Comments
-
Sweep the app's code looking for places to optimize performance. Bear this document in mind:
http://developer.android.com/guide/practices/design/performance.html
Comments
-
-
As a long press menu item.
Comments
-
As a long press menu item.
Comments
-
As a long press menu item.
Comments
-
Long press menus on News, YouTube, and Twitter lists.
Comments
-
An About screen, accessible via the context menu on the MainMenu activity, should have Sunlight Labs' logo, URL, link to the source, and whatever other attributions we want to make (Yahoo! News API, Sunlight Labs API, at the least).
Comments
-
This screen should introduce users to the app and say what they can do with it.
Should mention the ability to create shortcuts, and to reply to tweets.
Comments
-
Activities with non-UI threads must pause/resume correctly
1 comment Created 2 months ago by klondikeFlipping the keyboard on any of the screens which do network activity in an external thread and bring up dialogs, will bring up the dialog again and it will not end.
Moreover, we shouldn't need to re-do any network activity when flipping, information should be saved and restored.
Comments
This problem has been fixed for the simplest and most awful case - when the activity has loaded and the dialog has faded, rotating the screen would cause the dialog to reappear and never be dismissed. For non-cancelable dialogs, this is tragic. This situation is fixed, but the problem of rotating the screen while the dialog is still present has not been addressed. A separate ticket will be opened for this.
-
Right now it force closes on attempts to reach the network, if the user is offline. Not acceptable.
Comments
There are no longer any force closes, all offline network connections are handled gracefully.
The main LegislatorTabs activity, though, there's not a good way to handle it all that gracefully without disrupting the tabs set up. It exits the activity with a Toast, for now. That part of the issue can be done for 1.0, under a new ticket.
Re-opened to make sure that posting to Twitter also works gracefully.
-
Unsquash them.
Comments
-
On the legislator profile, we need a better regex or way of displaying URLs. Check out Barney Frank's profile for an example.
Comments
-
...not bring existing activities to the front.
Check out these two flags, one of them is appropriate:
http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_MULTIPLE_TASKComments
-
It's broken in portrait mode at least - check out Del. Norton.
Comments
-
Make sure app works and has good layout in landscape mode
1 comment Created 2 months ago by klondike -
Show something if no news can be found about someone
0 comments Created 3 months ago by klondikeWhen doing a news search, and there are no results, don't just show a blank screen.
Comments





Ignore this for now.