diff --git a/src/content_script/scores/ScoreTools.svelte b/src/content_script/scores/ScoreTools.svelte index a98a337..64960fe 100644 --- a/src/content_script/scores/ScoreTools.svelte +++ b/src/content_script/scores/ScoreTools.svelte @@ -1,6 +1,7 @@ + +
+

Export Customizable Grades

+

+ This tool allows you to export your grades to a Google Spreadsheet, + containing all the weightings for assignments and categories.All the data comes from the "Category Weighting and Advanced See All + Possibilities" tool. So, you can modify the category weightings and assignments. This tool is built + for final exam week when PowerSchool is closed so you can remember your grades. + This will exist until I feel like creating an in-extension solution to storing + your data. +

+ +

+ Once you've clicked the above button, go to the Google Sheet of your choice + or use this link to create a new one. Then, just paste (Cmd-V or Ctrl-V) into the top-left cell in the sheet. + You may have to resize the spreadsheet columns for the text to be visible. + Now, you can do whatever you want. I would suggest having one Google + Spreadsheets file with multiple tabs for each class. You can create new tabs + by looking at the bottom left hand corner of the screen and clicking on the + + sign to add a tab (also known, confusingly, as a "sheet") to the existing + spreadsheet. +

+
diff --git a/src/content_script/scores/scoreTools/SingleAssignment.svelte b/src/content_script/scores/scoreTools/SingleAssignment.svelte index 69868e8..bd3f9b7 100644 --- a/src/content_script/scores/scoreTools/SingleAssignment.svelte +++ b/src/content_script/scores/scoreTools/SingleAssignment.svelte @@ -5,6 +5,7 @@ Category, convertPercentCutoffToGrade, formattedGrade, + getDisplayGradePercent, GradeManager, gradeToPercent, listOfGrades, @@ -148,12 +149,6 @@ }; } - function getDisplayGradePercent(grade: Grade) { - if (!grade.startsWith("INC")) return `(${gradeToPercent[grade]}%)`; - if (grade == "INC_NO_CLASS_CREDIT") return `(No Class Credit)`; - return `(0%)`; - } - function onGradeChange(e: Event, i: number) { const target = e.target as HTMLSelectElement; if (target.value == "see") { @@ -524,6 +519,9 @@
{#if gradeManager.categories.length > 0} +

+ Category Weighting and Advanced See All Possibilities +