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

Added preset_questions array field to the project model #272

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

GokulramGHV
Copy link
Member

fixes #263

@vercel
Copy link

vercel bot commented Aug 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ayushma ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 31, 2023 5:14am

@bodhish
Copy link
Member

bodhish commented Aug 26, 2023

Can we store more question options? It would have been nice if the UI showed different questions.

@skks1212
Copy link
Member

@bodhish how many do we want?

@bodhish
Copy link
Member

bodhish commented Aug 26, 2023

Let the backend store many; on FE show 4

@GokulramGHV
Copy link
Member Author

@bodhish so shall I set the size to like 100 and randomly pick four out of the preset_questions and display it on the frontend?

@bodhish
Copy link
Member

bodhish commented Aug 28, 2023

Yes; load random 4

@skks1212
Copy link
Member

@GokulramGHV status on this?

@GokulramGHV
Copy link
Member Author

GokulramGHV commented Aug 31, 2023

@skks1212 Sorry for the delay, I've increased the no. of preset_questions and I've also made a frontend PR. Please review it and let me know if there are any changes.

@skks1212 skks1212 merged commit 46b809b into master Sep 1, 2023
2 checks passed
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.

Add configurable preset questions to a project
3 participants