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 container for updating quiz templates #29

Open
cliffpyles opened this issue May 28, 2019 · 0 comments
Open

Create container for updating quiz templates #29

cliffpyles opened this issue May 28, 2019 · 0 comments

Comments

@cliffpyles
Copy link
Collaborator

cliffpyles commented May 28, 2019

🚀Create container for updating quiz templates

Description

The application has a top-level entity called a Quiz. We need a container that implements a form to update quizzes. In addition to being able to edit the static properties, the entity allows for a dynamic number of values for the questions field. In addition to manually entering questions, the form should also be able to import copies of questions. If the Polaris design system does not already have a high-level component for this need, the team will need to also do a quick mockup of the proposed solution using low-level Polaris components.

Acceptance Criteria

The container should contain the following presentational components:

  • Button
  • Card
  • Form
  • FormLayout
  • Page
  • SkeletonPage
  • TextField

The form should display edit fields for the following properties from the quiz typedefs:

  • title
  • description
  • questions

The following should be used from the generated graphql operations:

  • updateQuiz
  • listQuestions

The route should be /quizzes/:quizId

Other Notes

  • The CourseUpdate container can be used as a reference.

  • The type definitions can be viewed in the project at this location: amplify/backend/api/whiteboard/schema.graphql

  • The Quiz entity should have no corresponding relationships in the scope of this ticket.

@cliffpyles cliffpyles changed the title Create container for updating quizzes Create container for updating quiz templates May 29, 2019
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

No branches or pull requests

1 participant