You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

3h 25m 45s logged

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
0
4

Comments 0

No comments yet. Be the first!