Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

NTUVibe Toolbar on *.ntu.edu.sg websites #111

Open
zhangks98 opened this issue Mar 15, 2019 · 3 comments
Open

NTUVibe Toolbar on *.ntu.edu.sg websites #111

zhangks98 opened this issue Mar 15, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@zhangks98
Copy link
Collaborator

zhangks98 commented Mar 15, 2019

Is your feature request related to a problem? Please describe.
Students may be interested in their upcoming class schedule, accessing NTU Student Services (e.g. Degree Audit / STARS Planner) while viewing NTU pages like NTULearn, we can therefore inject a NTUVibe Toolbar on the top of these webpages. We can even let user customize hostnames to inject our toolbar.

Strategically, the toolbar can engage our users more beyond periods like course registration and exams. This can be view this as a lite version of NTUVibe.
Moreover, it can be served as a candidate project for our open source plan, and demonstrate how to use our APIs without exposing too much details.

Describe the solution you'd like

  1. Implement and Expose NTUVibe User Specific APIs:
    1.1 Authentication for APIs specific to one user. Each user can therefore log in to our toolbar, and receive custom responses
    1.2 API for fetching user's schedule for the next 3 days (can be specified by user). The schedule can be linked to course homepage on NTULearn and venue on NTU Map (See: Link to NTULearn and NTU Maps in Scheduler #110)
    1.2.1. Exam schedule should also be considered

  2. Implement the toolbar using Chrome Extension, we specifically use Content Script API to inject our toolbar.

  3. Migrate extension to Firefox (https://www.extensiontest.com/). Of course, it is debatable whether we should use other user script options like Tampermonkey, albeit complicating the installation process for our users.

Additional context
Inspired by the toolbar I saw on KTH homepage during my exchange in Sweden
Example: https://drive.google.com/file/d/101cSfYLmvCb2hxuxw-b5YkWUK3amReVK/view?usp=sharing

@zhangks98 zhangks98 added the enhancement New feature or request label Mar 15, 2019
@liumcse
Copy link
Owner

liumcse commented Mar 19, 2019

We probably need another repo for this.

@zhangks98
Copy link
Collaborator Author

zhangks98 commented Mar 28, 2019

feels a bit intrusive, esp. this one:
// Fix some NTU navbars hiding the vibe toolbar, sorry document.querySelector('#globalnav').style.position='absolute';
should we try popup instead?
and giving user options to disable the toolbar is definitely needed

@zhangks98
Copy link
Collaborator Author

A quick fix would be set position=‘fixed’ for vibe-toolbar and push down the original nav bar

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants