* UI and usability fixes
* refactoring click exercise to save user answers
* add functionality to save user answers
* fetch user answers
* quick cleanup
* add tests
* fix using testfactory
* Changed admindragdrop location and started connecting it to the database
* Moved files
* Added title for the d&d exercise creation
* Create button can't be pressed until all fields are filled
* Added a preview-window for when creating a drag and drop exercise
* the data now submits correctly from page.js
* data is now received in the correct format
* update schema
* added linkbutton, linked dragdrop form
* Fixed cancel-button link
* Added cancel-button
* Fixed the blue-color
* translated dnd admin form to German
* Creating tests
* fix migration
* Fixed the test
* Re-made translations from English to German cause of a merge fail
* Fixed the bug that broke the color picking function. Translated rest of the words to German
* run dbreset
---------
Co-authored-by: Mari Lehtikari <mari.lehtikari@helsinki.fi>
Co-authored-by: DoebelnAtz <axel.ej.adlercreutz@gmail.com>
* add new sidebar links
* added scrollbar to side navigation
* sidebar links no longer open a new tab
* removed glossar link and changed the title to links to other websites for clarity
* backend routes for anchors
* migration
* frontend components
* schema
* use logger
* use snake-case
* cleanup
* use variables
* axel/anchor frontend (#308)
* add ability to link & unlink
* add ability to link & unlink
* style and bugfix
* Create database tables for multichoice exercise
* Fetch exercise data from DB, form page slugs according to multichoice_exercises id
* Populate DB with example multichoice exercise data
* Remove confusing user message while useQuery handles data
* Display exercise description
* Add automatic shuffle of multichoice options order
* Reset incorrect answer style coloring when user reselects an answer option (before resubmitting)
* Rename migrations to avoid conflicts with master
* Update populate file with category column
* Create tests for multichoice exercise
* Fix typo from conflict resolving
* added a primitive dit_info page
* further work onto the change information pages
* further work on onto change information pages
* working on change password page
* basic change password functionality added
* added tests for editing ones own password
* improved the tests regarding to edit_password
* Implemented the authMiddleWare to edit_password route
* deleted a console.log
* deleted a comment from a css file
* deleted a console.log
* clean up test and route
---------
Co-authored-by: DoebelnAtz <axel.ej.adlercreutz@gmail.com>
* Creating a page for admin to create d&d exercise
* Made dropdown menu for the number of boxes that will then dynamically appear on the screen
* Added word boxes next to titles
* Fixed based on comments: 1. there is no number of boxes choosed in the beginning 2. the fields don't reset when the number of boxes is changed
* changed titles to categories
* added color option dropdown menu
* changed layout to rows
* added colors to the dropdown options
* changes to dnd schema
* update dnd schema
* added route file
* Small db changes
* Commented changes away for now
* Updated drag and drop schema
* reordered columns for consistency
* adjusted gaps
* added created_by reference to exercises and dnd_exercises
* added dropdown components
* fixed naming
* Dropdown menu changes to get colors to work
* Added style to dropdown component
* Deleted old comments
* Made progress with database connection
* Made corrections, now the exercise is connected from the database and displayed on the screen.
* Fixed a bug (when dropping a wordbox, the page froze)
* Fixed a bug, now the font color changes when the wordbox is dropped to the right dustbin
* Deleted unnecessary itemtypes file
* Made a sample drag and drop exercise
* Reverted old migrations and made a new one
* Fixed the add dnd exercise migration and altered the old dnd migration file with a new file
* Changes made based on comments
* Lint fix
* add schema
---------
Co-authored-by: Mari Lehtikari <mari.lehtikari@helsinki.fi>
Co-authored-by: DoebelnAtz <axel.ej.adlercreutz@gmail.com>
* new pages
* added italics
* fixed colors
* added underline
* removed unnecessary comments
* moved italic and underline styles to globals.css
* added new blue
* moved alphabetical chapter list to separate file
* updated the email sending tests and functionality to match the new cookie updates
* changed the all of the complaint words from the code to message words