Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add comments to the starter filters.js file #2252

Closed
BenSurgisonGDS opened this issue Jul 12, 2023 · 0 comments · Fixed by #2253
Closed

Add comments to the starter filters.js file #2252

BenSurgisonGDS opened this issue Jul 12, 2023 · 0 comments · Fixed by #2253
Assignees
Labels
Development Next task sits with developer discipline 🕔 Hours A well understood issue which we expect to take less than a day to resolve.

Comments

@BenSurgisonGDS
Copy link
Contributor

BenSurgisonGDS commented Jul 12, 2023

What

Add comments to the starter filters.js file to guide users to the appropriate documentation

Why

A returning designer was unaware that the format of creating filters had changed since moving to version 13.

Who

Developer

Done when

The contents of the prototype starter filters.js file is as follows:

//
// For guidance on how to create filters see:
// https://prototype-kit.service.gov.uk/docs/filters
//

const govukPrototypeKit = require('govuk-prototype-kit')
const addFilter = govukPrototypeKit.views.addFilter

// Add your filters here


@BenSurgisonGDS BenSurgisonGDS self-assigned this Jul 12, 2023
@BenSurgisonGDS BenSurgisonGDS added 🕔 Hours A well understood issue which we expect to take less than a day to resolve. Development Next task sits with developer discipline Content Next task related to content and sits with content designers and removed Content Next task related to content and sits with content designers labels Jul 12, 2023
@BenSurgisonGDS BenSurgisonGDS linked a pull request Jul 12, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development Next task sits with developer discipline 🕔 Hours A well understood issue which we expect to take less than a day to resolve.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant