GithubHelp home page GithubHelp logo

sidstamm / reg-sched-tweaks Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 135 KB

Schedule lookup page tweaks: extensions for web browsers.

License: Mozilla Public License 2.0

JavaScript 98.55% CSS 1.45%

reg-sched-tweaks's Introduction

Rose-Hulman reg-sched tweaks

An addon to make the schedule lookup page a little better. More info coming soon.

Installation

CHROME:

  1. clone this git repo
  2. navigate to chrome:extensions in your browser
  3. enable developer mode
  4. click the "Load Unpacked" button
  5. navigate to the reg-sched-tweaks-source folder in this repo and select it.
  6. profit. (Ignore the errors)

FIREFOX:

  1. go to this web site
  2. Click on the latest version of the extension (ends with .xpi)
  3. Follow the prompts to install the xpi

Usage and Features

When installed, this extension modifies the schedule lookup page to have a pretty blue banner to let you know it's active.

On the main lookup page

  • focus defaults to the "username" box
  • Search buttons are enabled by default so you don't have to click in text fields before submitting forms.
  • You can hit "enter" in a text box to submit the relevant form.
  • Shortcut button for quickly looking up your own schedule. There's a + button that allows you to store your own username in the browser. Clicking the me button next to the + submits a username search for whatever you stored. The username is stored in your browser's localStorage (like a cookie) and will persist across visits to the site.

When viewing class schedule (course schedule grid)

  • If viewing only one section, a link to view all sections is available
  • A link to view the class's roster (for one or many sections) is available
  • Previous and Next quarter links available to quickly see the schedule of all sections offered in adjacent quarters.

When viewing a class roster

  • If viewing only one section, a link to view all sections is available
  • A link to view the class meeting schedule (for one or many sections) is available

When viewing an individual's schedule

  • Previous and Next quarter links available to quickly see the individual's adjacent term schedule.

On the "ad-hoc group schedules" page

  • A new text box and three buttons (add, find, toggle unselected) allows quick selection of individuals in the list.
    • add: entering something in the text box, then clicking the add button will cause ALL matching entries in the list to be selected
    • find: entering something in the text box, then clicking the find button will scroll to the first matching entry in the list
    • toggle unselected: shows or hides the unselected entries in the list. This is a quick way to see who you've selected.
  • Similar documentation is added to the Ad-Hoc Group Schedules page for quick access.

Development

Some information about developing extensions and testing them is here

You'll probably want to install Node.js, and then use the web-ext node package to configure and run.

Setup

Install Node.js and web-ext. Then, create a Firefox profile for testing, using the profile management screen:

  • on linux/mac: firefox --no-remote -P
  • on windows powershell: & 'C:\Program Files\Mozilla Firefox\firefox.exe' --no-remote -P

Running to debug

Once a profile is created, use web-ext to run it:

web-ext run --keep-profile-changes --firefox-profile=<profilename>

Or you can use the VS Code "Debugger for Firefox" extension and the .vscode/launch.json file provided in this repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.