From b5799a07b35422850c6669472c6da4e4b76e75f0 Mon Sep 17 00:00:00 2001 From: Mat Johnson Date: Fri, 23 Oct 2026 11:19:42 +0100 Subject: [PATCH] Clarify prototypes --- app/views/index-prod.html | 114 +++++++++++++++++ app/views/index-ucd.html | 176 +++++++++++++++++++++++++ app/views/index.html | 261 +++++--------------------------------- 3 files changed, 324 insertions(+), 227 deletions(-) create mode 100644 app/views/index-prod.html create mode 100644 app/views/index-ucd.html diff --git a/app/views/index-prod.html b/app/views/index-prod.html new file mode 100644 index 0000000..058f3d5 --- /dev/null +++ b/app/views/index-prod.html @@ -0,0 +1,114 @@ +{% extends 'layout.html' %} + +{% set pageName = "" %} + +{% block beforeContent %} +{% endblock %} + +{% block content %} +{{ serviceName }} +

+ Cohort to clinic prototypes +

+ +{% set secondaryNavItems = [] %} + +{% for item in [ + { href: '/index-ucd', label: 'Design prototypes' }, + { href: '/index-prod', label: 'Production snapshots (missions)', selected: 'true' } +] %} + {% set secondaryNavItems = secondaryNavItems | push({ + text: item.label | safe, + href: item.href | trim, + current: true if item.selected == 'true' + }) %} +{% endfor %} + +{{ appSecondaryNavigation({ + visuallyHiddenTitle: "Secondary menu", + items: secondaryNavItems, + classes: "nhsuk-u-margin-bottom-9" +}) }} + + +
+
+ +

Mission 1

+ +

Create clinic module: live test #2

+

Enable test BSOs to create a clinic with a schedule lasting one day

+
    +
  1. + Create a new clinic session +
  2. +
  3. + Create a new clinic session as part of batch import +
  4. +
+ +

Older

+
+ + + Older work (may be broken, not maintained) + + +
+

Live test #1

+

Users upload a csv containing the participants they wish to book into a prearranged single day clinic.

+

+ Click-thru journey +

+

Iteration 1

+

Users upload a csv containing the participants they wish to book into a prearranged single day clinic.

+
    +
  1. + Upload a batch +
  2. +
  3. + Batch detail for trimmed csv +
  4. +
  5. + Pre-appointment confirmation +
  6. +
  7. + Single day of appointments +
  8. +
+

Defunct work on finding and grouping participants. Components to be reused elsewhere.

+
    +
  1. + Batch detail +
  2. +
  3. + Search participants +
  4. +
  5. + Search results +
  6. +
  7. + Group +
  8. +
  9. + [Utility] "appointing" spinner +
  10. +
+
+
+ +
+
+

Utilities

+ {{ button({ + text: "Reset all session data", + classes: "nhsuk-button--secondary", + href: "/prototype-admin/reset?returnPage=" + (currentPage | urlencode) + }) }} +
+
+{% endblock %} diff --git a/app/views/index-ucd.html b/app/views/index-ucd.html new file mode 100644 index 0000000..341ac43 --- /dev/null +++ b/app/views/index-ucd.html @@ -0,0 +1,176 @@ +{% extends 'layout.html' %} + +{% set pageName = "" %} + +{% block beforeContent %} +{% endblock %} + +{% block content %} +{{ serviceName }} +

+ Cohort to clinic prototypes +

+ +{% set secondaryNavItems = [] %} + +{% for item in [ + { href: '/index-ucd', label: 'Design prototypes', selected: 'true' }, + { href: '/index-prod', label: 'Production snapshots (missions)' } +] %} + {% set secondaryNavItems = secondaryNavItems | push({ + text: item.label | safe, + href: item.href | trim, + current: true if item.selected == 'true' + }) %} +{% endfor %} + +{{ appSecondaryNavigation({ + visuallyHiddenTitle: "Secondary menu", + items: secondaryNavItems, + classes: "nhsuk-u-margin-bottom-9" +}) }} + +
+
+ +

September 2026

+

Participant view

+ +
    +
  1. + View standalone participant details +
  2. +
  3. + View participant details within a batch +
  4. +
  5. + Search for a participant +
  6. +
+ +

August – September 2026

+

Clinics with schedules ideation

+
    +
  1. + Create a new clinic (containers) + + ready to test + +
  2. +
  3. + Create a new clinic (transaction) + + superceded + +
  4. +
+

Appointments and active clinics

+
    +
  1. + Live clinic view + + Paused + +
  2. +
  3. + Single live (with bookings) clinic session view + + Paused + +
  4. +
+ +

July 2026

+

Sessions: first run

+
    +
  1. + Set up session +
  2. +
+

Session templates: iteration 1

+
    +
  1. + Template listing +
  2. +
+

+ May–June 2026 + + superceded + +

+

Clinics: first run

+
    +
  1. + Clinic listing +
  2. +
  3. + Clinic detail +
  4. +
+ +

April 2026

+

+ Batches: first run + + Paused + +

+ +
    +
  1. + Batch listing +
  2. +
  3. + Brand new batch +
  4. +
  5. + Batch in progress +
  6. +
+ +

March 2026

+

+ BSO-level building blocks + + Paused + +

+ +
    +
  1. + Organisation, breast screening units, and locations +
  2. +
  3. + BSO organisation +
  4. +
  5. + Breast screening units +
  6. +
  7. + Locations +
  8. +
+ +

Sketchbook

+
    +
  1. + Rough idea: assembling a block of slots +
  2. +
  3. + Wireframe proto: search participants in a batch +
  4. +
+ +
+ +
+

Utilities

+ {{ button({ + text: "Reset all session data", + classes: "nhsuk-button--secondary", + href: "/prototype-admin/reset?returnPage=" + (currentPage | urlencode) + }) }} +
+
+{% endblock %} diff --git a/app/views/index.html b/app/views/index.html index 362da9a..9c230f3 100755 --- a/app/views/index.html +++ b/app/views/index.html @@ -1,42 +1,48 @@ - - - - - {% extends 'layout.html' %} - - {% set pageName = "" %} - - {% block beforeContent %} {% endblock %} - - {% block content %} +{{ serviceName }} +

+ Cohort to clinic prototypes +

+ +
- - - - {{ serviceName }} -

- Cohort to clinic prototypes -

+

Utilities

{{ button({ text: "Reset all session data", @@ -44,205 +50,6 @@

href: "/prototype-admin/reset?returnPage=" + (currentPage | urlencode) }) }} -

September 2026

-

Participant view

- -
    -
  1. - View standalone participant details -
  2. -
  3. - View participant details within a batch -
  4. -
  5. - Search for a participant -
  6. -
- -

August – September 2026

-

Clinics with schedules ideation

-
    -
  1. - Create a new clinic (containers) - - ready to test - -
  2. -
  3. - Create a new clinic (transaction) - - superceded - -
  4. -
-

Appointments and active clinics

-
    -
  1. - Live clinic view - - Paused - -
  2. -
  3. - Single live (with bookings) clinic session view - - Paused - -
  4. -
- -

July 2026

-

Sessions: first run

-
    -
  1. - Set up session -
  2. -
-

Session templates: iteration 1

-
    -
  1. - Template listing -
  2. -
-

- May–June 2026 - - superceded - -

-

Clinics: first run

-
    -
  1. - Clinic listing -
  2. -
  3. - Clinic detail -
  4. -
- -

April 2026

-

- Batches: first run - - Paused - -

- -
    -
  1. - Batch listing -
  2. -
  3. - Brand new batch -
  4. -
  5. - Batch in progress -
  6. -
- -

March 2026

-

- BSO-level building blocks - - Paused - -

- -
    -
  1. - Organisation, breast screening units, and locations -
  2. -
  3. - BSO organisation -
  4. -
  5. - Breast screening units -
  6. -
  7. - Locations -
  8. -
- -
- -

Mission 1

- -

Create clinic module: live test #2

-

Enable test BSOs to create a clinic with a schedule lasting one day

-
    -
  1. - Create a new clinic session -
  2. -
  3. - Create a new clinic session as part of batch import -
  4. -
- -

Older

-
- - - Older work (may be broken, not maintained) - - -
-

Live test #1

-

Users upload a csv containing the participants they wish to book into a prearranged single day clinic.

-

- Click-thru journey -

-

Iteration 1

-

Users upload a csv containing the participants they wish to book into a prearranged single day clinic.

-
    -
  1. - Upload a batch -
  2. -
  3. - Batch detail for trimmed csv -
  4. -
  5. - Pre-appointment confirmation -
  6. -
  7. - Single day of appointments -
  8. -
-

Defunct work on finding and grouping participants. Components to be reused elsewhere.

-
    -
  1. - Batch detail -
  2. -
  3. - Search participants -
  4. -
  5. - Search results -
  6. -
  7. - Group -
  8. -
  9. - [Utility] "appointing" spinner -
  10. -
-
-
- -
- -

Sketchbook

-
    -
  1. - Rough idea: assembling a block of slots -
  2. -
  3. - Wireframe proto: search participants in a batch -
  4. -