Skip to content
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

feat: badges #795

Merged
merged 9 commits into from
May 14, 2024
Merged

feat: badges #795

merged 9 commits into from
May 14, 2024

Conversation

pateljannat
Copy link
Collaborator

@pateljannat pateljannat commented May 2, 2024

You can now create and assign badges to learners. For now, badge creation can be done from the desk. It will soon be moved to the portal.

New Badge Creation

Screenshot 2024-05-14 at 3 03 30 PM
  1. To create a new badge, add a title, image, and description.
  2. Then choose an event, a relevant DocType and User Field. User Field means which user would this be applicable to.
  3. There are 3 types of events: New, Value Change, Auto Assign.
  4. New: If you want to assign a badge on new document creation. Example when a quiz is submitted a new document gets created for LMS Quiz Submission.
  5. Value Change: If you want to assign a badge when a certain value changes. Example when user completes a course, the progress in LMS Enrollment gets updated to 100%.
  6. Auto Assign: If there is no event and you want to assign based on certain condition. Example assigning badges to all students of a batch.

When a user gets badges they can check the same from their profile page.

Screenshot 2024-05-14 at 2 54 19 PM

Copy link

cypress bot commented May 2, 2024

1 failed test on run #523 ↗︎

1 0 0 0 Flakiness 0

Details:

Merge 2ea5858 into 9670dfa...
Project: lms Commit: 5a2d69ccfd ℹ️
Status: Failed Duration: 01:16 💡
Started: May 14, 2024 9:52 AM Ended: May 14, 2024 9:53 AM
Failed  cypress/e2e/course_creation.cy.js • 1 failed test

View Output Video

Test Artifacts
Course Creation > creates a new course Screenshots Video

Review all test suite changes for PR #795 ↗︎

@pateljannat pateljannat marked this pull request as ready for review May 14, 2024 14:16
@pateljannat pateljannat merged commit 0094809 into frappe:develop May 14, 2024
2 of 4 checks passed
This was referenced May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant