Commit Graph
9 Commits
Author SHA1 Message Date
Salla RautiainenandGitHub 9f1d9ecd22 Drag and Drop: The user can see only part of the exercise words (#212)
* Took strike away from used wordboxes. Changed the wordbox font colors when dropped in dustbins

* Replacing dragged words with new ones

* Fixed the bug that when all words were in dustbins but the bug displayed placeholder words

* Fixed the bug (less than 5 words displayed)

* Fixed try again -button bug

* Made changes based on comments: made masc, fem and neutral colors, deleted console.logs

* Changed paths

* UI changes after master merge changed UI
2025-03-27 13:41:26 +02:00
Salla RautiainenandGitHub 4e00f45414 Deleted footer and made UI fixes (#175)
* Deleted footer and other unnecessary styling. Fixed h1-title

* Changed hard-coded colors back to variables

* Refactoring navbar styling

* Frontpage color fixes

* Fixed colors in auth and learning forms

* Fixed color issues

* Changed link color
2025-03-19 20:05:45 +02:00
Salla RautiainenandGitHub 34b6648a22 Drag and Drop -exercise success message and UI changes (#170)
* Added a success message after the exercise is complete

* Modified UI for drag and drop exercise

* Made dustbin height dynamic

* Made wordboxes align with the dustbins
2025-03-18 16:17:24 +02:00
Salla RautiainenandGitHub a85a85dd65 Drag & Drop exercise template (#158)
* Started the drag drop functionality

* Fixed a bug

* Deleted old ui boxes

* Hovering over the box doesn't change the title

* The dustbin shows all the placed items instead of the last dropped

* Changed styling to globals.css

* Wordbox doesn't move after it is already placed in a dustbin

* Added wordboxes. Moved itemtypes under exercises-dragdrop

* Made a reset button

* Refactoring code based on comments
2025-03-13 14:07:58 +02:00
ddf1b33dc2 Created a sql schema for drag-and-drop exercise template (#115)
* Fixed a typo

* Created sql schema for drag-and-drop exercise template

* Updated exercise schema

* Started making UI for drag-and-drop exercise template

* UI changes for the top box

* Updated schema

* Updated schema

* Started working with drag function

* Jukka/login refactor (#132)

* Refactor password verification logic into verifyPassword()

* Refactor: Move session.js to backend/auth and update imports and test mock paths

* Vili/username (#135)

* update db includes username

* add create username

* add username as login option

* update login test

* fix renaming migrate files (#136)

* RedHat OpenShift deployment functionality (#137)

* Testing openshift setups

* husky caused some error in the redhatopenshift environement so I am trying to debugg that

* trying to debugg the deployment for openshift

* more debbugging for getting the app deployed on openshift

* more debugging for openshift deployment

* same as the other previous 2 commits

* continuing the debugg

* making a memory optimization to Dockerfile for getting this next.js app deployed

* made a : Deploy Dockerimage to github registry functionality

* fixed a syntax issue, regarding to this push

* added 2 missing lines of code for deploying docker image to Github registry

* added a new tag and deleted unused files

* tags? (#133)

* openshift deployment functionality

---------

Co-authored-by: Axel Adlercreutz <39679469+DoebelnAtz@users.noreply.github.com>

* fix build error (#138)

* fix build error

* rm slug

* Fixed typo on schema

* Update data/migrations/00005_drag_and_drop_exercise.sql

* fix schema

---------

Co-authored-by: Jukka Kuusto <38991418+jkuusto@users.noreply.github.com>
Co-authored-by: Vili-Ilari Kaisto <162989993+w1ll1ey@users.noreply.github.com>
Co-authored-by: pronom8 <139699276+pronom8@users.noreply.github.com>
Co-authored-by: Axel Adlercreutz <39679469+DoebelnAtz@users.noreply.github.com>
Co-authored-by: DoebelnAtz <axel.ej.adlercreutz@gmail.com>
2025-03-06 15:51:09 +02:00
8045cc4175 Created simple lesson and exercise pages (#91)
* Added basic lessons page. Added a logo placeholder.

* Added basic navigation bar

* Added styling to navigation bar

* Added sidebar navigation

* Added a drop-down menu, color corrections

* Fixed text wrapping issue

* Some fixes to lessons-page and cleaning the code

* Added grammar boxes and fixed ui

* Added two more grammatik boxes. Made show more -links to each box and some css-styling to links

* Changed Übung-texts to links and changed css styling for different links

* Changed the code so you don't have to do so much manual work when adding a new grammatik box. Still needs some styling though

* Fixed the h1-title bug so that it is not hidden underneath the sidebar anymore

* Made links from lessons-page to one exercise-page. Created a route to exercises, however, it still needs to be changed since one page isn't enough.

* Changed the ui for exercise-page

* Made changes based on the comments in PR draft

* Started implementing simple test

* Deleted the unnecessary test. Fixed lessons-page based on comments. Changed back filenames

* Changed button name to German

---------

Co-authored-by: Mari Lehtikari <mari.lehtikari@helsinki.fi>
2025-02-26 11:31:53 +02:00
Salla RautiainenandGitHub 485b6332bb Added priority to logo to fix a warning. (#80) 2025-02-11 10:53:08 +02:00
Salla RautiainenandGitHub 190fe5feb0 Update README.md (#32)
Delete duplication
2025-01-29 14:24:34 +02:00
rautiaisandGitHub 6cc2feaae6 Create README.md (#5) 2025-01-21 14:16:20 +02:00