alphagov/smart-answers — pull request #1106 by dsingleton (2014-08-29 15:08:29+00:00)
Title: Make Smartdown flows with transition previewable

Transition = a Smartdown flow of an existing `rb`/`yml` Smart Answer, to be run in parallel with the original to see how it works before making that the live content.

Previously transition flows shared a name with the original flow, so could not be rendered on preview. Now they have a -transition suffix by convention and are included wherever drafts are (preview), allowing them to run side by side with the original flows.

The transition status could have been removed and replaced with draft, which it now behaves like, but a testing task for transition flows needs a way to track which ones should be tested. We _could_ drop the status all together and completely rely on convention and track `-transition flows` by the suffix convention - thoughts?

**Notable commits**:
New rake tasks:
- Rake task to rename a flow: https://github.com/alphagov/smart-answers/commit/6fc0840d05f66d1a46475cdd665bb6ec57a23a58
- Rake tasks to make a flow transition, and make it published: https://github.com/alphagov/smart-answers/commit/ac63098fdc67d3a889dad3e217ad95dd3795279c

Big content change
- Convert the `student-finance-forms` flow to be `-transition`: https://github.com/alphagov/smart-answers/commit/a210a3dc87907b368588e7148ad51f299582dec3