openownership / openownership.org-wagtail

Open Ownership Wagtail site.
Other
1 stars 1 forks source link

Update design for Open Ownership country pages #398

Closed StephenAbbott closed 10 months ago

StephenAbbott commented 11 months ago

The Open Ownership country pages display a large amount of the information that Open Ownership holds in our internal Notion databases on the state of beneficial ownership transparency in a particular country. They also display content tagged to that country which Open Ownership has published.

NB: The country pages are not created as normal Wagtail pages at present as they mainly draw information from Notion. This should be taken into account if we want to make design changes as it may be more difficult to - for example - add child pages in Wagtail under a main country page if the country page is not a full Wagtail page.

As part of our work to 'Update design for the Open Ownership Map' (see https://github.com/openownership/openownership.org-wagtail/issues/397), we would like to do a small redesign and reorganisation of the information shown on the Open Ownership country pages. Below is a list of the new changes we'd like to see as well as the existing functionality we'd like to retain:

New functionality requests

Existing functionality to retain

StephenAbbott commented 11 months ago

When considering tweaks to the country page designs, it would be great to factor in the possibility that the Open Ownership team might want to add additional sections to the pages in future.

The technical work has already been done to potentially add legislation details in future (see https://github.com/openownership/openownership.org-wagtail/issues/127) and we have also discussed adding a 'data use' section to showcase projects or stories which make use of data published by that country.

The data use requirements have not been specced out yet and are not in scope for this tech sprint - but good to consider how additional content sections might best be added to the country pages in future.

philgyford commented 11 months ago

@ohhelloana I added a bit at the top of country.jinja demonstrating how to use the new country.category and country.category_display fields that will be needed for this page. You can't miss it :) Shout if you need more info.

HollieWilmot commented 11 months ago

@ohhelloana as discussed, please render table rather than have it hideable under show further detail.

Commitment details text to be hidden on first load behind the 'Show further detail' button.

HollieWilmot commented 10 months ago

Internal Testing feedback @StephenAbbott fyi

Hollie to check with @StephenAbbott: What should we display in cases where the country doesn’t fall under any category i.e https://openownership.hactar.work/en/map/country/tonga/

StephenAbbott commented 10 months ago

@HollieWilmot

For countries like Tonga which are not in the Planned, Implementing or Live register categories, can we hide the white categories/details box on the country pages? If not and we need to display something, could we display the following text 'This country has not made any commitments relating to beneficial ownership transparency'.

HollieWilmot commented 10 months ago

Thanks Stephen! I've made a note on the designs re 'Consultants details' to disregard.

HollieWilmot commented 10 months ago

Hi Stephen,

The country pages have been updated and are now ready for you to review, examples below:

Planned: https://openownership.hactar.work/en/map/country/peru/

Implementing: https://openownership.hactar.work/en/map/country/canada/

Live Register: https://openownership.hactar.work/en/map/country/united-kingdom-of-great-britain-and-northern-ireland/

No Category: https://openownership.hactar.work/en/map/country/tonga/

StephenAbbott commented 10 months ago

@HollieWilmot Thanks Hollie. All of these look great. One tiny text issue (my fault!). Could we add a full stop to the end of the No Category text so that it is 'This country has not made any commitments relating to beneficial ownership transparency.' as all the other explanatory text snippets have full stops and it'll bug me if the no category one doesn't 😄

HollieWilmot commented 10 months ago

As discussed on emails we will no longer be changing the left hand nav on the Country pages.

HollieWilmot commented 10 months ago

Full stop now added on the end of 'no category' text.

StephenAbbott commented 10 months ago

Thanks @ohhelloana and @HollieWilmot

StephenAbbott commented 10 months ago

Signed off ✅