I love creating and editing questions! The only problem is it looks awful … :(
What I did:
- created a Rails model for questions and tags (the big JSON image with questions)
- wrote logic to recursively build a tag tree (with tags, subtags, colours, and questions)
- wrote a view to allow dragging and dropping questions
Challenges:
- getting the questions to actually drag and drop into the right tag
- preventing it from infinite-looping updating (I hate you React)
- sending backend requests to update the view, the whole fetch/get/post thing was complex and I accidentally DOS’ed my backend a few times (oops)
- Auto colour generation
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.