DFE-Digital/teaching-vacancies

Trust user sees all schools in the trust when they first log in

tatyree opened this issue · 0 comments

TEVA-680

Background

Trust users managing vacancies for the trust need to be able to see all the schools in their trust when they first log in. They also need to be able to select the subset of these school they would like to manage.

Workflows

  1. User logs in with URN = show them vacancies for that URN.
  2. User logs in with UID = show them vacancies for all URNs linked to that UID.

NOTE: These cannot happen at the same time because DSI send us only one organisation ID when user logs in.

The user journey is feature-flagged and this entry point to the user journey does not appear if the feature flag is set to false

When user linked to a UID logs in for the first time, they are presented with a interstitial screen.

Design/IA

Refer to the following Figma Screens for anything relating to design or IA.

Figma Screen 6.0
Figma Screen 6.0.1
Figma Screen 6.1

If you have any questions, clarify with Chris Taylor before proceeding. In the event of any corrections, please ensure the Figmas are updated and notes of conversations are recorded in this issue for future reference.

Done when

  • This user journey is feature-flagged and this entry point to the user journey does not appear if the feature flag is set to false
    • This user journey uses the same feature flag as the other user journeys in the MAT Access epics.
  • A page exists based on Figma Screen 6.0.
  • A user linked to a UID sees this page the first time they log in
  • That user can click 'Skip this step', and they are taken to Figma Screen 6.1, which is the dashboard.
    • That user then sees all the schools in the trust
  • That user can select options fromFigma Screen 6.0 and click 'Save and continue'
  • Lists of schools are ordered alphabetically and come after the the other options shown in the Figmas.
  • The system saves that user's selections as their default preference for viewing schools the whenever they log in.
  • If that user logs in again, they are taken directly to Figma Screen 6.1 and shown information according to their previously save preferences. (Link to ticket for managing preferences to follow.)
  • If that user clicks 'Save and continue' without selecting any of the options, they are shown Figma Screen 6.0.1
  • The rendered pages exactly match the listed figmas.
  • The code has been signed off on staging (or other suitable test environment) by:
    • Design/IA
    • Product
    • Content
  • A suitable PR has been raised and approved
  • The code has been merged to master and deployed to production. NOTE the code does not need to be switched on for this issue to be considered complete.