From f779ca2a3370c7687c1cadf665e946e23be1d628 Mon Sep 17 00:00:00 2001 From: augustlindemer <118665588+augustlindemer@users.noreply.github.com> Date: Fri, 20 Dec 2024 13:46:38 +0000 Subject: [PATCH 1/2] remove certificate reference and Lambeth email address from default content --- .../@planx/components/Confirmation/Confirmation.stories.tsx | 5 ++--- .../src/@planx/components/Confirmation/Editor.tsx | 3 +-- editor.planx.uk/src/pages/Pay/InviteToPay.tsx | 1 - 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/editor.planx.uk/src/@planx/components/Confirmation/Confirmation.stories.tsx b/editor.planx.uk/src/@planx/components/Confirmation/Confirmation.stories.tsx index 4cd47a1676..c9543f1d6f 100644 --- a/editor.planx.uk/src/@planx/components/Confirmation/Confirmation.stories.tsx +++ b/editor.planx.uk/src/@planx/components/Confirmation/Confirmation.stories.tsx @@ -42,10 +42,9 @@ export const Basic = { ## You will be contacted - if there is anything missing from the information you have provided so far - if any additional information is required - - to arrange a site visit, if required - - to inform you whether a certificate has been granted or not`, + - to arrange a site visit, if required`, contactInfo: ` - You can contact us at planning@lambeth.gov.uk + You can contact us at ADD YOUR COUNCIL CONTACT

What did you think of this service? Please give us your feedback using the link in the footer below. `, diff --git a/editor.planx.uk/src/@planx/components/Confirmation/Editor.tsx b/editor.planx.uk/src/@planx/components/Confirmation/Editor.tsx index 2e64a68f6f..102003ad4f 100644 --- a/editor.planx.uk/src/@planx/components/Confirmation/Editor.tsx +++ b/editor.planx.uk/src/@planx/components/Confirmation/Editor.tsx @@ -71,11 +71,10 @@ export default function ConfirmationEditor(props: Props) {
  • if there is anything missing from the information you have provided so far
  • if any additional information is required
  • to arrange a site visit, if required
  • -
  • to inform you whether a certificate has been granted or not
  • `, contactInfo: props.node?.data?.contactInfo || - `You can contact us at planning@lambeth.gov.uk + `You can contact us at ADD YOUR COUNCIL CONTACT

    What did you think of this service? Please give us your feedback using the link in the footer below.`, ...parseNextSteps(props.node?.data), diff --git a/editor.planx.uk/src/pages/Pay/InviteToPay.tsx b/editor.planx.uk/src/pages/Pay/InviteToPay.tsx index ec9d1a52c5..ea7e7c0cd5 100644 --- a/editor.planx.uk/src/pages/Pay/InviteToPay.tsx +++ b/editor.planx.uk/src/pages/Pay/InviteToPay.tsx @@ -59,7 +59,6 @@ const InviteToPay: React.FC = ({ createdAt }) => {
  • if any additional information is required
  • to arrange a site visit, if required
  • -
  • to inform you whether a certificate has been granted or not
  • From c300bcf8b4f998e772c895f418da9021d6032fc7 Mon Sep 17 00:00:00 2001 From: augustlindemer <118665588+augustlindemer@users.noreply.github.com> Date: Fri, 20 Dec 2024 13:56:15 +0000 Subject: [PATCH 2/2] Add new feedback nudge --- .../src/@planx/components/Confirmation/Confirmation.stories.tsx | 2 +- editor.planx.uk/src/@planx/components/Confirmation/Editor.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editor.planx.uk/src/@planx/components/Confirmation/Confirmation.stories.tsx b/editor.planx.uk/src/@planx/components/Confirmation/Confirmation.stories.tsx index c9543f1d6f..327a847b77 100644 --- a/editor.planx.uk/src/@planx/components/Confirmation/Confirmation.stories.tsx +++ b/editor.planx.uk/src/@planx/components/Confirmation/Confirmation.stories.tsx @@ -46,7 +46,7 @@ export const Basic = { contactInfo: ` You can contact us at ADD YOUR COUNCIL CONTACT

    - What did you think of this service? Please give us your feedback using the link in the footer below. +

    What did you think of this service? Please give us your feedback on the next page.

    `, data: [], }, diff --git a/editor.planx.uk/src/@planx/components/Confirmation/Editor.tsx b/editor.planx.uk/src/@planx/components/Confirmation/Editor.tsx index 102003ad4f..77313f210f 100644 --- a/editor.planx.uk/src/@planx/components/Confirmation/Editor.tsx +++ b/editor.planx.uk/src/@planx/components/Confirmation/Editor.tsx @@ -76,7 +76,7 @@ export default function ConfirmationEditor(props: Props) { props.node?.data?.contactInfo || `You can contact us at ADD YOUR COUNCIL CONTACT

    - What did you think of this service? Please give us your feedback using the link in the footer below.`, +

    What did you think of this service? Please give us your feedback on the next page.

    `, ...parseNextSteps(props.node?.data), }, onSubmit: (values) => {