tigeorgia / shenmartav

Website for shenmartav.ge
GNU General Public License v2.0
3 stars 9 forks source link

Link vote summary info on detail page to vote records #81

Closed ddohler closed 12 years ago

ddohler commented 12 years ago

Can we link the stats under the Vote Counts section of the MP detail page to the appropriate sections of the voting records for that MP? Tony suggested that because voting against one's party in the Georgian Parliament is so rare, that it will be very interesting if we find an MP who has done it, and so we would want to easily be able to click on the relevant item to jump to the voting record and see which law it was. For example, clicking "Against" would take you to the start of the section of voting records where that MP voted No.

sebastiantransparency commented 12 years ago

yes, it should be possible. voting records are loaded only after the user clicks on 'Voting Records', so that would have to happen when clicking 'Against' and then scrolling to the relevant section will have to be implemented.

ddohler commented 12 years ago

If it would be easier, I think it would be fine to jump to a new page when users click this way, rather than loading the voting records in-line, and then anchor tags could be used.

sebastiantransparency commented 12 years ago

indeed, it would be a bit easier (although it could just be a matter of an hour or two - scrolling to the right position might be a bit tricky). what i like about the new page though, is that it focusses your view on the voting record.

ddohler commented 12 years ago

Yeah, I agree, let's do a new page; I think it would be a bit strange to click something in the lower right, and then to have the voting records auto-expand and scroll in a different part of the page; a new page will be more natural.

sebastiantransparency commented 12 years ago

done