Representative detail
Created by: njoyard
See https://github.com/political-memory/political_memory/wiki/Guidelines-for-design-v3-migration
Representative detail page has a common header with info on the rep and tabs on the bottom. Each tab has a different URL.
Features:
-
Representative header -
Photo + name -
Score badge + trend -
Chamber, country, party -
Bio -
Contact badges (social networks, websites, phones, addresses, emails, parl pages)
-
-
Votes tab -
Show scores by dossier -
Dossiers can be unfolded to show individual votes (with recommendation, position and score, + a placeholder for an infobox that tells why that vote awarded so many points)
-
-
Mandates tab -
Cards for each mandate, with bigger cards for main kinds (list of main kinds should be configurable) -
Two columns : current, former mandates (former mandates are all small cards ? in case there are more of them)
-
-
Positions tab (to be refined) -
Display positions as small cards -
Cards have badges for themes -
Cards show details on click (popup ?)
-
Postponed:
- Initially shows all dossiers but allow filtering by theme
- Radial graph with score on each theme (the scale for each theme is worst mep to best mep score)
- Position score badges
- Placeholder for piphone call button when ongoing campaign
- Position columns by kind (amendment, parl debate, social post, press) (need to add kind)