Skip to content

Disable feature and GPA calculation#1

Open
101arrowz wants to merge 1 commit intoDixits1:masterfrom
101arrowz:master
Open

Disable feature and GPA calculation#1
101arrowz wants to merge 1 commit intoDixits1:masterfrom
101arrowz:master

Conversation

@101arrowz
Copy link

@101arrowz 101arrowz commented Dec 14, 2019

By clicking on the menu item (aka browser action), you can now enable or disable the display of grades. I might be able to add functionality to automatically reload any open Schoology pages when disabling/enabling the extension.

I've also implemented the GPA system using the pre-existing value() function. It displays your average GPA, along with GPA at the side of each course. I removed the multiplying by 0.5 for "CSD" (what is this?) and "Programming" classes because that doesn't represent the actual GPA and makes averaging harder. However, I'm sure there is a reason it was there, so I'll try to find a workaround if you ask.

I've kept my changes consistent with the current coding style, but I'd recommend using ES6 arrow functions and const/let variable declarations, especially since the codebase already uses ES6 classes.

If you're okay with merging but don't like a particular change, please let me know and I'll revert something. Thanks for making this awesome extension!

@101arrowz 101arrowz changed the title improvements Disable feature and GPA calculation Dec 14, 2019
@101arrowz
Copy link
Author

Any updates on this? @Dixits1

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.

1 participant