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

TGC-476 + TGC-479 page templating yes no question #54

Merged
merged 24 commits into from
Nov 7, 2024

Conversation

Andrew-Folga
Copy link
Collaborator

@Andrew-Folga Andrew-Folga commented Nov 6, 2024

This PR introduces following changes:

  • introduces single nunjucks template for all standard pages called page.njk
  • provides implementation for first question (country) with relevant answers and designs
  • tracks user answers
  • add sidebar macros and implements it on the generic page template
  • Improves narrow tests with interaction tests
  • changes library from cheerio back to domjs as cheerio does not support interactions

Note: This PR does not repopulate previous answers when traversing pages back and forth yet.

Screenshot 2024-11-07 at 11 31 21

@Andrew-Folga Andrew-Folga force-pushed the TGC-476-page-templating-yes-no-question branch from e9c6b26 to be57b46 Compare November 6, 2024 17:36
@Andrew-Folga Andrew-Folga changed the title WIP Tgc 476 page templating yes no question Tgc 476 page templating yes no question Nov 7, 2024
@Andrew-Folga Andrew-Folga changed the title Tgc 476 page templating yes no question Tgc 476 + TGC-479 page templating yes no question Nov 7, 2024
@Andrew-Folga Andrew-Folga changed the title Tgc 476 + TGC-479 page templating yes no question TGC-476 + TGC-479 page templating yes no question Nov 7, 2024
@Andrew-Folga Andrew-Folga force-pushed the TGC-476-page-templating-yes-no-question branch from 21f62b9 to 40a90fb Compare November 7, 2024 11:40
@Andrew-Folga Andrew-Folga force-pushed the TGC-476-page-templating-yes-no-question branch from dbc93fa to fc79e09 Compare November 7, 2024 13:13
alanplatt
alanplatt previously approved these changes Nov 7, 2024
Copy link

sonarqubecloud bot commented Nov 7, 2024

@Andrew-Folga Andrew-Folga merged commit da5dac0 into main Nov 7, 2024
11 checks passed
@Andrew-Folga Andrew-Folga deleted the TGC-476-page-templating-yes-no-question branch November 7, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants