From 32da5fa84ef57679c902fdf429c9a3e4a8e225dc Mon Sep 17 00:00:00 2001 From: Jake Cosgrove <101206358+jakecosgrove@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:02:01 +0000 Subject: [PATCH] Changes requested from Alex review (#75) * Added mention of 'message cascades' in routing plan content for 'parallel send' feature mention. * 'or' replaced with 'and' * Message status page created - changes to /using-nhs-notify/mesh to match MESH guidance - sender IDs changed to sender names * Emma 2i requested changes * Added /using-nhs-notify/nhs-app-templates, /using-nhs-notify/email-templates, /using-nhs-notify/text-message-templates and /using-nhs-notify/letter-templates. These are based on the Confluence pages https://nhsd-confluence.digital.nhs.uk/pages/viewpage.action?spaceKey=RIS&title=3.8+Creating+letter+templates onwards, with some minor tweaks to word ordering. Romy has approved this content now. Uploaded the standardised Word doc templates for all 4 channels to /assets/worddocs, and linked to these. Craig in cyber security approved this approach (see ticket for screenshot). Updated /using-nhs-notify/personalisation in line with the Confluence page. The FAQs from onboarding indicated there's a user need to provide the PDS personalisation fields. I also added content on how users provide their own personalisation data, in line with Tan's Confluence page https://nhsd-confluence.digital.nhs.uk/display/RIS/NHS+Notify+%7C+Personalisation+Fields. In /pricing/text-messages, I replaced 'it will count as more than one message' with 'it will be charged as more than one message'. This was prompted by a comment from Romy on the text message template content. I tweaked the content to match the later version of the UI prototype, which we based on findings from user research. * Removed mention of bank holidays from emails and text message delivery times. * Removed unnecessary bullets and headings anchor links in Text message templates. Updated link text for the 4 template pages in the Using NHS Notify parent page - removed 'Creating...' from the start of each link. * Fixed typo in /text-message-templates. Removed 'Creating...' from links on /using-nhs-notify. * Updated names of Word docs to replace spaces with hyphens and make all lower case. Updated downloadable links to follow the approach Jake researched, for example [letter template]({% link assets/worddocs/letter-template-nhs-notify.docx %}) * Removed unnecessary space from line 26 on docs/pages/using-nhs-notify/letter-templates. * Update accept.txt Includes: - Noto - URL - ctrl - pending_enrichment - unnotified - permanent_failure - temporary_failure - technical_failure - precompiled - validation_failed - fullName - namePrefix - clientRef * In /using-nhs-notify/delivery-times#letters, replaced the sentence 'Once your letter has been sent, it can take...' with 'Once you've provided us with recipients' NHS numbers, it can take up to 2 working days for our suppliers to dispatch your letter'. I also added anchor links to the top of the same page, /using-nhs-notify/delivery-times, to make navigation easier. * Added content on what users need to do in order to use recipient contact details that are outside of PDS. * Emma recommendations * Removed address_line_x, clientRef, recipientContactValue and template from the bulleted list of personalisation fields from PDS as these are for internal use only. Restructured the first paragraph under ### Personal Demographics Service (PDS) personalisation fields. This was based off a conversation with Jake and it aims to clarify the link between PDS, NHS numbers and personalisation fields. * In /workspaces/nhs-notify-web-cms-dev/docs/_sass/_nhsnotify.scss I added the line 'flex-wrap: wrap;' in the following code: .nhsuk-header__navigation-list { justify-content: flex-start; flex-wrap: wrap; } This is an interim step to make the main nav list items wrap correctly when the site is viewed on a mobile device. It's not our ultimate solution but it makes the site more mobile responsive and accessible. * Removed mentions of date of birth from failed message status descriptions. Removed date of birth as as an example of a column header in a MESH request. * Added link to NHS Notify MESH documentation in /using-nhs-notify/mesh * Squashed commit of the following: commit 7b904fcbfcf27ab56a3611ea2ad7baf97196787b Author: Ross Buggins Date: Tue Nov 19 17:02:42 2024 +0000 Quick and easy js to auto hide. commit 8aed3560875f0193b5aa83035093da4c7144d962 Author: Jake Cosgrove <101206358+jakecosgrove@users.noreply.github.com> Date: Tue Nov 19 16:05:22 2024 +0000 Developer banner and new site banner commit a3d47d225b65af825f1703e755b6a2257e794810 Author: Jake Cosgrove <101206358+jakecosgrove@users.noreply.github.com> Date: Mon Nov 11 15:47:17 2024 +0000 removed phase banner and underlines from primary nav list items when hovered commit 3a30f41f770f8e9f801e1c76f28f6460e866318f Author: Jake Cosgrove <101206358+jakecosgrove@users.noreply.github.com> Date: Mon Nov 11 13:50:40 2024 +0000 removed border from phase banner commit fc61be57aed0b52c74838399645a861d1232dc62 Author: Jake Cosgrove <101206358+jakecosgrove@users.noreply.github.com> Date: Fri Nov 8 16:32:05 2024 +0000 Added phase banner component and related sass. Added new template for including pages of content that does not need a side-navigation. commit 45d34e63a6c0ec9e48130ff1043be9cfa9d6d00c Author: Jake Cosgrove <101206358+jakecosgrove@users.noreply.github.com> Date: Tue Nov 5 21:59:47 2024 +0000 two-third column tests * Changed first subheading to a h2 from h3 * Removed the other phase banners from Ross' test * removed phase banner includes due to component not being tested or released by developer * Alex review changes --------- Co-authored-by: Mark R Co-authored-by: emmagifford <162720670+emmagifford@users.noreply.github.com> Co-authored-by: Ross Buggins --- docs/Gemfile.lock | 5 ++- docs/_includes/components/phase-banner.html | 14 +++++++ docs/_layouts/no-nav-page.html | 34 +++++++++++++++++ docs/_layouts/page.html | 30 +++++++-------- docs/_sass/_nhsnotify.scss | 37 +++++++++++++++++-- docs/pages/get-started/get-started.md | 2 +- docs/pages/support/support.md | 2 +- ...ng.md => (draft)editing-and-formatting.md} | 0 ...l-branding.md => (draft)email-branding.md} | 0 ...-branding.md => (draft)letter-branding.md} | 0 ...s-and-urls.md => (draft)links-and-urls.md} | 0 docs/pages/using-nhs-notify/delivery-times.md | 9 ++++- docs/pages/using-nhs-notify/mesh.md | 2 + docs/pages/using-nhs-notify/message-status.md | 1 - .../pages/using-nhs-notify/personalisation.md | 37 +++++-------------- .../tell-us-who-you-want-to-message.md | 5 +++ 16 files changed, 126 insertions(+), 52 deletions(-) create mode 100644 docs/_includes/components/phase-banner.html create mode 100644 docs/_layouts/no-nav-page.html rename docs/pages/using-nhs-notify/{editing-and-formatting.md => (draft)editing-and-formatting.md} (100%) rename docs/pages/using-nhs-notify/{email-branding.md => (draft)email-branding.md} (100%) rename docs/pages/using-nhs-notify/{letter-branding.md => (draft)letter-branding.md} (100%) rename docs/pages/using-nhs-notify/{links-and-urls.md => (draft)links-and-urls.md} (100%) diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 805bdf2..f081057 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -95,9 +95,10 @@ GEM rbs (>= 3, < 4) sorbet-runtime (>= 0.5.10782) safe_yaml (1.0.5) - sass-embedded (1.69.5-arm64-darwin) + sass-embedded (1.69.5) google-protobuf (~> 3.23) - sass-embedded (1.69.5-x86_64-linux-gnu) + rake (>= 13.0.0) + sass-embedded (1.69.5-arm64-darwin) google-protobuf (~> 3.23) sorbet-runtime (0.5.11466) strscan (3.1.0) diff --git a/docs/_includes/components/phase-banner.html b/docs/_includes/components/phase-banner.html new file mode 100644 index 0000000..313626b --- /dev/null +++ b/docs/_includes/components/phase-banner.html @@ -0,0 +1,14 @@ +
+
+

+ {{include.phase_tag}} + {{include.phase_text}} +

+
+
+ diff --git a/docs/_layouts/no-nav-page.html b/docs/_layouts/no-nav-page.html new file mode 100644 index 0000000..a4a588d --- /dev/null +++ b/docs/_layouts/no-nav-page.html @@ -0,0 +1,34 @@ +--- +layout: default +--- + +{% assign current_dir = page.dir %} +{% assign paths = page.dir | split: "/" %} +{% assign parent_dir = paths[1] %} + +{%- +assign nav_pages = site.pages +| where_exp: "item", "item.dir contains parent_dir" +-%} + +{% assign first_level_dir = parent_dir | prepend: '/' | append: '/' %} +{%- +assign first_level = nav_pages +| where_exp: "item", "item.dir == first_level_dir" +| group_by: "section" +| sort: 'name', 'last' +-%} + +
+
+
+
+ {% if page.section != undefined %} + {{ page.section }} + {% endif %} +

{{ page.title }}

+ {{ content }} +
+
+
+
diff --git a/docs/_layouts/page.html b/docs/_layouts/page.html index 400ec65..c250a33 100644 --- a/docs/_layouts/page.html +++ b/docs/_layouts/page.html @@ -3,20 +3,20 @@ --- {% assign current_dir = page.dir %} -{% assign paths = page.dir | split: "/" %} +{% assign paths = page.dir | split: "/" %} {% assign parent_dir = paths[1] %} {%- - assign nav_pages = site.pages - | where_exp: "item", "item.dir contains parent_dir" +assign nav_pages = site.pages +| where_exp: "item", "item.dir contains parent_dir" -%} {% assign first_level_dir = parent_dir | prepend: '/' | append: '/' %} {%- - assign first_level = nav_pages - | where_exp: "item", "item.dir == first_level_dir" - | group_by: "section" - | sort: 'name', 'last' +assign first_level = nav_pages +| where_exp: "item", "item.dir == first_level_dir" +| group_by: "section" +| sort: 'name', 'last' -%}
@@ -26,21 +26,21 @@