Capgemini / Capgemini/gov-prototype-by-prompt
Move logic out of the Nunjucks views
Open
size S
- Dominant language
- TypeScript
- Stars
- 20
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
### What feature do you want to see added?
Move logic out of the Nunjucks views and into the TS route functions.
### Why do you want this feature? Does it solve a problem?
Some (e.g., results.njk) have a lot of logic, for example if statement and for loops. It's safer to include these in the TS routes.
### How should the feature be implemented?
Consider what logic can be reused to reduce duplication.
### Additional context (if applicable)
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.