mysociety / theyworkforyou

Keeping tabs on the UK's parliaments and assemblies
http://www.theyworkforyou.com/
Other
224 stars 50 forks source link

Restructure profile pages #1736

Open ajparsons opened 7 months ago

ajparsons commented 7 months ago

We have a bit of a mixed structure on the MP profile page at the moment. We roughly have a “short content” summary pages with multiple boxes, and related views for longer content ‘recent votes’ and ‘Voting record’.

The problem with this is we have two navigation bars - one for within the page, and one linking out to the other views. Where something to do with ‘votes’ appears three times.

image

I think we want in the long run to be cutting down this page until we just have the ‘profile’ content (with potentially some new language explaining the sections), But we can work in bits to get there - described in separate tickets.

Relates to https://github.com/mysociety/theyworkforyou/issues/1712 as having a clear pattern on how we can add boxes/pages would be useful. (even if it’s just a simple pattern we can copy rather than a complicated approach).

Related tickets: