Skip to content

alphagov/smart-answers

Folders and files

NameName
Last commit message
Last commit date
Aug 31, 2022
Oct 13, 2022
Sep 30, 2022
Oct 11, 2022
Oct 27, 2011
Sep 26, 2022
Oct 11, 2022
Oct 27, 2011
May 28, 2020
Jul 20, 2022
Oct 11, 2022
May 27, 2014
May 23, 2022
Jan 11, 2021
Nov 9, 2021
Apr 19, 2022
Aug 8, 2022
Sep 9, 2022
Oct 12, 2022
Jan 18, 2021
Mar 11, 2015
Jul 9, 2021
May 5, 2022
Sep 1, 2022
Nov 2, 2018
Oct 17, 2022
Sep 6, 2022
Oct 17, 2022

Repository files navigation

Smart Answers

A tool for content designers to present complex information as a flow of questions, leading to an outcome. While the app is mostly self-contained, some Smart Answers use Imminence for Post Code lookup, and Whitehall to get data on countries and worldwide organisations.

Live examples

Nomenclature

  • Smart Answer: The flow, questions and outcomes.

  • Flow: Defines the questions, outcomes and the rules for navigating between them.

  • Landing page: Contains a description of the Smart Answer and the "Start now" button that leads to the first question.

  • Question page: Contains an individual question that's asked in order to help arrive at at an outcome.

  • Outcome page: Contains the result of the Smart Answer based on responses to individual questions.

Technical documentation

This is a Ruby on Rails app, and should follow our Rails app conventions.

You can use the GOV.UK Docker environment or the local startup.sh script to run the app. Read the guidance on local frontend development to find out more about each approach, before you get started.

If you are using GOV.UK Docker, remember to combine it with the commands that follow. See the GOV.UK Docker usage instructions for examples.

Smart Answer design

Smart Answer tasks

Further guidance is available in docs/tasks.

Further documentation

Licence

MIT License