badgr-xblock's People
badgr-xblock's Issues
cms server error
Hello,
I installed the xblock following a different process, but while the lms works fine, the cms display a server error.
How can I fix it?
The tab for badgr text and back ground colour is the same.
When the user get to the page to view his badge, the button text and back ground colour are the same, so the learner won't know he should click on the botton.
url: https://khda.proversity.org/courses/course-v1:KHD+KHD001+2017
Steps
- click on the url above and login
- If not, complete the course so you can earn your badge, if you already have a badge, go to the badge section and reset your badge by clicking 'Staff Debug Info', reset your you badge and refresh the page
Results:
The text an the icon colour are the same
Expected Results:
The text should be a different colour to the background colour so the user can read the text.
Make badge responsive for mobile
Make Badger Xblock Public
- Update readme with installation instructions
- Wait for Grades API PR to be merged
- Notifiy EdX community
Badgr doesn't work
Hello,
I installed the xblock and now lms and cms work fine but when I try to click the button "click here to view your results" the edx shows the error
"Studio's having trouble saving your work
Resource not found"
What resource?
I use api.badgr.io server
No LICENSE
The repo has no LICENSE file, which effectively means "all rights reserved" and no one should use it. If you want this to be used by others, please add an OSI-approved license.
Criteria link not working
When trying to open the 'Criterial' link for a badge, the user gets an 'ERR_CONNECTION_TIMED_OUT' error message.
The issue is that when the 'Criteria' is created, the internal mechanism for badgr generates a HTTPS link and is sohuld be a std HTTP url
Steps:
- Login to badgr - http://badgr.proversity.org
- Click on Issue Badges.
- Select a 'Issuer' (Client)
- Select a badge.
- Click on the 'Criteria' link
Results.
The user gets an error - See screenshot below
Expected results
The user is able to view the criteria of the badge.
LMS Badged display filter
Enhance either badgr server or the xblock and/or LMS to filter the badges received on the user profile page.
PS: very low priority
refine badger xblock
Currently working with badgr-server. Will need to add some logic to ensure it displays the correct html fragment depending on if the user has already checked for the badge and NOT been awarded the badge. Will need to set up some styling of the html fragment.
Will need to test and ensure the spinners (while fetching the badge, until ajax request has succeeded) work as should.
Will need to add a drop down menu in Studio settings, listing all possible issuers on badgr-server.
Add error function to ajax request
When receiving your badge, the text 'congratulation message' appears to be a link
When a student has successfully passed a section with a badge and the user hovers his mouse over the message,it appears to be a link.
url: https://khda.proversity.org
Steps.
- Click on the link above.
- Complete a section to achieve your badge.
- After you successfully complete the section and received you badge, hover you mouse over the 'Congratulations message'
- The pointer becomes a hand, as to select the link
Results:
When the student click on the message, nothing happens. it should open up the badge OR
The message should not be linked.
Translations break when badge is loaded
When a course is translated, and badgr is setup to use the translations, it breaks.
Setup Studio
url: http://staging.studio.proversity.io/course/course-v1:KHD+KHD001AR+2017
Steps:
- Login to studio
- Select the KHDA Holacracy® 101 (Arabic) course
- Rename/change Module 01 to الوحدة 01
- Expand module 01
- Click on 'Unit 2 Results screen'
- Click Edit
- Rename/change the 'Section title' so it is the same as above
- Click Save
- Click Publish
- Click on the link above and login
- Select the Welcome to Holacracy® 101 (Arabic) course
- Click on the course tab and select the Module 1: Living Holacracy® section and the Module 01 Subsectio
- Complete the answer.
- Click Next
- Click 'Click here to view your results'
Results
The mouse cursor turns into an infinity spin wheel
Expected results
The badge should load
JS error checking for badge
I get the following JS error when checking for section completion and earning a badge:
(index):2409 Uncaught TypeError: Cannot read property 'hasOwnProperty' of undefined
at Object.getGrades [as success] ((index):2409)
at fire (lms-main_vendor.53cdacba553b.js:2)
at Object.fireWith [as resolveWith] (lms-main_vendor.53cdacba553b.js:2)
at done (lms-main_vendor.53cdacba553b.js:4)
at XMLHttpRequest.<anonymous> (lms-main_vendor.53cdacba553b.js:4)
The error is with these lines
badgr-xblock/badgr/static/js/src/badgr.js
Lines 17 to 19 in 7077d49
No data for section_scores
is returned in the JSON from a GET request to /api/grades/v0/course_grade/course-v1:Appsembler+002+2018_Q3/users/?username=bryanlandia
what is returned is:
[{"username":"bryanlandia","letter_grade":null,"percent":0.01,"course_key":"course-v1:Appsembler+002+2018_Q3","passed":false}]
Were you using a custom branch of edx-platform for this? I don't see any section_scores
returned by the view method here
https://github.com/edx/edx-platform/blob/edx_master/lms/djangoapps/grades/api/views.py#L164-L186
Trial badger Xblock development
I am developing a "Badger XBlock" so that we can allow course creators to place this xblock in appropriate places in a course. It will remain hidden to the user, but if they user meets certain criteria the badger xblock will be displayed/visible.
We are testing this feature and it is still under development.
SETTING
Hello,
I am trying to install the xblock but I don't understant where the SETTINGS are. In lms.env.json there isn't such section.
Thanks in advance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.