-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: ✨ add page template #3
base: develop
Are you sure you want to change the base?
Conversation
This commit introduces an example of what this tool will be able to generate. It must be noted, though, that this is obviously a prototype and will be changed in the future.
Click here to see a preview of the example page! |
I've noticed that the button to clear the answers only supports a full clear. What if we create an extra option on each question to clear the current answer? What do you think? |
Good point! I'm thinking we put a danger button after the options for the answer. However, if we do that, I think we will need to handle the clear in JavaScript. |
This commit adds fill button support for radio inputs. Later on, other types of inputs will be supported as well. This commit also changes the behaviour of clear buttons, in order to fix some unwanted behaviour.
This doesn't make sense as the check button is only meant to check the answers. If the user wants to see the correct answer, there is a fill button available.
eaa65e0
to
578a677
Compare
The only thing left now is navigation! |
In this commit, the side of the navigation widget was reduced by 1rem, making it a little bit more spaced. The name of the navigation widget was also changed to the name of the test. Finally, keyboard navigation in the navigation widget was improved.
Navigation is done! |
fc711be
to
ec63c9d
Compare
This pull request's main objective is to create a template that can be used by our tool, along with Jinja (most likely), to create a page for a given quiz.
This is still a work in progress.