openownership / openownership.org-wagtail

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

Create region pages to show descriptions of the work Open Ownership is doing #350

Closed StephenAbbott closed 11 months ago

StephenAbbott commented 1 year ago

Once work has been done to add an additional rich text description field to country pages in the OO Wagtail CMS (see https://github.com/openownership/openownership.org-wagtail/issues/349), we would like to create regional summary pages which pull from existing Notion fields to give a quick overview of the work Open Ownership is doing across the world.

Separate region pages should be created for each of the regions we have in the existing CMS:

Following the URL pattern set for the Open Ownership Map and underlying country pages, the URL for each of these regional pages should be openownership.org/en/map/region/NAMEOFREGION

The region page could follow the Tag page layout/design and should display a list of countries where the country has the region ticked in the Regions list and also has something in the OO Support field from Notion. Countries where OO Support is blank should not be displayed.

For each country belonging to that region where OO Support is filled in, the name of the country should be displayed on the region page which should link to the country page URL. Under the name of the country, the rich text description field should be displayed which summarises the nature of OO's current support to the country (see https://github.com/openownership/openownership.org-wagtail/issues/349).

It would also be useful for the Open Ownership team to be able to add an optional blurb/description text field at the top of the page under the region name to explain the information showing up on the page.

Open Ownership and Hactar should discuss how best to flag the existence of these regional pages from the Open Ownership map page. Perhaps a new section should be added under 'Find a specific country' entitled 'Learn more about Open Ownership's work' followed by links to all the regional pages?

Or would this be confusing for users as it may look like it duplicates both the text and the accordion functionality of the 'Find a specific country' section? Advice welcome...

StephenAbbott commented 1 year ago

Ideas from team discussions about how to link to the region pages:

To discuss further...

StephenAbbott commented 1 year ago

Recommendation from Gemma:

My recommendation would be to have light-touch region pages where you can talk about the team, add their contact and a ‘latest from’ that team/region, but don’t go too deep on content so it’s not silo’d and reflecting internal structures. You want to keep your work as ‘work of OO’ as a whole. We can also put a block on any page that says ‘this is by this region team’ and link through to that team’s about page.

philgyford commented 1 year ago

Breaking down what I need to do for this:

philgyford commented 1 year ago

@StephenAbbott Dumb question, but I'm a bit rusty on some of the basics of this project – when you say "The region page could follow the Tag page layout/design" can you give me an example of what you mean by a "Tag page"?

StephenAbbott commented 1 year ago

@philgyford Here are some tag pages: https://www.openownership.org/en/principles/verification/ https://www.openownership.org/en/topics/beneficial-ownership-data-standard/

philgyford commented 1 year ago

On the 350-region-pages map-countries-regions branch, the backend is working and generates pages like this at URLs like /en/map/region/europe/:

Screenshot 2023-09-07 at 13 57 18
StephenAbbott commented 11 months ago

@philgyford @ohhelloana Great to see the region pages on our staging website: https://openownership.hactar.work/en/map/region/africa/

Issue to raise: the description text next to each country's name is pulling in text from the 'Blurb' field from the Notion country details in Wagtail - but we actually want to pull in text from the new 'Open Ownership Ongoing Work Body' field which was added as part of https://github.com/openownership/openownership.org-wagtail/issues/349 cc @HollieWilmot

HollieWilmot commented 11 months ago

Thanks Stephen! I've just been testing the map, country and region pages myself this morning so there are a couple of things to fix.

I'm glad you've raised that issue, as I had on my list: Question for Stephen: It feels repetitive saying ‘ Find details about commitments to and implementation of beneficial ownership transparency reforms. So that solves that!

HollieWilmot commented 11 months ago

Hi Stephen, I've sent updates on the map and country pages. The update for the region page will be a task for @philgyford when he's back in on 6th so I've assigned this ticket over to him for now.

StephenAbbott commented 11 months ago

Thanks @HollieWilmot

HollieWilmot commented 11 months ago

Second task for Phil on region pages: Show no text next to the country name if the OOO Work Body field is not filled in.

philgyford commented 11 months ago

I've done that (just pending being moved to staging).

I was slightly confused by the "two" tasks though, so hopefully I've done what's required.

It was showing the blurb for each country, if it had one.

Now it's showing the oo_ongoing_work_body for each country, if it has one.

I'm not clear why "Show no text next to the country name if the OOO Work Body field is not filled in." is a second task - it already wasn't showing anything if blurb (and now oo_ongoing_work_body) wasn't filled in.

HollieWilmot commented 11 months ago

This update is now live on staging to check @StephenAbbott. I had a look and it seems like only Kenya has some blurb. Does that seem right?

StephenAbbott commented 11 months ago

@HollieWilmot Yep. I've only added the Kenyan blurb in the staging version of the Notion country editing section so that sounds right to me.

We've got a lot more blurbs in production (see examples below): https://www.openownership.org/en/map/country/united-kingdom-of-great-britain-and-northern-ireland/ https://www.openownership.org/en/map/country/nigeria/

StephenAbbott commented 11 months ago

Signed off ✅