Week 7–8 at CircuitVerse — Google Summer of Code 2024
These two weeks were around creating the question page UI for both the moderators and the normal users along with integration of the question with simulator. Features that are implemented in this page includes:
- Search filer to search for any questions based on its title and/or description
- Filter by question categories, difficulty level and status(attempted, unattempted or solved)
- Change the view (List or grid). By default all the questions are displayed in grid view
- Pagination is included so that users can see maximum 6 question card
In each card , user can see the level, question category as well as a view button which when clicked, user will be able to view and attempt the question. The simulator page with the question is shown below. It doesnot contain testbench. When user attempts the circuit and clicks on Submit and Test then an alert comes which shows the number of test cases passed.
All test case passed means for that user, the question is moved to “solved” status and partial test case passed means the question is moved to “attempted” status.
When the question bank moderator opens the question page then for him/her, edit and delete icon will be shown for which question edit and delete can be done