Share Flow Data & Testing

Describes Share Flow blog post data and testing information.

#Overview

The Share Flow collects user stories/submission over series of steps (also known as a 'wizard').

Once the user has entered all their information, they submit the form and a blog post is created.

The Share Flow system is used by a number of different specific flows. Each flow can collect different variations of information and is styled differently. Please see the Overview page for a list of the current Share Flow pages.

Please add any additional useful information you find whilst testing.

Share Flow Testing Tips

Share Flow Overview

Sign in to share

If the user is logged out they are shown a signup form. Once signed in they should be redirected back to the main share page.

Feedback Form

The share flow page is based on a Nationbuilder feedback form. The blog post is created via the API then the feedback form is submitted with a note about the submission. The feedback form is used to take advantage of Nationbuilder features such as notifying admins, sending an email response, etc.

Navigation Buttons

All steps have a variation of navigation buttons at the bottom right of the screen.

On the first step there are the following buttons at the bottom of the content panel:

On the middle steps there are the following buttons at the bottom of the form panel:

Note that if a form has a required fields, then the user cannot advance until those fields are entered.

On every step after the first there is a button above the progress bars:

On the last step (review) there is a single button at the bottom of the page:

Mobile View

The mobile view has a different layout.

Progress Indicators

Progress indicators showing the main steps in the flow are shown on the left on desktop or at the top of the page on mobile.

Share Flow Steps

The rest of this document describes each step in the flow in more detail. Some steps and/or fields only appear in particular flows (for example in the Stories of Te Reo flow there is an additional step to collect details about the story). These variations are described in each step.

The final result is always a Nationbuilder blog post. Each step also describes where each collected data item will be added to the blog post (either a primary field or a tag on the post).

Introduction Step

Content Panel

This is a single full screen content panel. The panel is split into two columns with intro text on the left and an image on the right.

Form Panel

No form panel.

Data

No data is collected.

Upload Step

Content panel

Instructions on sharing (from Feedback page content).

Form panel:

Shows three buttons:

Multiple media of each type can be uploaded, which will appear as a preview in the form.

Additionally all media is split into:

Media Edit Options:

Data

The blog post will have one tag for the hero media item, depending on the hero media type:

The blog post can have multiple tags for every additional media item, depending on the media type:

Write Step

Content Panel

Instructions on sharing (from Feedback page content).

Form Panel

Stories of Te Reo version

If the user is admin:

Data

Notes on Authors - there are three types of author:

The Fields:

Tag Groups Step

Content Panel

Instructions on how to tag groups on the post.

Form Panel

This contains the tag group widget (from the original share form). The user can tag groups on the post.

Data

Your Info Step

This step is only shown if the information is not yet collected. If the panel is not showing then it can be made to appear by using the Nationbuilder control panel and clearing one of the custom fields below.

Content Panel

Instructions on filling in About You panel.

Form Panel

Data

This panel does not add (most) collected information to the blog post; instead the data collected in this panel is saved in the users custom fields in Nationbuilder.

Review Step

Content Panel

No content panel shown

Form Panel

This shows a full width preview panel.

There is a single Share button to submit the post.

Share Step

This step happens when the user clicks the Share button on the final review step. The step has no user interface, however a "Saving" modal dialog is shown whilst the data is submitted.

Data

The final blog posts fields are added at this point.

name - "{author short name} | {moment ID} | {author ID}" - the blog post name is shown in the control panel. It is composed of the following parts: The author short name (first name or last name if the author has no first name). This is either the signed in user, the anonymous name, or the admin entered name. The moment ID is configured for each share flow. The author ID is only added if the post was not created by an admin.

slug - the blog post slug is created by Nationbuilder when the post is submitted. The slug is used to give the post a unique URL on the site. Nationbuilder uses the name field (above) to generate the slug. Special characters (such as | ) are removed. If the slug already exists on the site, Nationbuilder automatically appends some random characters to the end of the slug to ensure it is unique.

title - "{ author short name } | { moment title }" - the blog post title is shown in the browser title bar. The moment title value is configured for each share flow.

headline - the blog post headline is shown on the site pages as the post headline. If the headline field was specifically collected (ie, SOTR flow) then that value is used. Otherwise it is set to the above title field.

author_id - rechecks that is the post is not admin created (see above) - if not then sets the author to the current user.

author_id:{ID} tag - rechecks that if the author is set, adds this tag to the post. This is used for displaying posts on the users profile page.

Tag pending_moderation - this tag is added to all submitted posts. Its presence means the post can only be viewed its author or an admin. The post goes through moderation (using the moderation tool). If the post is approved then this tag is removed which makes it viewable by other users.

User Custom Fields

Additionally the following custom fields are set on the submitting user. These custom fields are used in later emails to that user.

For historical reasons the following fields are set if the flow is "Share you why"

Campaign Monitor Custom Fields Sync

Also at share submission, if the user has filled out the "About You" panel and they have chosen to sign up to emails via Campaign Monitor, then the users selected Region and Language Level are synced across. Please refer to this Gitbook page for more information: https://app.gitbook.com/o/i11tZ7HsGOtgUAbWVcda/s/oeyjGBvJDTEsicYPIInW/how-it-works/email-subscriptions-campaign-monitor