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

feat: new survey/template from json 🆕 #1331

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

luke-mcfarlane-rocketlab
Copy link
Contributor

@luke-mcfarlane-rocketlab luke-mcfarlane-rocketlab commented Feb 19, 2025

JIRA Ticket

BSS-770
BSS-771

Description

Add the ability for users to create a new survey or template by uploading a JSON file.

Proposed Changes

  • Created dialog to create new survey or template
  • Created forms for creating new surveys/templates
  • Added buttons to survey/template tables

How to Test

  1. Navigate to surveys/templates table
  2. Click the "Create survey/template" in the top right
  3. Select a name, JSON file and click submit
  4. Verify that the survey/template was created

Additional Information

Checklist

  • I have confirmed all commits have been signed.
  • I have added JSDoc style comments to any new functions or classes.
  • Relevant documentation such as READMEs, guides, and class comments are updated.

@luke-mcfarlane-rocketlab luke-mcfarlane-rocketlab marked this pull request as ready for review February 19, 2025 03:05
Copy link
Contributor

@PeterBaker0 PeterBaker0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add the option to use an existing template to the new survey page - similar to wireframes.

image

Notably you can ignore team.

I also would prefer the naming "Design file" over "Project file" - so the final wording should be

"Survey design file" after you change Project to be configurable to be Survey

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

Successfully merging this pull request may close these issues.

2 participants