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

Free-form surveys #1335

Closed
nickbadams opened this issue Aug 11, 2016 · 26 comments
Closed

Free-form surveys #1335

nickbadams opened this issue Aug 11, 2016 · 26 comments
Milestone

Comments

@nickbadams
Copy link

nickbadams commented Aug 11, 2016

Expected behaviour

When in Timeline view and clicking on a post title in order to view post responses, we would like to see the responses displayed in the same sequence as the original survey questions.

Actual behaviour

The responses display in order of question type.

Steps to reproduce the behaviour/error

See DemoWatch deployment's posts. Survey Tasks 1, 2, and 4 display according to the bug. 3 displays properly (for some reason).

Aha! Link: https://ushahiditeam.aha.io/features/PROD-681

@jshorland
Copy link

@brandonrosage I'm not sure I completely understand this. Is this clear to you?

@brandonrosage
Copy link

@jshorland After investigating the issue on demowatch.ushahidi.io, I understand the problem. I'll carve out time to address this this week at the hit team.

We hear you, @nickbadams. I'll be in touch shortly.

@nickbadams
Copy link
Author

Y'all are great. Thank you!

On Sun, Aug 21, 2016 at 7:43 PM, Brandon Rosage notifications@github.com
wrote:

@jshorland https://github.com/jshorland After investigating the issue
on demowatch.ushahidi.io, I understand the problem. I'll carve out time
to address this this week at the hit team.

We hear you, @nickbadams https://github.com/nickbadams. I'll be in
touch shortly.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1335 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFfl9UgG8P1OJUy1KvPfrZQZD4B5TmuYks5qiQy4gaJpZM4Jhv_t
.

*Nick Adams, Ph.D.Research Fellow – Social Science, *

Berkeley Institute for Data Science
University of California, Berkeley

@rjmackay
Copy link
Contributor

rjmackay commented Sep 6, 2016

@brandonrosage does this need dev attention? or just design?

@jshorland
Copy link

@brandonrosage I'm moving this to design because i'm still not completely clear the desired behaviour here -- is this a bug, ux issue, or new feature?

@brandonrosage
Copy link

@jshorland This is the impetus for the "free-form surveys" issue we've discussed over the past few weeks. I'd like for it to be high-priority, and therefore slotted into the earliest sprint possible. If it looks like that'll be possible, I'll prepare a feature branch right away, demonstrating it.

@nickbadams
Copy link
Author

! :)

On Thu, Sep 22, 2016 at 2:41 PM, Brandon Rosage notifications@github.com
wrote:

@jshorland https://github.com/jshorland This is the impetus for the
"free-form surveys" issue we've discussed over the past few weeks. I'd like
for it to be high-priority, and therefore slotted into the earliest sprint
possible. If it looks like that'll be possible, I'll prepare a feature
branch right away, demonstrating it.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1335 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFfl9R1NfpBqY7YRwGF1-n4lxLjHit5xks5qsvX6gaJpZM4Jhv_t
.

*Nick Adams, Ph.D.Research Fellow – Social Science, *

Berkeley Institute for Data Science
University of California, Berkeley

@jshorland
Copy link

Thanks for that context @brandonrosage. let's get this thing built. I'm going to tag it with Sprint 12 for now.

@rjmackay
Copy link
Contributor

Ok.. for the benefit of the spectators (me!) can @jshorland or @brandonrosage add a few sentence scope to this issue? I'm not sure what 'free form surveys' are compared to status-quo.

@brandonrosage
Copy link

@rjmackay: "Free-form surveys" is shorthand for an approach to assembling a survey's fields in any order, with only the fields necessary for that survey. So we don't assume things like a "Title" text field, "Description" textarea, or "Location" location field.

The deployer dictates what each of their survey's fields are, what they're called, and what order they're in.

Furthermore, this creates a challenge to the design system with regard to how we display postcards when many won't have a traditional title, etc. The solution we discussed in Montreal involved a modest interface for the deployer to indicate which fields they would want to display in each survey's postcard (and in what layout).

Assuming this feature is clear for takeoff, I'll create a feature branch to demonstrate these things.

@rjmackay rjmackay modified the milestones: Soon, Sprint 12 Sep 26, 2016
@brandonrosage
Copy link

@rjmackay, @jshorland, @caharding, @nickbadams: I've completed a wave of initial work and thought on this "free-form surveys" solution. There's a lot of detail I won't cover just yet (like how things change depending on your permissions, or what things default to). I'll try to keep this first brain dump concise.

Configuring a survey

When creating a new survey, here's what you get:

new survey

Selecting "Add field" first displays a mainsheet asking you to indicate what type of field:

add field

Selecting "Appearance" displays a modal window for configuring, A, your survey's color, and B, which of your fields you want to display in the postcards (called "response summaries" in the UI):

Edit appearance

Selecting "Permissions" displays a modal window for configuring moderation and access:

Edit permissions

A complete survey configuration might look like this:

Edit survey

Surveys

So what would it look like to "fill out" a survey?

survey 1

...scrolling...

survey 2

Postcards

I actually started this process by dealing with the implications for postcards, since they're one of the most uniform patterns in Ushahidi (e.g. title, description, metadata) -- and making surveys "free-form" would require that they be much more fluid.

Again, the fields displayed in postcards can be one, three, or all of those that are used in the complete form. The UX encourages only displaying two or three, though. The fields that are displayed in postcards can also be positioned in any order the deployer wants -- not necessarily the same order they appear in the complete form.

Finally, the first field (if it's text) is always displayed in a larger font size. If it includes multiple paragraphs, only the first one is treated in that larger size.

So here are some examples of some postcards. Hopefully, the things that remain consistent and fixed are obvious.

Postcard for a survey with a short-text field in the first position, long-text in the second, and an image in the third...
title + image

Postcard for a survey with long text as the only visible field...
long text

Postcard for a survey with an image in the first position and long text in the second...
image + long text

Postcard for a survey showing four fields...
four fields


Thanks for your feedback and questions, y'all.

@jshorland
Copy link

@brandonrosage something charlie brought up that i think we deliberately eliminated in the transition to mustang is help text. We don't have a way for deployers to provide any context or instructional text alongside their custom fields. Ex: In my deployment, ushaverse.ushahidi.io, I added instructions to a survey field as the default text. A contributor has to manually delete that in order to fill it in, making it tedious to fill in fields. Do you think there is a place/compelling argument to re-integrate this back in?

@jshorland jshorland changed the title Display of Post Responses not ordered according to survey order Free form surveys Oct 11, 2016
@caharding
Copy link
Contributor

caharding commented Oct 11, 2016

One thing I've found to be a problem about this solution is the continued use of the up/down arrow to reposition questions. It can be very slow and difficult to add a field at the bottom you want to appear on top. Could there also be a click/drag solution?

Jess plus 1's this.

@caharding
Copy link
Contributor

I'm actually also confused about why the Desc/Title field are still treated in a unique way upon survey creation. Are they still a standard entity or not?

@caharding
Copy link
Contributor

A couple things:

  1. You're going to need to be able to hide/collapse all Surveys or Data Sources for screen real estate
  2. I think that what goes in the "Preview" card should be chosen not on the field, but in the preview mode, where the user can then drop down select which field they want in what order. It is confusing that they would have to reorder the survey if they want to reorder the preview in the current solution.
  3. This image's buttons take up too much space, they should simply read "Respond" "Assign" "Show" "Hide" "Edit"
    b43048b8-9b78-11e6-905b-596b3316bbba

@justinscherer
Copy link

@caharding @jrtricafort this should get sorted in the UI refresh.

@Erioldoesdesign
Copy link

Wow Okay theres a lot of history here! and I also see that this issue got away from it's original purpose of 'Free form surveys' so it should have really had multiple issues raised for each of the talking points... (from my pov)

Many of the visually confusing elements are solved in the UI refresh, but the interactions the user makes are still overly complex. However, we did implement a better way for moving elements around that isn't up/down arrows in the FE! I just can't find the issue...

I also don't think we eliminated things like mandatory title/description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants