-
Notifications
You must be signed in to change notification settings - Fork 11
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
Issues 57/design new admin page questionnaire #156
Issues 57/design new admin page questionnaire #156
Conversation
@@ -13,7 +13,7 @@ router.route('/').get((req, res) => { | |||
|
|||
router.route('/:title.:language').get((req, res) => { | |||
Questionnaires.findOne({ | |||
title: req.params.title, | |||
title: decodeURIComponent(req.params.title), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this needed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in case the title has any special characters or spaces
<Navbar content={content} dashboard={true} /> | ||
<section> | ||
{chooseFile ? ( | ||
<form> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes correct use of form thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fantastic work @mrgjune thank you very much! just a couple of comments before we merge
📜 Description
Describe the general shape of this PR (new feature? refactor? bug fix? one-line change?)
new features
Describe what changes are being made
Describe why these changes are being made
Allow the app to have multiple questionnaires and give admin control of updating questionnaires
Describe how you tested these changes
functional tests
Link to relevant external documentation
📋 Mandatory Checklist
Example of a checked item (please remove when creating your Pull Request)
Linked to the Github Issues being addressed using the right sidebar ➡️
Have you discussed these changes with the project leader(s)?
Do all variable and function names communicate what they do?
Were all the changes commented and / or documented?
Is the PR the right size? (If the PR is too large to review, it might be good to break it up into multiple PRs.)
Does all work in progress, temporary, or debugger code have a TODO comment with links to Github issues?
If you changed the user interface, did you add before and after screenshots to below?
🖼️ Screenshots and Screen Recordings
Before
After
📘 Glossary