Skip to content

Commit

Permalink
docs: add badges penalty configuration (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
wowkalucky authored May 22, 2024
1 parent 791b105 commit 7320c0a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions docs/badges/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,22 @@ All key paths are generated based on the event type specified for the parent Bad

Please, see `configuration examples`_ for clarity.

Badge Penalties
---------------

Penalties allow badge progress resetting based on user activity.

Badge penalties are optional.
There could be 0 or more badge penalties configured for a badge template.

Each badge penalty is *targeted* to 1 or more badge requirements.
A penalty setup is similar to a badge requirement, but has different effect: it decreases badge progress for a user.

When a penalty has worked all linked badge requirements are "rolled back" (user's progress for such requirements is reset).

.. image:: ../_static/images/badges/badges-admin-penalty-rules.png
:alt: Badge penalty rules edit

Activation
----------

Expand Down
6 changes: 4 additions & 2 deletions docs/badges/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Badges (in progress)
====================
Badges
======

The Badges feature allows learners to earn achievements (badges) for their learning activities.

Expand All @@ -9,6 +9,8 @@ Badges (in progress)

Current Badges version is highly integrated with the `Credly (by Pearson)`_ service, but it is fully prepared to be used separately.

Note: this feature shadows previously deprecated Badges (Badgr-based).

----

.. toctree::
Expand Down

0 comments on commit 7320c0a

Please sign in to comment.