Empty states for image reading#346
Conversation
…hen all cases read
|
@rivalee - need to look at the 'Opinion summary' on the session overview page which shows 'X remaining' and 'X more in this session' when a session has been ended prematurely because it ran out of cases
|
|
|
||
| {% elif userReadableTotal == 0 %} | ||
|
|
||
| <h2>There are no cases to read</h2> |
There was a problem hiding this comment.
| <h2>There are no cases to read</h2> | |
| <h2>>There are no more cases available</h2> |
There was a problem hiding this comment.
avoiding duplicating 'read' and 'read' in heading and text
| {% elif userReadableTotal == 0 %} | ||
|
|
||
| <h2>There are no cases to read</h2> | ||
| <p>All cases have been read.</p> |
There was a problem hiding this comment.
| <p>All cases have been read.</p> | |
| <p>You have completed all the cases you are eligible to read.</p> |
|
|
||
| <h2>Start image reading</h2> | ||
| <p>Give your opinion on the next {{ defaultSessionSize }} cases due for reading.</p> | ||
| <p>Give your opinion on cases due for reading (up to {{ defaultSessionSize }}).</p> |
There was a problem hiding this comment.
| <p>Give your opinion on cases due for reading (up to {{ defaultSessionSize }}).</p> | |
| <p>Give your opinion on cases due for reading.</p> |
There was a problem hiding this comment.
Removing mentions of any case numbers in this sentence as it doesn't flow well - suggest secondary text below the button to clarify what they session size is
| text: "Start now", | ||
| href: "/reading/create-session?type=all_reads" | ||
| }) }} | ||
|
|
There was a problem hiding this comment.
| <br> | |
| <span class="nhsuk-u-secondary-text-colour nhsuk-body-s">Your reading session will include up to {{ defaultSessionSize }} cases</span> | |
There was a problem hiding this comment.
Added this as secondary text below the start button as the 'up to' muddles the sentence above - it's not particularly essential info
| <span class="nhsuk-caption-l">Image reading</span> | ||
| <h1 class="nhsuk-heading-l">{{ pageHeading }}</h1> | ||
|
|
||
| <p>All eligible cases in this session have been read.</p> |
There was a problem hiding this comment.
| <p>All eligible cases in this session have been read.</p> | |
| <p>You have given an opinion on all available cases.</p> |
| text: "Review session outcomes", | ||
| href: "/reading/session/" + sessionId | ||
| }) }} | ||
| <a href="/reading" class="nhsuk-link nhsuk-button-group__item">Exit reading</a> |
There was a problem hiding this comment.
| <a href="/reading" class="nhsuk-link nhsuk-button-group__item">Exit reading</a> | |
| <a href="/reading" class="nhsuk-link nhsuk-button-group__item">Exit session</a> |
| {% set hideStatusBar = true %} | ||
| {% set hideBackLink = true %} | ||
|
|
||
| {% set pageHeading = "No more cases to read" %} |
There was a problem hiding this comment.
| {% set pageHeading = "No more cases to read" %} | |
| {% set pageHeading = "Session complete" %} |
| <div class="nhsuk-grid-column-two-thirds"> | ||
| <h1>{{ pageHeading }}</h1> | ||
| <p>{{ backlogTotal }} cases require reading</p> | ||
| <p>{{ userReadableTotal }} {{ "case" | pluralise(userReadableTotal) }} available to read</p> |
There was a problem hiding this comment.
| <p>{{ userReadableTotal }} {{ "case" | pluralise(userReadableTotal) }} available to read</p> | |
| <p class="nhsuk-u-secondary-text-colour nhsuk-body-l">{{ userReadableTotal }} {{ "case" | pluralise(userReadableTotal) }} are awaiting an outcome</p> |
There was a problem hiding this comment.
Related issue https://nhsd-jira.digital.nhs.uk/browse/DTOSS-13222
This distinguishes all reads from those available to the user to read - ie, "awaiting an outcome" could cover 1st or 2nd reads, in arbitration, awaiting priors, deferred, etc
Also, have suggested some visual distinction for this paragraph - lots of similar looking lines of text on the page currently
| @@ -117,13 +125,23 @@ | |||
| href: "/reading/session/" + inProgressSession.id + "/resume" | |||
| }) }} | |||
There was a problem hiding this comment.
| }) }} | |
| }) }} | |
| <br> | |
| <span class="nhsuk-u-secondary-text-colour app-nowrap nhsuk-body-s">{{ inProgressSession.userReadCount }} of {{ inProgressSession.targetSize }} cases read</span> |
There was a problem hiding this comment.
Suggest moving this below the start button to avoid lots of text paragraphs (similar suggestion made on the regular start page)
|
|
||
| <h2>Resume image reading</h2> | ||
| <p>You have an image reading session in progress. Finish it before starting a new one.</p> | ||
| <p>{{ inProgressSession.userReadCount }} of {{ inProgressSession.targetSize }} cases read.</p> |
There was a problem hiding this comment.
Removes progress count from here (added as secondary info below button to mirror suggestion on regular start page


Ticket: https://nhsd-jira.digital.nhs.uk/browse/DTOSS-13234
Context
Most of our designs assume there's a large backlog of cases. What happens when there aren't enough, or aren't any?
We need some empty states for image reading.
Covering main situations:
Update generic start page content
To accommodate default number of cases being under 25 (more likely for the tests)
Empty state start page for image reading (no cases)
Interstitial / interruption when there's no more cases to read
Session overview