Skip to content

📊 A browser add-on that adds essential features to the HSLU MyCampus website

License

Notifications You must be signed in to change notification settings

eddex/hslu-simple-mep-results

Repository files navigation

HSLU simple MEP results

This browser add-on extends the page 'Meine Anmeldungen' on the HSLU MyCampus website.

Contributors

This project is maintained by @Lextum and @eddex.

Thanks to everyone who contributed to this project in the form of code or reporting issues!

Want to add some missing modules, fix a bug or add a new, awesome feature? That's great. But please read CONTRIBUTING.md first!

Features

screenshot

The browser add-on extends the page with the following features:

  • A simple table with all your modules, credits and grades
  • An overview of how many modules of each type have been done / are still needed.
  • An overview of your grades including grade distribution and average.
  • A chart to visualize your credit progress.

Installation

You only have to install the extension once. After this you'll get automatic updates!

Firefox

Releases (recommended)

  • Download the .xpi file from the latest release
  • Firefox should prompt you to install the extension, if not..
    • Open Firefox and open the URL about:addons
    • Press the gear-button and select Install Add-on from File...
    • Select the downloaded .xpi file

From sources

Chrome

Releases (recommended)

Google might remove the extension from the store again, so stay tuned.

From sources

Development

⚠️ For maintainers only ⚠️

Creating new releases is done exclusively by the maintainers of this repository. Contributors must not change the version number and can't publish a new release as described below.

Create a new release

  1. Update the version number in src/manifest.json.
  2. Add everything from src/ to a .zip file:
  • _locales/ directory
  • components/ directory
  • data/ directory
  • icons/ directory
  • lib/ directory
  • popup/ directory
  • templates/ directory
  • LICENSE file
  • main.js file
  • manifest.json file
  1. Update Firefox Release
  • Login to https://addons.mozilla.org/en-US/developers/
  • HSLU simple MEP results > Edit product page > Upload new version.
  • Download the generated .xpi file.
  • Change the end of the filename form -fx.xpi to -firefox.xpi.
  • Update updates.json with the new release.
    • To get the update_hash generate the sha256 hash of the file.
    • e.g. Get-FileHash hslu_simple_mep_results-2.0.8-firefox.xpi in PowerShell.
  • Create a branch (e.g. release/2.0.15), push your changes and create a pull request.
  1. Update Chrome Release
  1. AFTER(!) the pull request is merged, create a new release in this repo and attach the .xpi file.