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

Add required question functionality #7

Closed
wants to merge 1 commit into from

Conversation

Balastrong
Copy link
Member

@Balastrong Balastrong commented Apr 28, 2024

Implements functionality to mark questions as required in the survey generator and visually indicate required questions.

  • UI Updates: Adds a "Mark as Required" button to question cards in src/components/survey-generator/question-card.tsx, allowing users to mark questions as required. Also, a red indicator icon is displayed next to the question card title for required questions, enhancing visual feedback.
  • Type Enhancements: Updates src/types/survey.ts to include a required boolean attribute for both TextQuestion and ChoiceQuestion types, ensuring the data model supports the notion of required questions.

For more details, open the Copilot Workspace session.

@Balastrong Balastrong closed this Apr 28, 2024
@Balastrong Balastrong reopened this Apr 28, 2024
@Balastrong Balastrong closed this Apr 29, 2024
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.

1 participant