DFE-Digital / schools-experience

The Department for Education's Get Schools Experience Service which allows you to find out more about teaching by visiting schools.
https://dfe-digital.github.io/schools-experience/
MIT License
9 stars 4 forks source link

Remove all candidate facing links to dashboard and redirect from relevant URLs #3138

Closed MylesJarvis closed 5 months ago

MylesJarvis commented 5 months ago

Trello card

https://trello.com/c/ZwpPMswx / https://trello.com/c/hUqhlo9f

Context

This is a spike into how we might remove the candidate dashboard in a quick fashion.

This PR doesn't remove the functionality, but removes all links to it across the service. A user could still access the functionality through inputting the URL directly, but this will reduce usage significantly.

Changes proposed in this pull request

Guidance to review

gemmadallmandfe commented 5 months ago

/candidates/signin is still accessible directly from the URL - think we need to add a redirect @MylesJarvis:

FROM /candidates/signin TO /

MylesJarvis commented 5 months ago

@ekumachidi is going to pick this up now I've done the basic implementation of removing external facing links. He's going to redirect away from the following URLs:

MylesJarvis commented 5 months ago

Tested this - redirects seem to work for the scenarios I have provided above. @gemmadallmandfe do you want to retest and ✅ ?

MylesJarvis commented 5 months ago

Summary of changes:

Request page Before

image

After image

Cancelled by school, candidate then tries to cancel

Before image

After

image

Candidate cancels a confirmed booking Before

image

After

image

Giving feedback on the service in general

Before

image

After

image

Giving feedback on a confirmed placement attendance

Before image

After

image

School declines request, candidate then tries to withdraw

Before (NB the bug here on not showing the reasons for declining - written up a ticket for this as couldn't work out a fix in the code - https://trello.com/c/CHaqTvAQ)

image

After

image

github-actions[bot] commented 5 months ago

Review app deployed to https://get-school-experience-review-pr-3138.test.teacherservices.cloud :white_check_mark: DfE sign in route obtained: https://get-school-experience-review-pr-4.test.teacherservices.cloud