Skip to content

gymnasium/xblock-leaderboard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forum Leaderboard XBlock

Build Status

This XBlock allows you to display an arbitrary number of top scoring threads in an inline discussion.

Instructions

Add forum_leaderboard to your list of modules in the advanced settings for your course. In a unit where you want to add the leaderboard, click on the advanced button and select Forum Leaderboard from the dropdown. Click the edit button, and paste in the Discussion ID of an inline discussion somewhere in your course.

An inline discussion's ID is displayed on its studio preview.

Notes

Because this XBlock relies on the discussion service, it uses dummy functions in the XBlock SDK for testing.

Links to threads do not go to the unit the inline discussion is in, but to the general course discussion page, opening up the specific thread. This is because inline discussions do not support opening and focusing on a particular thread on page load.

About

An XBlock for displaying the top voted threads in an inline discussion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.3%
  • HTML 9.7%
  • JavaScript 4.9%
  • CSS 0.1%