Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update prod with redesign #65

Merged
merged 61 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
97a6e6f
Add new colors, font, and icon
TyHil Jan 5, 2024
559d150
Merge branch 'lint-and-format' into redesign
TyHil Jan 27, 2024
7702f4a
Remove file specification
TyHil Mar 6, 2024
687bae0
Switch to windows
TyHil Mar 6, 2024
600f849
Revert "Switch to windows"
TyHil Mar 6, 2024
3c594a3
Bump plasmo
TyHil Mar 6, 2024
542dd8a
Revert "Bump plasmo"
TyHil Mar 6, 2024
7c89cb9
Build extension before zipping
TyHil Mar 6, 2024
b68e753
Revert "Remove file specification"
TyHil Mar 6, 2024
9fd5ea7
Firefox fix (#61)
TyHil Jul 16, 2024
657bc8d
SKEDGE-13 (#35)
KimotoNari Jul 16, 2024
b3f6d0d
Merge branch 'develop' into publish-action
TyHil Jul 30, 2024
2aca4c5
Update action for firefox
TyHil Jul 30, 2024
197ca05
PNPM to NPM
TyHil Jul 30, 2024
899d058
Mistake with NPM
TyHil Jul 30, 2024
8e43104
That's not how npm works!
TyHil Jul 30, 2024
d0365a3
artifact to file
TyHil Jul 30, 2024
8573723
Bump version
TyHil Jul 30, 2024
55e392f
Bump version
TyHil Jul 30, 2024
cbad852
Bump version
TyHil Jul 30, 2024
2777fa4
Bump version (last time🤞)
TyHil Jul 31, 2024
a34095e
Comments
TyHil Jul 31, 2024
0280989
Merge pull request #62 from UTDNebula/publish-action
AbhiramTadepalli Aug 25, 2024
975337a
Update from Trends
TyHil Oct 8, 2024
3a53cb1
Remove Husky
TyHil Oct 8, 2024
235f63f
Remove script
TyHil Oct 8, 2024
883fcda
Minor updates
TyHil Oct 8, 2024
d437a08
Install sharp
TyHil Oct 8, 2024
c33afa7
Major updates
TyHil Oct 8, 2024
f1f3e11
Tailwind warning fix
TyHil Oct 8, 2024
f78d467
formatting
TyHil Oct 8, 2024
18fd36f
idk why it keeps doing this
TyHil Oct 8, 2024
a2d21f2
Merge branch 'develop' into redesign
TyHil Oct 9, 2024
338b8fd
Phase out old colors and icon
TyHil Oct 9, 2024
0daa388
formatting
TyHil Oct 9, 2024
4e5db5b
Merge pull request #64 from UTDNebula/remove-husky
TyHil Oct 9, 2024
b722387
Merge branch 'develop' into redesign
TyHil Oct 9, 2024
0f68611
npm audit fix
TyHil Oct 9, 2024
bdad3d9
Redesign homepage
TyHil Oct 10, 2024
6906e16
MUI Working
TyHil Oct 10, 2024
0ea3618
Use MUI components and icons
TyHil Oct 10, 2024
9163383
Complete redesign (based on Trends code)
TyHil Oct 12, 2024
6a5ef96
Fix default sort not coming back
TyHil Oct 13, 2024
1bf9d45
Add skedge reminder on column
TyHil Oct 13, 2024
7bd8f59
Remove extra info at top
TyHil Oct 15, 2024
a285d04
Trends URL in one spot
TyHil Oct 15, 2024
06f28e2
Lint
TyHil Oct 15, 2024
7e17ad1
Update README.md
TyHil Oct 15, 2024
a5b38e2
Merge branch 'develop' into rmp-scraper
TyHil Oct 24, 2024
c6223de
Merge pull request #63 from UTDNebula/rmp-scraper
TyHil Oct 24, 2024
92c8338
Merge branch 'develop' into redesign
TyHil Oct 24, 2024
eaba6e1
Use local RMP scraper
TyHil Oct 24, 2024
b10d131
Build check
TyHil Oct 25, 2024
1b3bfd9
First error pass 44 -> 28
TyHil Oct 25, 2024
8affac3
Fix errors pass final
TyHil Oct 25, 2024
195fcc7
bump version
TyHil Oct 25, 2024
1cee75e
finish bump version
TyHil Oct 25, 2024
35fb8b5
rename workflow
TyHil Oct 25, 2024
8a5c65e
Lint fix
TyHil Oct 25, 2024
ab3cbff
move gpaToLetterGrade func to calculateGrades
TyHil Oct 29, 2024
6b425d0
Merge pull request #55 from UTDNebula/redesign
AbhiramTadepalli Oct 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 26 additions & 21 deletions .github/workflows/submit.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,37 @@
name: 'Submit to Web Store'

#Documentation for secrets: https://github.com/PlasmoHQ/bms/blob/main/tokens.md
#There is already an existing google cloud console project that the chrome keys were generated from
#The secrets are linked to my [email protected] email since it is a developer account and has access on both chrome and firefox

on:
workflow_dispatch:
#This could run on each push to main but it would only work like once a day for chrome
#Chrome won't allow submitting another package when one is in review

jobs:
build:
main:
name: Build and publish
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Cache pnpm modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: latest
run_install: true
- name: Use Node.js 16.x
uses: actions/[email protected]
- name: Check out Git repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'pnpm'
- name: Build and zip extension artifact
run: pnpm package
- name: Browser Platform Publish
node-version: 18

- name: Install packages
run: npm ci

- name: Build and package extension
run: npm run build:chrome && npm run build:firefox

- name: Publish extension
uses: PlasmoHQ/bpp@v3
with:
keys: ${{ secrets.SUBMIT_KEYS }}
artifact: build/chrome-mv3-prod.zip
chrome-file: build/chrome-mv3-prod.zip
firefox-file: build/firefox-mv3-prod.zip
23 changes: 23 additions & 0 deletions .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Type Check

on: push

jobs:
main:
name: Run Typescript check
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install packages
run: npm install

- name: Run type check
run: npm run type-check
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dist/
keys.json

# typescript
.tsbuildinfo
*.tsbuildinfo

# lint cache
.eslintcache
Expand Down
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

56 changes: 37 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,51 @@
This is a [Plasmo extension](https://docs.plasmo.com/) project bootstrapped with [`plasmo init`](https://www.npmjs.com/package/plasmo).
# Skedge

## Getting Started
_Get all of your Rate My Professors and grade distribution data without ever leaving schedule planner!_

First, run the development server:
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

```bash
pnpm dev
# or
npm run dev
```
## About

### Features

- Multiple Sources
- Find grade distributions and Rate My Professors scores for any given class.
- Aggregate
- Powerful query abilities that aggregate grade and Rate My Professors data across several years to give you a more wholistic view.
- Schedule Planner Integration
- Direct integration means getting the exact information you need, right when you need it.

Open your browser and load the appropriate development build. For example, if you are developing for the chrome browser, using manifest v3, use: `build/chrome-mv3-dev`.
## Contributing

You can start editing the popup by modifying `popup.tsx`. It should auto-update as you make changes. To add an options page, simply add a `options.tsx` file to the root of the project, with a react component default exported. Likewise to add a content page, add a `content.ts` file to the root of the project, importing some module and do some logic, then reload the extension on your browser.
Contributions are welcome!

For further guidance, [visit our Documentation](https://docs.plasmo.com/)
This project uses the MIT License.

## Making production build
### Process

Run the following:
Once you're ready to make some changes, see the
[issues](https://github.com/UTDNebula/skedge/issues) for the repository.

If you want to brainstorm, share ideas or ask questions, start a discussion in
our [Discord](https://discord.utdnebula.com/).

### Set-up

This project requires a working [Node.js](https://nodejs.org/en/) and NPM
installation. To start, clone the repository, and then run `npm run dev:chrome` or `npm run dev:firefox` to launch
a local development server.

```bash
pnpm build
# or
npm run build
git clone https://github.com/UTDNebula/skedge.git
cd skedge
npm install
```

This should create a production bundle for your extension, ready to be zipped and published to the stores.
If you are developing for the Chrome browser run `npm run dev:chrome` and load `build/chrome-mv3-dev` on `chrome://extensions/`

If you are developing for the Firefox browser run `npm run dev:firefox` and load `build/firefox-mv3-dev` on `about:debugging`

## Submit to the webstores
### Contact

The easiest way to deploy your Plasmo extension is to use the built-in [bpp](https://bpp.browser.market) GitHub action. Prior to using this action however, make sure to build your extension and upload the first version to the store to establish the basic credentials. Then, simply follow [this setup instruction](https://docs.plasmo.com/framework/workflows/submit) and you should be on your way for automated submission!
This project is maintained by Nebula Labs. If you have
any questions about this project or Nebula Labs, see the [discord server](https://discord.utdnebula.com/)
Binary file added assets/gradient.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions assets/icon-black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading