govtrack.us-web
govtrack.us-web copied to clipboard
Libertarian Party not handled when displaying vote details
https://www.govtrack.us/congress/votes/116-2020/h252

Looks like the code was written to call out DIR explicitly and defaulting to unstyled/full name otherwise, presumably to quickly implement the functionality without having to deal with historical data: dcb22abeb270ed7dde56b9f355f0bc9e4023abf6 dda0e212246f4f28f1023b0b2be01fdcbc8ae12d
Support should be added for displaying L in a yellow box, using class party_L. Wikipedia uses #FED105. Their logo uses #FFD03C and #56565B.
https://github.com/govtrack/govtrack.us-web/blob/77643f3e81a8fc44856985013102528c22dd3319/static/css/all.css#L446-L466
Here's a mockup of what it could look like:

(FWIW, Wikipedia also has colors for historical parties.)
Hey @GPHemsley! Good point, though with Amash leaving this isn't super high priority, but I will try to fix it since the pages live forever. :)
I expect in the long run he won't be the only one. ;)
Plus he seems to be the first in recent memory to switch to a non-independent 3rd party while in office: https://en.wikipedia.org/wiki/List_of_United_States_Representatives_who_switched_parties
The other two on that list worth looking into are Franklin D. Roosevelt, Jr. (Liberal) and William Carney (Conservative), both of whom appear to have originally been elected thanks to New York's fusion voting.