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

[Create/edit survey] Allow organizers to create and apply survey templates #2114

Open
rfontanarosa opened this issue Dec 4, 2024 · 7 comments
Labels
type: fr Request for new feature ux needed Product input from PM/UX needed web Angular implementation of Web UI
Milestone

Comments

@rfontanarosa
Copy link
Collaborator

rfontanarosa commented Dec 4, 2024

To improve survey creation efficiency and reduce redundancy, we propose implementing a survey templating system.

Allow users to designate any existing survey as a template during creation or via a dedicated action in the survey list view. This could be achieved by adding a checkbox or a dedicated "Save as Template" toggle.

Enable users to create new surveys from existing templates. When creating a new survey from a template, the system should copy:

  • Survey metadata (name, description, integrations)
  • Job structure (name, tasks)
  • Exclude Location of Interests (LOIs) and Access Control Lists (ACLs)
@rfontanarosa rfontanarosa added type: fr Request for new feature web Angular implementation of Web UI labels Dec 4, 2024
@gino-m gino-m changed the title [Feature] Survey templating system [Create/edit survey] Allow organizers to create and apply survey templates Dec 4, 2024
@gino-m gino-m added the for pm/ux review Product decision needed label Dec 4, 2024
@gino-m
Copy link
Collaborator

gino-m commented Dec 4, 2024

@lecrabe Mentioned that template can also be used by new users to test the app - new users can quickly use a public template to create a private survey for testing.

@kenstershiro kenstershiro added the ux needed Product input from PM/UX needed label Dec 6, 2024
@kenstershiro
Copy link
Collaborator

Gregory Sampson, from WTO ITC also has a use case for this - create the same survey type for multiple different farmers. Same survey but different ACLs for each (each survey is shared with a single farmer). Current cloning doesn't allow different LOIs.

@kenstershiro kenstershiro added this to the GA release milestone Dec 6, 2024
@kenstershiro kenstershiro moved this to Todo in Ground Dec 6, 2024
@gino-m
Copy link
Collaborator

gino-m commented Dec 6, 2024

Gregory Sampson, from WTO ITC also has a use case for this - create the same survey type for multiple different farmers. Same survey but different ACLs for each (each survey is shared with a single farmer). Current cloning doesn't allow different LOIs.

As far as I know, you can currently only clone jobs, not surveys. @rfontanarosa has a manual script for doing that, but nothing user facing.

@kenstershiro I assume templates should be public? Who can create templates, and how do we prevent random users from creating garbage or offensive templates?

@kenstershiro
Copy link
Collaborator

kenstershiro commented Dec 8, 2024

@kenstershiro I assume templates should be public? Who can create templates, and how do we prevent random users from creating garbage or offensive templates?

@gino-m one idea might be to allow users to create new templates themselves, and share with the same level of permissions that they have currently to share/invite surveys.

@gino-m
Copy link
Collaborator

gino-m commented Dec 9, 2024

@kenstershiro I assume templates should be public? Who can create templates, and how do we prevent random users from creating garbage or offensive templates?

[@gino-m](https://github.com/gino-m) one idea might be to allow users to create new templates themselves, and share with the same level of permissions that they have currently to share/invite surveys.

This would add a bit of complexity in the web UI and the web and Android implementations, so should be considered carefully. @lecrabe also wanted a template visible to everyone so that new users can quickly create a survey, so you'd also need to add a way to set a survey template to be available to "all users".

Would WTO ITC be ok with their templates being accessible to all Ground users? That make it easier to roll out an MVP.

@kenstershiro
Copy link
Collaborator

Question on workaround using cloning of surveys, and using public surveys for cold start issue.
Could be some relation to the FR to provide a test survey, and/or providing a starter sample survey to personalise and get started.
Could be task templates rather than entire survey templates? Do we need to clone LOIs? Task creation would need to include option to start from a template or start your own.
Suggestion to start with templating tasks only as first step, with limited number of public templates (could be achieved through public surveys which are cloneable and visible)
Possible follow up on providing options like land cover classes (separate issues on this)

@kenstershiro
Copy link
Collaborator

kenstershiro commented Dec 13, 2024

P0 for public surveys (for training) - #2121
P1 for copying any survey - #2122

@kenstershiro kenstershiro removed the for pm/ux review Product decision needed label Dec 13, 2024
@kenstershiro kenstershiro modified the milestones: GA release, Icebox Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: fr Request for new feature ux needed Product input from PM/UX needed web Angular implementation of Web UI
Projects
Status: Todo
Development

No branches or pull requests

3 participants