zetkin / app.zetkin.org

Current-generation ("Gen 3") web interface for the Zetkin Platform.
https://app.dev.zetkin.org
24 stars 55 forks source link

Defining/edit Journey (type/template) #574

Open richardolsson opened 2 years ago

richardolsson commented 2 years ago

Description

A user with sufficient privileges should be able to define a new journey template, or edit an existing one. The data belonging to a template is:

In the future, both the overarching template model, and the per-milestone model, may be extended with more configurable features.

Relevant Job Stories

Prerequisites

None

Requirements

Design specifications

See https://github.com/zetkin/app.zetkin.org/issues/574#issuecomment-1076599343

Open questions

richardolsson commented 2 years ago

This was discussed in a recent UX meeting, and will need some design. Some notes from that meeting:

GemCopeland commented 2 years ago

Hey @richardolsson @lowlandjuju,

I'm just going to put my design sketches in here, but let me know if you'd rather me start a Discussion about it instead so we don't clog up the issue.

Here's the overview of all Journeys: Journeys overview

I've put the templates in there for now, under the Manage tab: Journey templates

People can edit/delete/duplicate Templates from there: Journey templates – actions

Or you can create a new one. It will open an "Untitled template" page where you can start editing things directly. I haven't added a Save primary action button because my assumption is that if we're using this pattern then it should be automatically saved. But also open to discussion on that one. Untitled template

I've gone for a pretty simple page with lots of inline prompts to help people when they're filling it in.

You can click the title to change it: Add title

Then you just add the summary: Add summary

And milestones: Add milestones Add another milestone

What do you think?

richardolsson commented 2 years ago

Nice work @GemCopeland! I think it looks very good, but I do have a couple of suggestions that I'd like to hear your take on.

Terminology

First, I'm wondering if we should try to avoid the word "template", at least as the headline for this feature. I'd like to simply call the template a "Journey". Sometimes we use the word "journey" to refer to a specific instance of a journey, e.g. a case etc, but I think we should use the domain-specific name for those (i.e. "case"). Some sentences using this terminology:

My suggested terminology "Template" terminology
Hey, can you set up a journey for casework? Hey, can you set up a template for casework?
A member called me with some issues. I'm going to create a case for them A member called me with some issues. I'm going to create a journey for them

Do you think that's going to be confusing? I'm just conscious that sometimes we present "feature" names very prominently instead of using terminology that explains the ROLE that the feature plays to the user.

Another example (for context) of this eagerness of ours to use feature names as UI is "Views", which is a great name for a feature, but I think a list of views should be headlined "People", not "Views", because that's why the user is there – to find people.

I'm honestly not sure what I think. 😊

Need for "Manage" page?

Secondly, I'm wondering if we really need the Manage tab? Maybe it's good to have it to keep things separate and what I'm about to suggest is not as good, but I think another option would to just move the functionality from the Manage tab to the Overview tab that is explained in #573.

GemCopeland commented 2 years ago

I really like both those suggestions!

100% agree about the naming – we can get so caught up on what a feature is on a technical level that it's easy to forget how someone with no context will see it and understand it.

Also like the idea of removing a tab and just having the create action in the FAB.

GemCopeland commented 2 years ago

New version starts here in Figma: https://www.figma.com/file/D4PrAup54f3vS4apqY3M7U/Journeys-MVP?node-id=1601%3A23692

Preview: Journeys overview Journeys – actions Create new journey Untitled template

richardolsson commented 2 years ago

Cool @GemCopeland! I think this looks good. Only things I would change (but that can be fixed in development) is: