Skip to content

Commit 50d5751

Browse files
committed
Add boilerplate
Signed-off-by: Anvay Mathur <[email protected]>
1 parent 38b97fd commit 50d5751

File tree

13 files changed

+64
-8
lines changed

13 files changed

+64
-8
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Contributing
2+
The main branch for version 2 is v2. Do not force push into it; please create pull requests.
3+
4+
This is a work in progress, so documentation files such as this and README.md are not fully fleshed out. Any help in this would be appreciated.
5+
6+
If you want to make a new feature, please create an issue for it and link it in your pull request.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
<img src="https://cdn.ydgkim.com/gschool/saspes/mainimage.png" alt="SAS Powerschool Enhancement Suite" height="200">
33
</p>
44

5+
# SAS PES v2
6+
57
SAS PES is an extension using the WebExtension standard for use by **Singapore American School students only**. The extension provides various enhancements when using Powerschool at SAS.
68

79
Regardless of what the extension calculates, teachers are able to override the final grade. **DO NOT RELY ON THE DATA FROM THIS EXTENSION!!**
810

11+
Version 2 aims to fix all the current problems with the extension, modernize the code, and add new features students would like.
12+
13+
## Contributing
14+
15+
Please see [CONTRIBUTING.md](./CONTRIBUTING.md).

manifest.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ export default defineManifest(async (env) => ({
2727
{
2828
"matches": ["https://powerschool.sas.edu.sg/public/*"],
2929
"js": ["src/content_script/home/index.ts"]
30+
},
31+
{
32+
"matches": [
33+
"https://powerschool.sas.edu.sg/guardian/home.html*"
34+
],
35+
"js": ["src/content_script/guardianHome/index.ts"]
3036
}
3137
],
3238
"permissions": ["storage"],

src/content_script/def/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
*
3-
* @copyright Copyright (c) 2023 Anvay Mathur <[email protected]>
3+
* @copyright Copyright (c) 2023-2024 Anvay Mathur <[email protected]>
44
*
55
* @author Anvay Mathur <[email protected]>
66
*
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<script lang="ts">
2+
</script>
3+
4+
<p>GPA</p>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/**
2+
*
3+
* @copyright Copyright (c) 2023-2024 Anvay Mathur <[email protected]>
4+
*
5+
* @author Anvay Mathur <[email protected]>
6+
*
7+
* @license GNU AGPL-3.0-only
8+
*
9+
* SAS Powerschool Enhancement Suite - A browser extension to improve the experience of SAS Powerschool.
10+
*
11+
* This program is free software: you can redistribute it and/or modify
12+
* it under the terms of the GNU Affero General Public License as
13+
* published by the Free Software Foundation, version 3.
14+
*
15+
* This program is distributed in the hope that it will be useful,
16+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
* GNU Affero General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU Affero General Public License
21+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
22+
*
23+
*/
24+
25+
import GPA from "./GPA.svelte";
26+
27+
console.log("WASSUP")
28+
const target = document.createElement("div");
29+
document
30+
.querySelector("#content-main > .box-round")
31+
?.insertBefore(target, document.querySelector("#quickLookup"));
32+
33+
new GPA({ target: target as Element });

src/content_script/home/Home.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
/**
33
*
4-
* @copyright Copyright (c) 2023 Anvay Mathur <[email protected]>
4+
* @copyright Copyright (c) 2023-2024 Anvay Mathur <[email protected]>
55
*
66
* @author Anvay Mathur <[email protected]>
77
*

src/content_script/home/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
*
3-
* @copyright Copyright (c) 2023 Anvay Mathur <[email protected]>
3+
* @copyright Copyright (c) 2023-2024 Anvay Mathur <[email protected]>
44
*
55
* @author Anvay Mathur <[email protected]>
66
*

src/content_script/scores/FinalPercent.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
/**
33
*
4-
* @copyright Copyright (c) 2023 Anvay Mathur <[email protected]>
4+
* @copyright Copyright (c) 2023-2024 Anvay Mathur <[email protected]>
55
*
66
* @author Anvay Mathur <[email protected]>
77
*

src/content_script/scores/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
*
3-
* @copyright Copyright (c) 2023 Anvay Mathur <[email protected]>
3+
* @copyright Copyright (c) 2023-2024 Anvay Mathur <[email protected]>
44
*
55
* @author Anvay Mathur <[email protected]>
66
*

0 commit comments

Comments
 (0)