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

Implement Create new question frontend #126

Merged
merged 14 commits into from
Sep 26, 2024

Conversation

SelwynAng
Copy link

@SelwynAng SelwynAng commented Sep 24, 2024

Resolves #38.

Changes made

  • Add new questions/create/page.tsx
  • Add new question-create.tsx component
  • Edit existing questions-listing.tsx component to include button to create a new question
  • Edit existing question-form.tsx form component to make it generalise to situations when creating new question OR editing existing questions. All fields are now required too.
  • Edit existing question-view-edit.tsx component to make use of updated question-form component
  • Add new success green variant for toast messages (to be used after successfully creating a new question)

Copy link

@TanPingZhi TanPingZhi left a comment

Choose a reason for hiding this comment

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

Will merge after my pr is merged

@TanPingZhi TanPingZhi merged commit be87f97 into main Sep 26, 2024
1 check passed
@TanPingZhi TanPingZhi deleted the feature/frontend/create-question branch September 26, 2024 09:10
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.

F2.1.8 The service should allow admin users to create new questions through the frontend.
2 participants