ministryofjustice / find-moj-data

Find MOJ data service • This repository is defined and managed in Terraform
https://find-moj-data.service.justice.gov.uk/
MIT License
5 stars 0 forks source link

Design: call to action on details pages #951

Open MatMoore opened 1 month ago

MatMoore commented 1 month ago

Problem

On chart pages, the main call to action is "access this data", which appears below the chart details.

However, there is also "request access" in the sidebar. These two actions are related, and if the chart is public, then the request access one is redundant.

At the moment, all charts are public, and display some default text under "request access"

Screenshot showing "access this data" in the main content area and "request access" in the sidebar

Questions

Can we merge these into a single "Access this data" section?

This would mean that these related actions appear in the same place in the layout, and if the thing is public, we just show the link.

Other considerations

At some point we will have some kind of "open in analaytical platform" button for tables/databases as well. The pattern we use for that should be consistent with what we do for charts.

hjribeiro-moj commented 14 hours ago

can we tackle here the publication collection and publication dataset entity types as well?

MatMoore commented 13 hours ago

Yeah I think the design should be consistent across all entity types.