ksucpea / bettercanvas

Dark mode, better todo list, GPA calculator, and more for Canvas
MIT License
86 stars 23 forks source link

Fix for dashboard grades not showing #67

Open August-H opened 2 months ago

August-H commented 2 months ago

getGrades function takes from current_grading_period scores when it should be computed_current_score

Fixed getGrades funciton:

function getGrades() { if (options.gpa_calc === true || options.dashboard_grades === true) { grades = getData(${domain}/api/v1/courses?enrollment_state=active&include[]=concluded&include[]=total_scores&include[]=computed_current_score&per_page=100); } }

Line 1778 in content.js Fixes GPA calculator also

August-H commented 2 months ago

Screenshot 2024-04-28 151500

Bug in red

ksucpea commented 3 weeks ago

Sorry for the extremely late response, been quite busy. I'll try getting this into the next update whenever that is (maybe in a month or two)