apluslms / a-plus

A+ frontend portal - A+ LMS documentation:
https://apluslms.github.io/
Other
67 stars 72 forks source link

Personalized points goal #1387

Open mikaelGusse opened 1 month ago

mikaelGusse commented 1 month ago

Description

What?

Add a feature to the progress bar for modules which allows you to set a points goal for that particular module. When this goal is reached, the points progress bar changes color to blue. image image image image

Why?

Was asked for and improves the student experience of using APlus.

How?

Changed templates, added a new class to store points goals, added a modal to the interface to modify and create goals. Also changed how the points required vertical bar is shown to be clearer.

Fixes #1332

Testing

Remember to add or update unit tests for new features and changes.

What type of test did you run?

Added playwright tests to test this feature. Manually tested different combinations of required points, points goals etc.

Did you test the changes in

Think of what is affected by these changes and could become broken

Translation

Programming style

Have you updated the README or other relevant documentation?

Is it Done?

Clean up your git commit history before submitting the pull request!