docs: qa content changes#1637
Conversation
|
🚀 Deployed to preview environment! If this is the first deploy, you may have to wait a few minutes for your preview site to be ready on the following URL: https://moj-frontend-pr-1637.apps.live.cloud-platform.service.justice.gov.uk Username: |
|
🚀 Deployed to preview environment! If this is the first deploy, you may have to wait a few minutes for your preview site to be ready on the following URL: https://moj-frontend-pr-1637.apps.live.cloud-platform.service.justice.gov.uk Username: |
|
🚀 Deployed to preview environment! If this is the first deploy, you may have to wait a few minutes for your preview site to be ready on the following URL: https://moj-frontend-pr-1637.apps.live.cloud-platform.service.justice.gov.uk Username: |
|
🚀 Deployed to preview environment! If this is the first deploy, you may have to wait a few minutes for your preview site to be ready on the following URL: https://moj-frontend-pr-1637.apps.live.cloud-platform.service.justice.gov.uk Username: |
|
🚀 Deployed to preview environment! If this is the first deploy, you may have to wait a few minutes for your preview site to be ready on the following URL: https://moj-frontend-pr-1637.apps.live.cloud-platform.service.justice.gov.uk Username: |
2 similar comments
|
🚀 Deployed to preview environment! If this is the first deploy, you may have to wait a few minutes for your preview site to be ready on the following URL: https://moj-frontend-pr-1637.apps.live.cloud-platform.service.justice.gov.uk Username: |
|
🚀 Deployed to preview environment! If this is the first deploy, you may have to wait a few minutes for your preview site to be ready on the following URL: https://moj-frontend-pr-1637.apps.live.cloud-platform.service.justice.gov.uk Username: |
|
🚀 Deployed to preview environment! If this is the first deploy, you may have to wait a few minutes for your preview site to be ready on the following URL: https://moj-frontend-pr-1637.apps.live.cloud-platform.service.justice.gov.uk Username: |
4a53bbd
into
submit-a-new-component
…#1429) * docs: content review of community section * docs: content review of community space * docs: content changes * docs: prototype changes * docs: content changes * docs: updates * docs: reworking error messages * docs: new start content * docs: new start page * docs: fix for failed Puppeteer test * style: fix prettier lint errors * docs: html fix for bullets * docs: content tweaks * docs: start page tweak * docs: content changes * docs: error message * docs: fix prototype url page error * docs: interaction changes - remove 'skip question' button - remove 'remove' action on check your answers page * docs: expose submit component journey entries * docs(contributions): add experimental status to contributed components * docs(community): update pr title with conventional commits docs type and contribution scope * docs(community): add preview:request label to submitted pull request * docs(community): insert files and images into docs/assets directory * docs(community): process files separately to data * docs(copntributions): update file handling and add link to preview in email * test(update notify tests): update notify client tests to accomodate api changes * test: update tests for github api * test: update tests for generate documentation * test: update previous page spec * test: fix CYA spec * build: ignore tsbuildinfo files * style: lint fixes * style: prettier fixes * docs: tweak new lines in generated markdown * docs: add sentry error logging * docs: a commit to kick the pipiline into action * build: add rollup optional dependency * build: add optional sass-embedded dependency * docs: test sentry endpoint * build: move sentry test route * docs: remove sentry debug route * docs: log whole error on email failure * style: lint fixes * docs: amend spacing - before first form field - apply to back link * docs: landing page changes * docs: add content for community space * docs(contribution): show image upload success by redirecting to same page * docs(contribution): add flash messages to image upload and removal * docs: raft of content changes * docs: html fixes * docs: html fix * docs(contributions): use moj nunjucks from src * docs: content update * docs(contributions): show accessibility report uploads if validation errors occur * docs: update * docs: update capitalisation and link styling * docs(contributions): improve file upload summary list * docs(contributions): add experimental status to contributed components * docs(community): update pr title with conventional commits docs type and contribution scope * docs(community): add preview:request label to submitted pull request * docs: fix spacing, add start button * docs(community): insert files and images into docs/assets directory * docs: updates * docs(community): process files separately to data * docs: run prettier * docs(copntributions): update file handling and add link to preview in email * test(update notify tests): update notify client tests to accomodate api changes * test: update tests for github api * test: update tests for generate documentation * test: update previous page spec * test: fix CYA spec * build: ignore tsbuildinfo files * style: lint fixes * style: prettier fixes * docs: tweak new lines in generated markdown * docs: add sentry error logging * docs: a commit to kick the pipiline into action * build: add rollup optional dependency * build: add optional sass-embedded dependency * docs: test sentry endpoint * build: move sentry test route * docs: remove sentry debug route * docs: log whole error on email failure * style: lint fixes * Image handling (#1428) * docs: update homepage nav * docs: submission image resizing * docs: apply image container * docs: fix linting issues * docs: apply prettier * docs: linting * docs(contributions): linting fixes * docs(com): fix multiple h1 on details page (#1433) * docs: content updates * Remove accessibility report uploads (#1430) * docs(contributions): remove audit report file uploads from ui * docs(contributions): update accessibility schemas to make issues required * Update add-assistive-tech.schema.js New error message for AT testing page. * Update add-external-audit.schema.js Revise error for the external audit details field. * Update add-internal-audit.schema.js Revised error message. --------- Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> * test(contributions): fix tests (#1434) * test(contributions): fix tests * style: linting fixes * docs(wip): move conditions config to a key in config (#1435) * docs(wip): move conditions config to a key in config * style: linting fixes * docs: content changes * docs(contributions): Refactor routing conditions [1] (#1437) * style: linting fixes * docs(contribution): update form config to contain all labels [2] (#1438) * docs: add sentry error logging * build: add rollup optional dependency * build: add optional sass-embedded dependency * build: move sentry test route * docs(contribution): update form config to contain all labels * docs (contributions): Use field labels on cya page [3] (#1440) * build: move sentry test route * Remove accessibility report uploads (#1430) * docs(contributions): remove audit report file uploads from ui * docs(contributions): update accessibility schemas to make issues required * Update add-assistive-tech.schema.js New error message for AT testing page. * Update add-external-audit.schema.js Revise error for the external audit details field. * Update add-internal-audit.schema.js Revised error message. --------- Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> * docs(contribution): use labels from config for cya page * docs(contribition): remove overrides * docs(comtributions): update cya page config with section titles * docs(contributions): refactor cya config to include / exclude fields and combine fields and forms * docs: update field value [4] (#1447) * docs: change input to radio button * Update component-code-details.njk * docs: changing 'other code' to required * docs: content updates * docs(contributions): update new code details to use config for labels * docs: Security fixes [5] (#1464) * docs(security): ensure pages are valid and subpages are numbers * docs(security): fix potential prototype pollution issue * docs: refactor template and pagedata into methods * style: linting fixes --------- Co-authored-by: Chris Pymm <chris.pymm@digital.justice.gov.uk> Co-authored-by: Chris Pymm <chris@chrispymm.co.uk> --------- Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> * docs: review fixes * style: lint fixes * docs: fix redirect after image upload --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> * docs(contributions): fix back link not appearing, and fix previous page for /1 routes (#1480) * docs(contributions): remove ability to add multiple images (#1481) * docs(contributions): add xss middleware (#1484) * More security (#1485) * docs(contributions): add xss middleware * docs(contributions): add sanitize filename to appease codeql * style: lint fixes * More security (#1486) * docs(contributions): add xss middleware * docs(contributions): add sanitize filename to appease codeql * style: lint fixes * docs(contributions): fix encoding type on accessibility forms * Code contribution changes (#1491) * docs: make code input monospace * docs(contributions): code input monospace, update cya display for code details * Personal detail sharing fixes (#1493) * docs(contributions): update cya page labelling for sharing personal details * docs(contributions): don't include personal details in github submission (#1502) * docs(contributions): use 11ty generated nav in community space (#1504) * docs(contributions): use 11ty generated nav in community space * docs(contributions): updates to allow docs site and contributions app… (#1505) * docs(contributions): updates to allow docs site and contributions app to share a base layout 11ty copies across the base.njk layout along with the header and footer partials Also update the generation of the side nav to be a njk file and place in views/common/partials/side-navigation.njk in order for the base layout to have an include that works both for the docs site and the contributions app * docs: expose staging env to templates * docs(contributions): clear data when changing a yes to a no (#1508) * docs(contributions): clear data when changing a yes to a no * Ensure dependent questions are answered (#1509) * docs(contributions): ensure dependent questions are answered * docs(contributions): rework data removal and routing after cya amendments * docs(contribution): fixes to form navigation - prev/next/back functionality (#1513) * docs(contribution): save code examples as individual files with correct extension (#1519) * docs(contributions): CYA page updates (#1545) * docs: swicth CYA to use summary cards * docs: updated cya page structure * docs: cya tweaks * docs: allow overrides of cya section titles as well as field labels * docs: handle empty sections and fix change/remove links * docs: updates to the remove page * docs: cya page fixes (#1551) Fixes to the CYA page updates based on feedback: review and change link on additional code sections now goes to the correct place can now remove additional code sections removing a section sets its conditional 'yes' answer to 'no' to prevent being asked to complete it again if you go back and amend an earlier page from the cya page * 404 and 500 pages (#1547) * docs: create 404 and 500 templates in 11ty, duplicate to express * docs: add error page config to nginx * docs: fix key for 500 page title * docs: fix 500 page * docs: update 500 template with email contact --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> * docs(contributions): Component page more (#1442) * docs: add sentry error logging * build: add rollup optional dependency * build: add optional sass-embedded dependency * build: move sentry test route * Image handling (#1428) * docs: update homepage nav * docs: submission image resizing * docs: apply image container * docs: fix linting issues * docs: apply prettier * docs: linting * docs: component page changes * docs: journey changes --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Chris Pymm <chris.pymm@digital.justice.gov.uk> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> * docs(contributions): content changes (#1497) * docs: add sentry error logging * test(contributions): fix tests (#1434) * test(contributions): fix tests * style: linting fixes * docs(contributions): Refactor routing conditions [1] (#1437) * style: linting fixes * docs(contribution): update form config to contain all labels [2] (#1438) * docs: add sentry error logging * build: add rollup optional dependency * build: add optional sass-embedded dependency * build: move sentry test route * docs(contribution): update form config to contain all labels * docs (contributions): Use field labels on cya page [3] (#1440) * build: move sentry test route * Remove accessibility report uploads (#1430) * docs(contributions): remove audit report file uploads from ui * docs(contributions): update accessibility schemas to make issues required * Update add-assistive-tech.schema.js New error message for AT testing page. * Update add-external-audit.schema.js Revise error for the external audit details field. * Update add-internal-audit.schema.js Revised error message. --------- Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> * docs(contribution): use labels from config for cya page * docs(contribition): remove overrides * docs(comtributions): update cya page config with section titles * docs(contributions): refactor cya config to include / exclude fields and combine fields and forms * docs: update field value [4] (#1447) * docs: change input to radio button * Update component-code-details.njk * docs: changing 'other code' to required * docs: content updates * docs(contributions): update new code details to use config for labels * docs: Security fixes [5] (#1464) * docs(security): ensure pages are valid and subpages are numbers * docs(security): fix potential prototype pollution issue * docs: refactor template and pagedata into methods * style: linting fixes --------- Co-authored-by: Chris Pymm <chris.pymm@digital.justice.gov.uk> Co-authored-by: Chris Pymm <chris@chrispymm.co.uk> --------- Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> * docs: review fixes * style: lint fixes * docs: fix redirect after image upload --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> * docs(contributions): fix back link not appearing, and fix previous page for /1 routes (#1480) * More security (#1485) * docs(contributions): add xss middleware * docs(contributions): add sanitize filename to appease codeql * style: lint fixes * docs(contributions): use 11ty generated nav in community space (#1504) * docs(contributions): use 11ty generated nav in community space * docs(contributions): updates to allow docs site and contributions app… (#1505) * docs(contributions): updates to allow docs site and contributions app to share a base layout 11ty copies across the base.njk layout along with the header and footer partials Also update the generation of the side nav to be a njk file and place in views/common/partials/side-navigation.njk in order for the base layout to have an include that works both for the docs site and the contributions app * docs: expose staging env to templates * docs(contribution): fixes to form navigation - prev/next/back functionality (#1513) * docs: add sentry error logging * docs: content changes2 * docs: Your details page * docs: content changes to submit journey * docs: tweaks after rebase --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Chris Pymm <chris.pymm@digital.justice.gov.uk> Co-authored-by: Chris Pymm <chris@chrispymm.co.uk> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> * docs: fix spacing, add start button * docs: updates * docs: run prettier * docs(contributions): add experimental status to contributed components * docs(community): update pr title with conventional commits docs type and contribution scope * docs(community): add preview:request label to submitted pull request * docs(community): insert files and images into docs/assets directory * docs(community): process files separately to data * docs(copntributions): update file handling and add link to preview in email * test(update notify tests): update notify client tests to accomodate api changes * test: update tests for github api * test: update tests for generate documentation * test: update previous page spec * test: fix CYA spec * build: ignore tsbuildinfo files * style: lint fixes * style: prettier fixes * docs: tweak new lines in generated markdown * docs: add sentry error logging * docs: a commit to kick the pipiline into action * build: add rollup optional dependency * build: add optional sass-embedded dependency * docs: test sentry endpoint * build: move sentry test route * docs: remove sentry debug route * docs: log whole error on email failure * style: lint fixes * Image handling (#1428) * docs: update homepage nav * docs: submission image resizing * docs: apply image container * docs: fix linting issues * docs: apply prettier * docs: linting * docs(contributions): linting fixes * docs(com): fix multiple h1 on details page (#1433) * docs: content updates * Remove accessibility report uploads (#1430) * docs(contributions): remove audit report file uploads from ui * docs(contributions): update accessibility schemas to make issues required * Update add-assistive-tech.schema.js New error message for AT testing page. * Update add-external-audit.schema.js Revise error for the external audit details field. * Update add-internal-audit.schema.js Revised error message. --------- Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> * test(contributions): fix tests (#1434) * test(contributions): fix tests * style: linting fixes * docs(wip): move conditions config to a key in config (#1435) * docs(wip): move conditions config to a key in config * style: linting fixes * docs: content changes * docs(contributions): Refactor routing conditions [1] (#1437) * style: linting fixes * docs(contribution): update form config to contain all labels [2] (#1438) * docs: add sentry error logging * build: add rollup optional dependency * build: add optional sass-embedded dependency * build: move sentry test route * docs(contribution): update form config to contain all labels * docs (contributions): Use field labels on cya page [3] (#1440) * build: move sentry test route * Remove accessibility report uploads (#1430) * docs(contributions): remove audit report file uploads from ui * docs(contributions): update accessibility schemas to make issues required * Update add-assistive-tech.schema.js New error message for AT testing page. * Update add-external-audit.schema.js Revise error for the external audit details field. * Update add-internal-audit.schema.js Revised error message. --------- Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> * docs(contribution): use labels from config for cya page * docs(contribition): remove overrides * docs(comtributions): update cya page config with section titles * docs(contributions): refactor cya config to include / exclude fields and combine fields and forms * docs: update field value [4] (#1447) * docs: change input to radio button * Update component-code-details.njk * docs: changing 'other code' to required * docs: content updates * docs(contributions): update new code details to use config for labels * docs: Security fixes [5] (#1464) * docs(security): ensure pages are valid and subpages are numbers * docs(security): fix potential prototype pollution issue * docs: refactor template and pagedata into methods * style: linting fixes --------- Co-authored-by: Chris Pymm <chris.pymm@digital.justice.gov.uk> Co-authored-by: Chris Pymm <chris@chrispymm.co.uk> --------- Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> * docs: review fixes * style: lint fixes * docs: fix redirect after image upload --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> * docs(contributions): fix back link not appearing, and fix previous page for /1 routes (#1480) * docs(contributions): remove ability to add multiple images (#1481) * docs(contributions): add xss middleware (#1484) * More security (#1485) * docs(contributions): add xss middleware * docs(contributions): add sanitize filename to appease codeql * style: lint fixes * More security (#1486) * docs(contributions): add xss middleware * docs(contributions): add sanitize filename to appease codeql * style: lint fixes * docs(contributions): fix encoding type on accessibility forms * Code contribution changes (#1491) * docs: make code input monospace * docs(contributions): code input monospace, update cya display for code details * Personal detail sharing fixes (#1493) * docs(contributions): update cya page labelling for sharing personal details * docs(contributions): don't include personal details in github submission (#1502) * docs(contributions): use 11ty generated nav in community space (#1504) * docs(contributions): use 11ty generated nav in community space * docs(contributions): updates to allow docs site and contributions app… (#1505) * docs(contributions): updates to allow docs site and contributions app to share a base layout 11ty copies across the base.njk layout along with the header and footer partials Also update the generation of the side nav to be a njk file and place in views/common/partials/side-navigation.njk in order for the base layout to have an include that works both for the docs site and the contributions app * docs: expose staging env to templates * docs(contributions): clear data when changing a yes to a no (#1508) * docs(contributions): clear data when changing a yes to a no * Ensure dependent questions are answered (#1509) * docs(contributions): ensure dependent questions are answered * docs(contributions): rework data removal and routing after cya amendments * docs(contribution): fixes to form navigation - prev/next/back functionality (#1513) * docs(contribution): save code examples as individual files with correct extension (#1519) * docs(contributions): CYA page updates (#1545) * docs: swicth CYA to use summary cards * docs: updated cya page structure * docs: cya tweaks * docs: allow overrides of cya section titles as well as field labels * docs: handle empty sections and fix change/remove links * docs: updates to the remove page * docs: cya page fixes (#1551) Fixes to the CYA page updates based on feedback: review and change link on additional code sections now goes to the correct place can now remove additional code sections removing a section sets its conditional 'yes' answer to 'no' to prevent being asked to complete it again if you go back and amend an earlier page from the cya page * 404 and 500 pages (#1547) * docs: create 404 and 500 templates in 11ty, duplicate to express * docs: add error page config to nginx * docs: fix key for 500 page title * docs: fix 500 page * docs: update 500 template with email contact --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> * docs(contributions): Component page more (#1442) * docs: add sentry error logging * build: add rollup optional dependency * build: add optional sass-embedded dependency * build: move sentry test route * Image handling (#1428) * docs: update homepage nav * docs: submission image resizing * docs: apply image container * docs: fix linting issues * docs: apply prettier * docs: linting * docs: component page changes * docs: journey changes --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Chris Pymm <chris.pymm@digital.justice.gov.uk> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> * docs(contributions): content changes (#1497) * docs: add sentry error logging * test(contributions): fix tests (#1434) * test(contributions): fix tests * style: linting fixes * docs(contributions): Refactor routing conditions [1] (#1437) * style: linting fixes * docs(contribution): update form config to contain all labels [2] (#1438) * docs: add sentry error logging * build: add rollup optional dependency * build: add optional sass-embedded dependency * build: move sentry test route * docs(contribution): update form config to contain all labels * docs (contributions): Use field labels on cya page [3] (#1440) * build: move sentry test route * Remove accessibility report uploads (#1430) * docs(contributions): remove audit report file uploads from ui * docs(contributions): update accessibility schemas to make issues required * Update add-assistive-tech.schema.js New error message for AT testing page. * Update add-external-audit.schema.js Revise error for the external audit details field. * Update add-internal-audit.schema.js Revised error message. --------- Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> * docs(contribution): use labels from config for cya page * docs(contribition): remove overrides * docs(comtributions): update cya page config with section titles * docs(contributions): refactor cya config to include / exclude fields and combine fields and forms * docs: update field value [4] (#1447) * docs: change input to radio button * Update component-code-details.njk * docs: changing 'other code' to required * docs: content updates * docs(contributions): update new code details to use config for labels * docs: Security fixes [5] (#1464) * docs(security): ensure pages are valid and subpages are numbers * docs(security): fix potential prototype pollution issue * docs: refactor template and pagedata into methods * style: linting fixes --------- Co-authored-by: Chris Pymm <chris.pymm@digital.justice.gov.uk> Co-authored-by: Chris Pymm <chris@chrispymm.co.uk> --------- Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> * docs: review fixes * style: lint fixes * docs: fix redirect after image upload --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> * docs(contributions): fix back link not appearing, and fix previous page for /1 routes (#1480) * More security (#1485) * docs(contributions): add xss middleware * docs(contributions): add sanitize filename to appease codeql * style: lint fixes * docs(contributions): use 11ty generated nav in community space (#1504) * docs(contributions): use 11ty generated nav in community space * docs(contributions): updates to allow docs site and contributions app… (#1505) * docs(contributions): updates to allow docs site and contributions app to share a base layout 11ty copies across the base.njk layout along with the header and footer partials Also update the generation of the side nav to be a njk file and place in views/common/partials/side-navigation.njk in order for the base layout to have an include that works both for the docs site and the contributions app * docs: expose staging env to templates * docs(contribution): fixes to form navigation - prev/next/back functionality (#1513) * docs: add sentry error logging * docs: content changes2 * docs: Your details page * docs: content changes to submit journey * docs: tweaks after rebase --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Chris Pymm <chris.pymm@digital.justice.gov.uk> Co-authored-by: Chris Pymm <chris@chrispymm.co.uk> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> * docs: fix css variable error * Add email verification (#1556) * docs: updates * docs: add sentry error logging * docs: content updates * docs(contributions): use 11ty generated nav in community space (#1504) * docs(contributions): use 11ty generated nav in community space * docs(contributions): updates to allow docs site and contributions app… (#1505) * docs(contributions): updates to allow docs site and contributions app to share a base layout 11ty copies across the base.njk layout along with the header and footer partials Also update the generation of the side nav to be a njk file and place in views/common/partials/side-navigation.njk in order for the base layout to have an include that works both for the docs site and the contributions app * docs: expose staging env to templates * docs(contributions): clear data when changing a yes to a no (#1508) * docs(contributions): clear data when changing a yes to a no * Ensure dependent questions are answered (#1509) * docs(contributions): ensure dependent questions are answered * docs(contributions): rework data removal and routing after cya amendments * docs(contributions): CYA page updates (#1545) * docs: swicth CYA to use summary cards * docs: updated cya page structure * docs: cya tweaks * docs: allow overrides of cya section titles as well as field labels * docs: handle empty sections and fix change/remove links * docs: updates to the remove page * docs: wip * docs: eip * docs: email verifiaction feature * docs: tweaks to email verification * Secrets (#1557) * docs: enable sentry in prod using dsn from env * docs: add new secrets into k8s deploy template * docs: pass app url into env * docs: small email content tweaks * docs: use user email for verification emails * View refactoring (#1558) * refactor(wip): refactor views in the contributions app * docs: refactor all standard views * docs: refactor remaining views * docs: tweaks to email verification screens * docs: merge changes from main * docs: email changes (#1568) Updates to the contributions start page * Experimental component page (#1569) * docs: wip - submitted component markdown generation * docs: generate correctly formatted component guidance page * docs: fix linebreaks in accessibility tab for generated component page * docs: refactor processing to exclude personal info from component page --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> --------- Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: helennickols <helen.nickols@digital.justice.gov.uk> Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> * style: linting fixes * docs(contributions): include name email and team in PR notification email * Add security and csp (#1579) * docs: enable csp and security headers * chore: rename secret reference for csp endpoint * docs: amend helmet config * docs: reinstate http auth * docs: add csp nonce * style: linting fixes * docs: update csp sources for google tag manager * Add security and csp (#1587) * docs: enable csp and security headers * docs: reinstate http auth * docs: update xss to handle componentCode input * docs(experimental components): update content for email verification journey (#1597) * style: remove background from components * docs: update confirmation page * docs: confirmation content changes * docs: allow add another button to show on validation error * docs: fix page title in contribution journey * docs: start and check your answers extens contributions.njk For better consistency and to ensure the correct heading caption is used * style: curly quotes * style: update CYA links * docs: qa content changes (#1637) * docs: Update add-assistive-tech.schema.js * docs: Update add-external-audit.schema.js * docs: Update add-internal-audit.schema.js * docs: Update your-details.njk * docs: Update component-image.njk * docs: Update email-check.njk * docs: Update email-check.njk * docs: Update config.js * docs: Update start.njk * docs: Update remove.njk * docs: Update confirmation.njk * docs: Update check-your-answers.njk --------- Co-authored-by: Chris Pymm <chris@chrispymm.co.uk> * docs: content changes to email journey * QA fixes (#1642) * docs(contributions): remove community side nav section * docs(contributions): update side nav link * docs(contributions): add in how to use code header within generated documentation page * docs(contributions): fix image removed alert not showing * docs(contributions): add success message when adding multiple code examples * docs(contributions): update figma link validations * docs(contributions): update sanitization settings for code samples * docs(contributions): add govuk-link class to links * docs(contributions): rename pagetitle macro and fix title on remove page * style: lint * docs: QA fixes II (#1645) * docs(contributions): add copy code button to example blocks in generated experimental components * docs(contributions): update code block labelling * style(contributions): lint * docs(contributions): remove email field from your details page (#1649) now that we collect email for verification, we no longer need the field on the your details page * Update home.njk * change code 'example' to 'block' * Update email-check.njk * docs(contributions): fix width in img-container class (#1650) * docs(contributions): fix width in img-container class * docs(contributions): fix decls warning attempt to fix img container * docs: Update config.js * docs: update side nav * Add e2e tests with playwright (#1671) * docs: initial setup and running of playwright e2e tests * test: complete end to end tests * ci: add env vars for playwright tests * test: fix issue with code block alert in e2e tests * style: linting and fixing tsconfig * docs: fix link specificity and prevent some date being committed in the PR * docs(security): fix security issue with shell command * docs(security): fix potential prototype polluting assignment * docs: remove console.logs * docs: format code language on cya page * docs: lint and enable sidenav entry to respect env.showCommunity * docs: hide experimental contributions and fix labelling on generated code tab * docs: fix tests * style: linting * Move express app to app dir (#1678) * docs(wip): move express app into app dir * build: update dockerfile for deploy * docs: make tests and linting pass in ci * docs: fix security issue * docs: turn off links to contributions journey * docs: ensure all unit tests run in CI * docs: remove a submitted component from sidenav. fix dev server start command * test: add component-session unit tests * test: add text-helper spec * style: lint fixes * docs: few final tweaks to generated documentation * test: add tests for process submission data middleware * test: refactor and add tests for process-submission-data middleware * docs: fix issue with image filename * docs: on submission create a github issue using the issue template (#1708) * docs: amend default discussions link to the experimental components category list * docs: add additional moj email domains to allowlist * docs: add update image alt text into actions on the issue checklist * docs: update experimental component figma tab content * docs: remove figma link additional information field as it is no longer necessary * docs(experimental): changing hint text on figma page(#1720) * Mo j domain content (#1721) * docs: domain error changes * docs: HTML tweak * test: fix tests after labelling change --------- Co-authored-by: helennickols <helen.nickols@digital.justice.gov.uk> Co-authored-by: Murray Lippiatt <murray.lippiatt1@digital.justice.gov.uk> Co-authored-by: Murray Lippiatt <58863567+murrlipp@users.noreply.github.com> Co-authored-by: Helen Nickols <94117270+helennickols@users.noreply.github.com> Co-authored-by: Whersi <warsome.hersi@digital.justice.gov.uk>
Pull-request templates
Please follow the steps below to tell us about your contribution.