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

Survey page and submission flow ✊ #1620

Open
6 of 8 tasks
Tracked by #1615
richardolsson opened this issue Nov 10, 2023 · 1 comment · May be fixed by #1756
Open
6 of 8 tasks
Tracked by #1615

Survey page and submission flow ✊ #1620

richardolsson opened this issue Nov 10, 2023 · 1 comment · May be fixed by #1756
Labels
🐬 Medium Just a nice sized issue.

Comments

@richardolsson
Copy link
Member

richardolsson commented Nov 10, 2023

Description

A user should be able to fill out a survey created by an organizer.

See epic #1615 for context.

Estimated size (S, M, L)

I think this issue is medium because it requires very little API integration, but the UI will be quite complex.

Requirements

  • Render survey at /o/{orgId}/surveys/{surveyId}
  • Render title and avatar of organization that owns it
  • Render title and description of survey
  • Render all of the survey form elements
  • Based on survey settings, allow users to sign in one of several ways (anonymous, authenticated, name+email)
  • Submitting the survey should result in the submission being posted to the API and available to organizers
  • After submitting, present a confirmation that the survey was correctly submitted
  • If an error occurs, present an error message and allow the user to try again (preferably without filling out everything from scratc)

Possible implementations

It should be possible to use the existing hooks useSurvey() and useSurveyElements().

Design specifications

Design will be developed along with the functionality, but the old Gen2 interface can hopefully be inspiring.

@richardolsson
Copy link
Member Author

Branch off the base branch called epic-1615/activist-portal-base (PR #1623) when working on this at the Code Camp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐬 Medium Just a nice sized issue.
Projects
None yet
1 participant