Giter Club home page Giter Club logo

ministryofjustice.smart-answers's Introduction

Smart Answers

Smart answers are a great tool for content designers to present complex information in a quick and simple way. Defining what they are โ€“ decision trees? calculators? tools? is immaterial โ€“ what they do is provide a reusable technical framework to build a quick and simple answer to a complex question.

Read more in Lisa Scott's GDS blog post.

Screenshots

Student Finance Forms screenshot

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 application that contains:

  • A Rails application to serve Smart Answers
  • A DSL for creating Smart Answers
  • The Smart Answers that appear on GOV.UK

NOTE. This application doesn't use a database and as such it doesn't include the ActiveRecord Railtie in application.rb.

Dependencies

Smart Answers

Smart Answer flow development

Smart Answers app development

Debugging

Registering on GOV.UK

  • bundle exec rake publishing_api:sync_all will send all smart answers to the Publishing API.

Licence

MIT License

ministryofjustice.smart-answers's People

Contributors

alext avatar andysellick avatar barrucadu avatar benjanecke avatar brenetic avatar camillebaldock avatar cbaines avatar chrisroos avatar dependabot-preview[bot] avatar dependabot-support avatar edwardkerry avatar erkde avatar floehopper avatar gclssvglx avatar hannahwhittaker avatar heathd avatar ikennaokpala avatar jackfranklin avatar jackscotti avatar jordanhatch avatar kevindew avatar kushalp avatar leenagupte avatar pmanrubia avatar richardskipper avatar shotclog avatar steventux avatar tadast avatar theseanything avatar thomasleese avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.